Changeset deed510 in mainline
- Timestamp:
- 2023-02-26T11:36:18Z (2 years ago)
- Branches:
- master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- bea6233
- Parents:
- 6188fee
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2023-02-26 11:29:38)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2023-02-26 11:36:18)
- Location:
- kernel/generic
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/main/main.h
r6188fee rdeed510 43 43 extern uint8_t kdata_end[]; 44 44 45 extern uintptr_t stack_safe;46 47 45 extern void main_bsp(void); 48 46 extern void main_ap(void); -
kernel/generic/src/main/main.c
r6188fee rdeed510 132 132 }; 133 133 134 context_t ctx; 135 136 /** Lowest safe stack virtual address. */ 137 uintptr_t stack_safe = 0; 134 static context_t ctx; 138 135 139 136 // NOTE: All kernel stacks must be aligned to STACK_SIZE, see CURRENT. 140 const size_t bootstrap_stack_size = STACK_SIZE; 141 _Alignas(STACK_SIZE) uint8_t bootstrap_stack[STACK_SIZE]; 137 static const size_t bootstrap_stack_size = STACK_SIZE; 138 static _Alignas(STACK_SIZE) uint8_t bootstrap_stack[STACK_SIZE]; 139 142 140 /* Just a convenient value for some assembly code. */ 143 const uint8_t *bootstrap_stack_top = bootstrap_stack + STACK_SIZE;141 uint8_t *const bootstrap_stack_top = bootstrap_stack + STACK_SIZE; 144 142 145 143 /*
Note:
See TracChangeset
for help on using the changeset viewer.