1 use crate::arch::io::PortIOArch; 2 3 pub struct RiscV64PortIOArch; 4 5 impl PortIOArch for RiscV64PortIOArch { 6 #[inline(always)] 7 unsafe fn in8(port: u16) -> u8 { 8 unimplemented!("RiscV64PortIOArch::in8") 9 } 10 11 #[inline(always)] 12 unsafe fn in16(port: u16) -> u16 { 13 unimplemented!("RiscV64PortIOArch::in16") 14 } 15 16 #[inline(always)] 17 unsafe fn in32(port: u16) -> u32 { 18 unimplemented!("RiscV64PortIOArch::in32") 19 } 20 21 #[inline(always)] 22 unsafe fn out8(port: u16, data: u8) { 23 unimplemented!("RiscV64PortIOArch::out8") 24 } 25 26 #[inline(always)] 27 unsafe fn out16(port: u16, data: u16) { 28 unimplemented!("RiscV64PortIOArch::out16") 29 } 30 31 #[inline(always)] 32 unsafe fn out32(port: u16, data: u32) { 33 unimplemented!("RiscV64PortIOArch::out32") 34 } 35 } 36