@@ -415,7 +415,7 @@ where
415415 Mappings {
416416 framebuffer : framebuffer_virt_addr,
417417 entry_point,
418- stack_start : stack_start. start_address ( ) ,
418+ stack_bottom : stack_start. start_address ( ) ,
419419 // Use the configured stack size, even if it's not page-aligned. However, we
420420 // need to align it down to the next 16-byte boundary because the System V
421421 // ABI requires a 16-byte stack alignment.
@@ -439,7 +439,7 @@ where
439439pub struct Mappings {
440440 /// The entry point address of the kernel.
441441 pub entry_point : VirtAddr ,
442- pub stack_start : VirtAddr ,
442+ pub stack_bottom : VirtAddr ,
443443 /// The (exclusive) end address of the kernel stack.
444444 pub stack_top : VirtAddr ,
445445 /// Keeps track of used entries in the level 4 page table, useful for finding a free
@@ -581,7 +581,7 @@ where
581581 info. kernel_addr = mappings. kernel_slice_start . as_u64 ( ) ;
582582 info. kernel_len = mappings. kernel_slice_len as _ ;
583583 info. kernel_image_offset = mappings. kernel_image_offset . as_u64 ( ) ;
584- info. kernel_stack_addr = mappings. stack_start . as_u64 ( ) ;
584+ info. kernel_stack_bottom = mappings. stack_bottom . as_u64 ( ) ;
585585 info. kernel_stack_len = config. kernel_stack_size ;
586586 info. _test_sentinel = boot_config. _test_sentinel ;
587587 info
0 commit comments