Skip to content

Commit

Permalink
Rename .nasm to .S
Browse files Browse the repository at this point in the history
  • Loading branch information
tandasat committed Nov 10, 2023
1 parent 25a3535 commit ddbd5e3
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hypervisor/src/hardware_vt/svm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ extern "efiapi" {
/// Runs the guest until #VMEXIT occurs.
fn run_vm_svm(registers: &mut GuestRegisters, guest_vmcb_pa: *mut Vmcb);
}
global_asm!(include_str!("svm_run_vm.nasm"));
global_asm!(include_str!("svm_run_vm.S"));

/// Returns the access rights of the given segment for SVM.
fn get_segment_access_right(table_base: u64, selector: u16) -> u16 {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion hypervisor/src/hardware_vt/vmx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ extern "efiapi" {
/// Runs the guest until VM-exit occurs.
fn run_vm_vmx(registers: &mut GuestRegisters, launched: u64) -> u64;
}
global_asm!(include_str!("vmx_run_vm.nasm"));
global_asm!(include_str!("vmx_run_vm.S"));

/// The wrapper of the VMXON instruction.
fn vmxon(vmxon_region: &mut Vmxon) {
Expand Down
File renamed without changes.

0 comments on commit ddbd5e3

Please sign in to comment.