mirror of
https://github.com/mii443/nel_os.git
synced 2025-08-22 16:15:38 +00:00
wip
This commit is contained in:
@ -103,7 +103,6 @@ impl EPT {
|
||||
lv2_entry.set_read(true);
|
||||
lv2_entry.set_write(true);
|
||||
lv2_entry.set_exec_super(true);
|
||||
info!("{:#x}", lv2_entry as *const _ as u64);
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
1
src/vmm/linux.rs
Normal file
1
src/vmm/linux.rs
Normal file
@ -0,0 +1 @@
|
||||
pub const BZIMAGE: &'static [u8] = include_bytes!("../../bzImage");
|
@ -1,5 +1,6 @@
|
||||
pub mod ept;
|
||||
pub mod error;
|
||||
pub mod linux;
|
||||
pub mod register;
|
||||
pub mod support;
|
||||
pub mod vcpu;
|
||||
|
@ -575,9 +575,6 @@ impl VCpu {
|
||||
"mov r14, [rax+{14}]",
|
||||
"mov r15, [rax+{15}]",
|
||||
"mov rax, [rax+{16}]",
|
||||
"jz 2f",
|
||||
"vmresume",
|
||||
"2:",
|
||||
"vmlaunch",
|
||||
"mov ax, 1",
|
||||
"add rsp, 8",
|
||||
|
Reference in New Issue
Block a user