Add EFI stub

This commit is contained in:
Zhang Junyang
2023-11-19 16:26:55 +08:00
committed by Tate, Hongliang Tian
parent acf4a057d9
commit 32e62080ce
29 changed files with 883 additions and 460 deletions

View File

@ -10,7 +10,7 @@ use std::{fs::OpenOptions, io::Write, path::PathBuf, process::Command};
/// When debugging grub, the OVMF firmware will load the grub kernel at an
/// address unknown at the moment. You should use the debug message from our
/// custom built OVMF firmware and read the entrypoint address
/// (often `0x0007E685000`). Then use the following GDB command to load symbols:
/// (often `0x0007E684000`). Then use the following GDB command to load symbols:
/// `dynamic_load_symbols ${ENTRY_ADDRESS}`.
/// During each run, the address is unlikely to change. But the address will
/// depend on the versions of grub or OVMF.