Changes in kernel/generic/include/arch.h [26a9388:f35749e] in mainline
- File:
-
- 1 edited
-
kernel/generic/include/arch.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/arch.h
r26a9388 rf35749e 49 49 * 50 50 */ 51 #if __has_builtin(__builtin_stack_address)52 53 #define CURRENT \54 ((current_t *) (((uintptr_t) __builtin_stack_address()) & \55 (~((uintptr_t) STACK_SIZE - 1))))56 57 #else58 59 51 #define CURRENT \ 60 52 ((current_t *) (((uintptr_t) __builtin_frame_address(0)) & \ 61 53 (~((uintptr_t) STACK_SIZE - 1)))) 62 63 #endif64 54 65 55 #define MAGIC UINT32_C(0xfacefeed)
Note:
See TracChangeset
for help on using the changeset viewer.
