Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 219c530 in mainline


Ignore:
Timestamp:
2017-12-19T17:40:10Z (4 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master
Children:
7f11dc6
Parents:
d0c2beb
Message:

Make as_constructor_arch(), as_destructor_arch(), and as_create_arch() stubs type-correct.

Location:
kernel/arch
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/abs32le/include/arch/mm/as.h

    rd0c2beb r219c530  
    4848#include <genarch/mm/as_pt.h>
    4949
    50 #define as_constructor_arch(as, flags)  (as != as)
    51 #define as_destructor_arch(as)          (as != as)
    52 #define as_create_arch(as, flags)       (as != as)
     50#define as_constructor_arch(as, flags)  ((void)as, (void)flags, EOK)
     51#define as_destructor_arch(as)          ((void)as, 0)
     52#define as_create_arch(as, flags)       ((void)as, (void)flags, EOK)
    5353#define as_install_arch(as)
    5454#define as_deinstall_arch(as)
  • kernel/arch/amd64/include/arch/mm/as.h

    rd0c2beb r219c530  
    4646#define USER_ADDRESS_SPACE_END_ARCH      UINT64_C(0x00007fffffffffff)
    4747
    48 #define as_constructor_arch(as, flags)  (as != as)
    49 #define as_destructor_arch(as)          (as != as)
    50 #define as_create_arch(as, flags)       (as != as)
     48#define as_constructor_arch(as, flags)  ((void)as, (void)flags, EOK)
     49#define as_destructor_arch(as)          ((void)as, 0)
     50#define as_create_arch(as, flags)       ((void)as, (void)flags, EOK)
    5151
    5252#define as_install_arch(as)
  • kernel/arch/arm32/include/arch/mm/as.h

    rd0c2beb r219c530  
    4949#include <genarch/mm/as_pt.h>
    5050
    51 #define as_constructor_arch(as, flags)          (as != as)
    52 #define as_destructor_arch(as)                  (as != as)
    53 #define as_create_arch(as, flags)               (as != as)
     51#define as_constructor_arch(as, flags)  ((void)as, (void)flags, EOK)
     52#define as_destructor_arch(as)          ((void)as, 0)
     53#define as_create_arch(as, flags)       ((void)as, (void)flags, EOK)
    5454#define as_deinstall_arch(as)
    5555#define as_invalidate_translation_cache(as, page, cnt)
  • kernel/arch/ia32/include/arch/mm/as.h

    rd0c2beb r219c530  
    4848#include <genarch/mm/as_pt.h>
    4949
    50 #define as_constructor_arch(as, flags)  (as != as)
    51 #define as_destructor_arch(as)          (as != as)
    52 #define as_create_arch(as, flags)       (as != as)
     50#define as_constructor_arch(as, flags)  ((void)as, (void)flags, EOK)
     51#define as_destructor_arch(as)          ((void)as, 0)
     52#define as_create_arch(as, flags)       ((void)as, (void)flags, EOK)
    5353#define as_install_arch(as)
    5454#define as_deinstall_arch(as)
  • kernel/arch/ia64/include/arch/mm/as.h

    rd0c2beb r219c530  
    4848#include <genarch/mm/as_ht.h>
    4949
    50 #define as_constructor_arch(as, flags)  (as != as)
    51 #define as_destructor_arch(as)          (as != as)
    52 #define as_create_arch(as, flags)       (as != as)
     50#define as_constructor_arch(as, flags)  ((void)as, (void)flags, EOK)
     51#define as_destructor_arch(as)          ((void)as, 0)
     52#define as_create_arch(as, flags)       ((void)as, (void)flags, EOK)
    5353#define as_deinstall_arch(as)
    5454#define as_invalidate_translation_cache(as, page, cnt)
  • kernel/arch/mips32/include/arch/mm/as.h

    rd0c2beb r219c530  
    4848#include <genarch/mm/as_pt.h>
    4949
    50 #define as_constructor_arch(as, flags)          (as != as)
    51 #define as_destructor_arch(as)                  (as != as)
    52 #define as_create_arch(as, flags)               (as != as)
     50#define as_constructor_arch(as, flags)  ((void)as, (void)flags, EOK)
     51#define as_destructor_arch(as)          ((void)as, 0)
     52#define as_create_arch(as, flags)       ((void)as, (void)flags, EOK)
    5353#define as_deinstall_arch(as)
    5454#define as_invalidate_translation_cache(as, page, cnt)
  • kernel/arch/ppc32/include/arch/mm/as.h

    rd0c2beb r219c530  
    5050#include <genarch/mm/as_pt.h>
    5151
    52 #define as_constructor_arch(as, flags)  (as != as)
    53 #define as_destructor_arch(as)          (as != as)
    54 #define as_create_arch(as, flags)       (as != as)
     52#define as_constructor_arch(as, flags)  ((void)as, (void)flags, EOK)
     53#define as_destructor_arch(as)          ((void)as, 0)
     54#define as_create_arch(as, flags)       ((void)as, (void)flags, EOK)
    5555#define as_deinstall_arch(as)
    5656
  • kernel/arch/riscv64/include/arch/mm/as.h

    rd0c2beb r219c530  
    5151#include <genarch/mm/as_pt.h>
    5252
    53 #define as_constructor_arch(as, flags)  (as != as)
    54 #define as_destructor_arch(as)          (as != as)
    55 #define as_create_arch(as, flags)       (as != as)
     53#define as_constructor_arch(as, flags)  ((void)as, (void)flags, EOK)
     54#define as_destructor_arch(as)          ((void)as, 0)
     55#define as_create_arch(as, flags)       ((void)as, (void)flags, EOK)
    5656#define as_deinstall_arch(as)
    5757#define as_invalidate_translation_cache(as, page, cnt)
Note: See TracChangeset for help on using the changeset viewer.