From c36784be50e73bb909d474b49e2089679d53c7f2 Mon Sep 17 00:00:00 2001 From: wyfcyx Date: Tue, 29 Nov 2022 01:14:40 +0000 Subject: [PATCH] deploy: 319028f66e3bebcb24af0d708aec752ee348e9cb --- ch1/src/os/main.rs.html | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/ch1/src/os/main.rs.html b/ch1/src/os/main.rs.html index a4370ff2..c92c7057 100644 --- a/ch1/src/os/main.rs.html +++ b/ch1/src/os/main.rs.html @@ -120,7 +120,7 @@ fn edata(); // end addr of data segment fn sbss(); // start addr of BSS segment fn ebss(); // end addr of BSS segment - fn boot_stack(); // stack bottom + fn boot_stack_lower_bound(); // stack lower bound fn boot_stack_top(); // stack top } clear_bss(); @@ -129,8 +129,8 @@ println!(".rodata [{:#x}, {:#x})", srodata as usize, erodata as usize); println!(".data [{:#x}, {:#x})", sdata as usize, edata as usize); println!( - "boot_stack [{:#x}, {:#x})", - boot_stack as usize, boot_stack_top as usize + "boot_stack top=bottom={:#x}, lower_bound={:#x}", + boot_stack_top as usize, boot_stack_lower_bound as usize ); println!(".bss [{:#x}, {:#x})", sbss as usize, ebss as usize); @@ -139,9 +139,10 @@ #[cfg(feature = "board_qemu")] crate::board::QEMU_EXIT_HANDLE.exit_success(); // CI autotest success - //crate::board::QEMU_EXIT_HANDLE.exit_failure(); // CI autoest failed + //crate::board::QEMU_EXIT_HANDLE.exit_failure(); // CI autoest failed #[cfg(feature = "board_k210")] panic!("Unreachable in rust_main!"); -} +} +
\ No newline at end of file