vmm: Split configure_system() from load_kernel() for x86_64

Now the flow of both architectures are aligned to:
1. load kernel
2. create VCPU's
3. configure system
4. start VCPU's

Signed-off-by: Michael Zhao <michael.zhao@arm.com>
This commit is contained in:
Michael Zhao
2020-05-28 11:31:26 +08:00
committed by Sebastien Boeuf
parent 20cf21cd9d
commit 969e5e0b51
2 changed files with 63 additions and 48 deletions

View File

@@ -50,6 +50,8 @@ pub struct EntryPoint {
pub entry_addr: GuestAddress,
/// Specifies which boot protocol to use
pub protocol: BootProtocol,
/// This field is used for bzImage to fill zero page
pub setup_header: Option<setup_header>,
}
const E820_RAM: u32 = 1;