Verified Commit 638c2d2a authored by 4lDO2's avatar 4lDO2 🖖
Browse files

Fix aarch64 compilation.

This is to hopefully avoid having to update syscall everywhere again,
when fixing aarch64.
parent 94de991d
......@@ -9,7 +9,7 @@ macro_rules! syscall {
pub unsafe fn $name($a: usize, $($b: usize, $($c: usize, $($d: usize, $($e: usize, $($f: usize)?)?)?)?)?) -> Result<usize> {
let ret: usize;
asm!(
core::arch::asm!(
"svc 0",
in("x8") $a,
$(
......
......@@ -3,9 +3,13 @@
pub use self::dma::*;
pub use self::io::*;
pub use self::mmio::*;
#[cfg(target_arch = "x86_64")]
pub use self::pio::*;
mod dma;
mod io;
mod mmio;
#[cfg(target_arch = "x86_64")]
mod pio;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment