We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c61cc09 commit a3652c1Copy full SHA for a3652c1
src/boot/boot.cpp
@@ -68,7 +68,6 @@ efi_main(EFI_HANDLE image_handle, EFI_SYSTEM_TABLE *system_table) {
68
69
// 初始化 Memory
70
auto memory = Memory();
71
- memory.PrintInfo();
72
// 加载内核
73
auto elf = Elf(KERNEL_NAME);
74
auto [kernel_addr, elf_info] = elf.Load();
@@ -77,6 +76,9 @@ efi_main(EFI_HANDLE image_handle, EFI_SYSTEM_TABLE *system_table) {
77
76
return EFI_LOAD_ERROR;
78
}
79
+ // 输出内存映射 Memory
80
+ memory.PrintInfo();
81
+
82
debug << L"Set Kernel Entry Point to: [" << OutStream::hex_X << kernel_addr
83
<< L"]." << OutStream::endl;
84
debug << L"Elf addr: [" << OutStream::hex_X << elf_info.first << L"]."
0 commit comments