Functions | Variables
test_portio_x64.cpp File Reference

Go to the source code of this file.

Functions

uint8_t __inb (uint16_t port) noexcept
 
uint16_t __inw (uint16_t port) noexcept
 
uint32_t __ind (uint16_t port) noexcept
 
void __insb (uint16_t port, uint64_t m8) noexcept
 
void __insw (uint16_t port, uint64_t m16) noexcept
 
void __insd (uint16_t port, uint64_t m32) noexcept
 
void __insbrep (uint16_t port, uint64_t m8, uint32_t count) noexcept
 
void __inswrep (uint16_t port, uint64_t m16, uint32_t count) noexcept
 
void __insdrep (uint16_t port, uint64_t m32, uint32_t count) noexcept
 
void __outb (uint16_t port, uint8_t val) noexcept
 
void __outw (uint16_t port, uint16_t val) noexcept
 
void __outd (uint16_t port, uint32_t val) noexcept
 
void __outsb (uint16_t port, uint64_t m8) noexcept
 
void __outsw (uint16_t port, uint64_t m16) noexcept
 
void __outsd (uint16_t port, uint64_t m32) noexcept
 
void __outsbrep (uint16_t port, uint64_t m8, uint32_t count) noexcept
 
void __outswrep (uint16_t port, uint64_t m16, uint32_t count) noexcept
 
void __outsdrep (uint16_t port, uint64_t m32, uint32_t count) noexcept
 

Variables

constexpr const auto buf_size = 4
 
std::map< portio::port_addr_type, portio::port_32bit_typeg_ports
 
uint8_t g_buf_8bit [buf_size] = {}
 
uint16_t g_buf_16bit [buf_size] = {}
 
uint32_t g_buf_32bit [buf_size] = {}
 

Function Documentation

◆ __inb()

uint8_t __inb ( uint16_t  port)
noexcept

Definition at line 37 of file test_portio_x64.cpp.

◆ __inw()

uint16_t __inw ( uint16_t  port)
noexcept

Definition at line 41 of file test_portio_x64.cpp.

◆ __ind()

uint32_t __ind ( uint16_t  port)
noexcept

Definition at line 45 of file test_portio_x64.cpp.

◆ __insb()

void __insb ( uint16_t  port,
uint64_t  m8 
)
noexcept

Definition at line 49 of file test_portio_x64.cpp.

◆ __insw()

void __insw ( uint16_t  port,
uint64_t  m16 
)
noexcept

Definition at line 53 of file test_portio_x64.cpp.

◆ __insd()

void __insd ( uint16_t  port,
uint64_t  m32 
)
noexcept

Definition at line 57 of file test_portio_x64.cpp.

◆ __insbrep()

void __insbrep ( uint16_t  port,
uint64_t  m8,
uint32_t  count 
)
noexcept

Definition at line 61 of file test_portio_x64.cpp.

◆ __inswrep()

void __inswrep ( uint16_t  port,
uint64_t  m16,
uint32_t  count 
)
noexcept

Definition at line 65 of file test_portio_x64.cpp.

◆ __insdrep()

void __insdrep ( uint16_t  port,
uint64_t  m32,
uint32_t  count 
)
noexcept

Definition at line 69 of file test_portio_x64.cpp.

◆ __outb()

void __outb ( uint16_t  port,
uint8_t  val 
)
noexcept

Definition at line 73 of file test_portio_x64.cpp.

◆ __outw()

void __outw ( uint16_t  port,
uint16_t  val 
)
noexcept

Definition at line 77 of file test_portio_x64.cpp.

◆ __outd()

void __outd ( uint16_t  port,
uint32_t  val 
)
noexcept

Definition at line 81 of file test_portio_x64.cpp.

◆ __outsb()

void __outsb ( uint16_t  port,
uint64_t  m8 
)
noexcept

Definition at line 85 of file test_portio_x64.cpp.

◆ __outsw()

void __outsw ( uint16_t  port,
uint64_t  m16 
)
noexcept

Definition at line 89 of file test_portio_x64.cpp.

◆ __outsd()

void __outsd ( uint16_t  port,
uint64_t  m32 
)
noexcept

Definition at line 93 of file test_portio_x64.cpp.

◆ __outsbrep()

void __outsbrep ( uint16_t  port,
uint64_t  m8,
uint32_t  count 
)
noexcept

Definition at line 97 of file test_portio_x64.cpp.

◆ __outswrep()

void __outswrep ( uint16_t  port,
uint64_t  m16,
uint32_t  count 
)
noexcept

Definition at line 101 of file test_portio_x64.cpp.

◆ __outsdrep()

void __outsdrep ( uint16_t  port,
uint64_t  m32,
uint32_t  count 
)
noexcept

Definition at line 105 of file test_portio_x64.cpp.

Variable Documentation

◆ buf_size

constexpr const auto buf_size = 4

Definition at line 29 of file test_portio_x64.cpp.

◆ g_ports

Definition at line 30 of file test_portio_x64.cpp.

◆ g_buf_8bit

uint8_t g_buf_8bit[buf_size] = {}

Definition at line 32 of file test_portio_x64.cpp.

◆ g_buf_16bit

uint16_t g_buf_16bit[buf_size] = {}

Definition at line 33 of file test_portio_x64.cpp.

◆ g_buf_32bit

uint32_t g_buf_32bit[buf_size] = {}

Definition at line 34 of file test_portio_x64.cpp.