Function tartan_arch::x86_common::io::out_u16

source ·
pub unsafe fn out_u16(addr: u16, data: u16)
Available on x86 or x86-64 only.
Expand description

Write a 16-bit value to the port at the given address in I/O space.


This is an extremely low-level operation that can do anything: trigger an interrupt, overwrite arbitrary memory with DMA, shut down the system, launch a missile. Use with caution.