Changeset 26a9388 in mainline for kernel/generic/include
- Timestamp:
- 2026-01-29T15:20:01Z (4 days ago)
- Branches:
- master
- Children:
- d1a551f, d98f43e
- Parents:
- c35cc8b
- File:
-
- 1 edited
-
kernel/generic/include/arch.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/arch.h
rc35cc8b r26a9388 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 #else 58 51 59 #define CURRENT \ 52 60 ((current_t *) (((uintptr_t) __builtin_frame_address(0)) & \ 53 61 (~((uintptr_t) STACK_SIZE - 1)))) 62 63 #endif 54 64 55 65 #define MAGIC UINT32_C(0xfacefeed)
Note:
See TracChangeset
for help on using the changeset viewer.
