summaryrefslogtreecommitdiffstats
path: root/kernel/src/io.rs
blob: def86657db08b054ae344d07a4d5ce5b61211744 (plain) (blame)
1
2
3
4
5
pub unsafe fn out8(address: u16, value: u8) {
    asm!(
        "out dx, al", in("dx") address, in("al") value
    )
}
Go back to lisible.xyz