Changeset 128359eb in mainline for kernel/generic/src/cpu/cpu.c
- Timestamp:
- 2020-06-12T16:46:32Z (4 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ffccdff0
- Parents:
- 94e75cf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/cpu/cpu.c
r94e75cf r128359eb 71 71 memsetb(cpus, sizeof(cpu_t) * config.cpu_count, 0); 72 72 73 // NOTE: All kernel stacks must be aligned to STACK_SIZE, 74 // see get_stack_base(). 75 size_t i; 76 for (i = 0; i < config.cpu_count; i++) { 73 /* 74 * NOTE: All kernel stacks must be aligned to STACK_SIZE, 75 * see CURRENT. 76 */ 77 for (size_t i = 0; i < config.cpu_count; i++) { 77 78 uintptr_t stack_phys = frame_alloc(STACK_FRAMES, 78 79 FRAME_LOWMEM | FRAME_ATOMIC, STACK_SIZE - 1);
Note:
See TracChangeset
for help on using the changeset viewer.