x86 port I/O
More...
Go to the source code of this file.
|
l4_uint8_t | l4util_in8 (l4_uint16_t port) |
| Read byte from I/O port. More...
|
|
l4_uint16_t | l4util_in16 (l4_uint16_t port) |
| Read 16-bit-value from I/O port. More...
|
|
l4_uint32_t | l4util_in32 (l4_uint16_t port) |
| Read 32-bit-value from I/O port. More...
|
|
void | l4util_ins8 (l4_uint16_t port, l4_umword_t addr, l4_umword_t count) |
| Read a block of 8-bit-values from I/O ports. More...
|
|
void | l4util_ins16 (l4_uint16_t port, l4_umword_t addr, l4_umword_t count) |
| Read a block of 16-bit-values from I/O ports. More...
|
|
void | l4util_ins32 (l4_uint16_t port, l4_umword_t addr, l4_umword_t count) |
| Read a block of 32-bit-values from I/O ports. More...
|
|
void | l4util_out8 (l4_uint8_t value, l4_uint16_t port) |
| Write byte to I/O port. More...
|
|
void | l4util_out16 (l4_uint16_t value, l4_uint16_t port) |
| Write 16-bit-value to I/O port. More...
|
|
void | l4util_out32 (l4_uint32_t value, l4_uint16_t port) |
| Write 32-bit-value to I/O port. More...
|
|
void | l4util_outs8 (l4_uint16_t port, l4_umword_t addr, l4_umword_t count) |
| Write a block of bytes to I/O port. More...
|
|
void | l4util_outs16 (l4_uint16_t port, l4_umword_t addr, l4_umword_t count) |
| Write a block of 16-bit-values to I/O port. More...
|
|
void | l4util_outs32 (l4_uint16_t port, l4_umword_t addr, l4_umword_t count) |
| Write block of 32-bit-values to I/O port. More...
|
|
void | l4util_iodelay (void) |
| delay I/O port access by writing to port 0x80
|
|
◆ l4util_in16()
Read 16-bit-value from I/O port.
- Parameters
-
- Returns
- value
Definition at line 180 of file port_io.h.
◆ l4util_in32()
Read 32-bit-value from I/O port.
- Parameters
-
- Returns
- value
Definition at line 188 of file port_io.h.
◆ l4util_in8()
◆ l4util_ins16()
Read a block of 16-bit-values from I/O ports.
- Parameters
-
port | I/O port address |
addr | address of buffer |
count | number of I/O operations |
Definition at line 205 of file port_io.h.
◆ l4util_ins32()
Read a block of 32-bit-values from I/O ports.
- Parameters
-
port | I/O port address |
addr | address of buffer |
count | number of I/O operations |
Definition at line 214 of file port_io.h.
◆ l4util_ins8()
Read a block of 8-bit-values from I/O ports.
- Parameters
-
port | I/O port address |
addr | address of buffer |
count | number of I/O operations |
Definition at line 196 of file port_io.h.
◆ l4util_out16()
Write 16-bit-value to I/O port.
- Parameters
-
port | I/O port address |
value | value to write |
Definition at line 229 of file port_io.h.
◆ l4util_out32()
Write 32-bit-value to I/O port.
- Parameters
-
port | I/O port address |
value | value to write |
Definition at line 235 of file port_io.h.
◆ l4util_out8()
◆ l4util_outs16()
Write a block of 16-bit-values to I/O port.
- Parameters
-
port | I/O port address |
addr | address of buffer |
count | number of I/O operations |
Definition at line 250 of file port_io.h.
◆ l4util_outs32()
Write block of 32-bit-values to I/O port.
- Parameters
-
port | I/O port address |
addr | address of buffer |
count | number of I/O operations |
Definition at line 259 of file port_io.h.
◆ l4util_outs8()
Write a block of bytes to I/O port.
- Parameters
-
port | I/O port address |
addr | address of buffer |
count | number of I/O operations |
Definition at line 241 of file port_io.h.