Revert "Merge Master"

This commit is contained in:
2025-03-12 11:12:03 +08:00
committed by GitHub
parent a02f4c0b92
commit a22408b65b
65 changed files with 158 additions and 13903 deletions

View File

@ -264,7 +264,7 @@ extern "C" fn vmexit_handler() {
}
#[no_mangle]
pub fn adjust_rip(rip: u64) -> Result<(), SystemError> {
fn adjust_rip(rip: u64) -> Result<(), SystemError> {
let instruction_length = vmx_vmread(VmcsFields::VMEXIT_INSTR_LEN as u32)?;
vmx_vmwrite(VmcsFields::GUEST_RIP as u32, rip + instruction_length)?;
Ok(())