Max OS 0.3
Loading...
Searching...
No Matches
MaxOS::hardwarecommunication::BaseAddressRegister Class Reference

Used to store the Base Address Register (BAR) of a PCI device. More...

#include <pci.h>

Public Attributes

bool pre_fetchable
 Reading from this address wont change the state of the device and data can be cached by the CPU.
 
uint8_t * address
 The address of the device (IO port or memory address, can be 32 or 64 bit)
 
uint32_t size
 
BARType type
 Where to access the device.
 

Detailed Description

Used to store the Base Address Register (BAR) of a PCI device.

Todo:
Should be a struct

Definition at line 38 of file pci.h.

Member Data Documentation

◆ address

uint8_t* MaxOS::hardwarecommunication::BaseAddressRegister::address

The address of the device (IO port or memory address, can be 32 or 64 bit)

Definition at line 41 of file pci.h.

◆ pre_fetchable

bool MaxOS::hardwarecommunication::BaseAddressRegister::pre_fetchable

Reading from this address wont change the state of the device and data can be cached by the CPU.

Definition at line 40 of file pci.h.

◆ size

uint32_t MaxOS::hardwarecommunication::BaseAddressRegister::size
Todo:
Document Size of the address space

Definition at line 42 of file pci.h.

◆ type

BARType MaxOS::hardwarecommunication::BaseAddressRegister::type

Where to access the device.

Definition at line 43 of file pci.h.


The documentation for this class was generated from the following file: