MOS Source Code
Loading...
Searching...
No Matches
port.h File Reference
#include <mos/mos_global.h>
#include <mos/types.h>
+ Include dependency graph for port.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef u16 x86_port_t
 

Functions

should_inline u8 port_inb (u16 port)
 
should_inline u16 port_inw (x86_port_t port)
 
should_inline u32 port_inl (x86_port_t port)
 
should_inline void port_outb (u16 port, u8 value)
 
should_inline void port_outw (x86_port_t port, u16 value)
 
should_inline void port_outl (x86_port_t port, u32 value)
 

Typedef Documentation

◆ x86_port_t

typedef u16 x86_port_t

Definition at line 8 of file port.h.

Function Documentation

◆ port_inb()

◆ port_inw()

should_inline u16 port_inw ( x86_port_t port)

Definition at line 17 of file port.h.

◆ port_inl()

should_inline u32 port_inl ( x86_port_t port)

Definition at line 24 of file port.h.

◆ port_outb()

should_inline void port_outb ( u16 port,
u8 value )

◆ port_outw()

should_inline void port_outw ( x86_port_t port,
u16 value )

Definition at line 36 of file port.h.

Referenced by platform_shutdown().

◆ port_outl()

should_inline void port_outl ( x86_port_t port,
u32 value )

Definition at line 41 of file port.h.