⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

inw

Function inw 

Source
pub unsafe fn inw(port: u16) -> u16
Expand description

Read a 16-bit word from an x86_64 I/O port.

§Safety

The caller must ensure port is a valid I/O port address for the intended device and that the device produces valid 16-bit reads.