miniOS
x86_64 hobby kernel with SMP, VFS, and POSIX process model
Loading...
Searching...
No Matches
port.h File Reference
#include <miniOS/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.

Macros

#define PCI_CONFIG_ADDR_PORT   0xCF8 /* PCI config address register port */
#define PCI_CONFIG_DATA_PORT   0xCFC /* PCI config data register port */

Functions

static void outb (int port, uint8_t data)
static uint8_t inb (int port)
static void outw (int port, uint16_t data)
static uint16_t inw (int port)
static void outl (int port, uint32_t data)
static uint32_t inl (int port)

Macro Definition Documentation

◆ PCI_CONFIG_ADDR_PORT

#define PCI_CONFIG_ADDR_PORT   0xCF8 /* PCI config address register port */

◆ PCI_CONFIG_DATA_PORT

#define PCI_CONFIG_DATA_PORT   0xCFC /* PCI config data register port */

Function Documentation

◆ inb()

uint8_t inb ( int port)
inlinestatic
Here is the caller graph for this function:

◆ inl()

uint32_t inl ( int port)
inlinestatic
Here is the caller graph for this function:

◆ inw()

uint16_t inw ( int port)
inlinestatic
Here is the caller graph for this function:

◆ outb()

void outb ( int port,
uint8_t data )
inlinestatic
Here is the caller graph for this function:

◆ outl()

void outl ( int port,
uint32_t data )
inlinestatic
Here is the caller graph for this function:

◆ outw()

void outw ( int port,
uint16_t data )
inlinestatic
Here is the caller graph for this function: