Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions alioth/src/board/board.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
// limitations under the License.

#[cfg(target_arch = "aarch64")]
#[path = "board_aarch64.rs"]
#[path = "board_arm64.rs"]
mod aarch64;
#[cfg(target_arch = "x86_64")]
#[path = "board_x86_64/board_x86_64.rs"]
#[path = "board_amd64/board_amd64.rs"]
mod x86_64;

use std::ffi::CStr;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -385,5 +385,5 @@ const DSDT_TEMPLATE: [u8; 352] = [
const DSDT_OFFSET_PCI_QWORD_MEM: usize = 0x12b;

#[cfg(test)]
#[path = "board_x86_64_test.rs"]
#[path = "board_amd64_test.rs"]
mod tests;
Original file line number Diff line number Diff line change
Expand Up @@ -533,5 +533,5 @@ const PHANDLE_MSI: u32 = 3;
const PHANDLE_CPU: u32 = 1 << 31;

#[cfg(test)]
#[path = "board_aarch64_test.rs"]
#[path = "board_arm64_test.rs"]
mod tests;
4 changes: 2 additions & 2 deletions alioth/src/cpu/cpu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
// limitations under the License.

#[cfg(target_arch = "aarch64")]
#[path = "cpu_aarch64.rs"]
#[path = "cpu_arm64.rs"]
mod aarch64;
#[cfg(target_arch = "x86_64")]
#[path = "cpu_x86_64/cpu_x86_64.rs"]
#[path = "cpu_amd64/cpu_amd64.rs"]
mod x86_64;

use std::sync::Arc;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion alioth/src/firmware/ovmf/ovmf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#[path = "ovmf_x86_64/ovmf_x86_64.rs"]
#[path = "ovmf_amd64/ovmf_amd64.rs"]
pub mod x86_64;

#[cfg(target_arch = "x86_64")]
Expand Down
2 changes: 1 addition & 1 deletion alioth/src/hv/kvm/kvm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// limitations under the License.

#[cfg(target_arch = "x86_64")]
#[path = "kvm_x86_64/kvm_x86_64.rs"]
#[path = "kvm_amd64/kvm_amd64.rs"]
mod x86_64;

#[cfg(target_arch = "aarch64")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,5 @@ impl Kvm {
}

#[cfg(test)]
#[path = "kvm_x86_64_test.rs"]
#[path = "kvm_amd64_test.rs"]
mod tests;
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions alioth/src/hv/kvm/vcpu/vcpu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
// limitations under the License.

#[cfg(target_arch = "aarch64")]
#[path = "vcpu_aarch64.rs"]
#[path = "vcpu_arm64.rs"]
mod aarch64;
#[cfg(target_arch = "x86_64")]
#[path = "vcpu_x86_64/vcpu_x86_64.rs"]
#[path = "vcpu_amd64/vcpu_amd64.rs"]
mod x86_64;

mod vmentry;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -315,5 +315,5 @@ impl KvmVcpu {
}

#[cfg(test)]
#[path = "vcpu_x86_64_test.rs"]
#[path = "vcpu_amd64_test.rs"]
mod tests;
4 changes: 2 additions & 2 deletions alioth/src/hv/kvm/vm/vm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
// limitations under the License.

#[cfg(target_arch = "aarch64")]
#[path = "vm_aarch64.rs"]
#[path = "vm_arm64.rs"]
mod aarch64;
#[cfg(target_arch = "x86_64")]
#[path = "vm_x86_64/vm_x86_64.rs"]
#[path = "vm_amd64/vm_amd64.rs"]
mod x86_64;

#[cfg(target_arch = "x86_64")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,5 +116,5 @@ impl KvmVm {
}

#[cfg(test)]
#[path = "vm_x86_64_test.rs"]
#[path = "vm_amd64_test.rs"]
mod test;
File renamed without changes.
4 changes: 2 additions & 2 deletions alioth/src/loader/firmware/firmware.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
// limitations under the License.

#[cfg(target_arch = "aarch64")]
#[path = "firmware_aarch64.rs"]
#[path = "firmware_arm64.rs"]
mod aarch64;
#[cfg(target_arch = "x86_64")]
#[path = "firmware_x86_64.rs"]
#[path = "firmware_amd64.rs"]
mod x86_64;

#[cfg(target_arch = "aarch64")]
Expand Down
4 changes: 2 additions & 2 deletions alioth/src/loader/linux/linux.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
// limitations under the License.

#[cfg(target_arch = "aarch64")]
#[path = "linux_aarch64.rs"]
#[path = "linux_arm64.rs"]
mod aarch64;
#[cfg(target_arch = "x86_64")]
pub mod bootparams;
#[cfg(target_arch = "x86_64")]
#[path = "linux_x86_64.rs"]
#[path = "linux_amd64.rs"]
mod x86_64;

#[cfg(target_arch = "aarch64")]
Expand Down
Loading
Loading