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

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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)
Note: See TracChangeset for help on using the changeset viewer.