Intel J1850 FH8065301455200 User Manual

Product codes
FH8065301455200
Page of 1272
Datasheet
43
Register Access Methods
Base address registers are often located in the PCI configuration space and are 
programmable by the BIOS/OS. Other base address register types may include fixed 
memory registers, fixed IO registers, or message bus registers.
3.4
Memory Referenced Register Access
The processor uses programmable base address registers (BARs) to set a range of 
physical address (memory) locations that it will use to decode memory reads and 
writes from the processor to directly access a register. These BARs act as pointers to 
blocks of actual memory mapped IO (MMIO) registers. To access a memory referenced 
register for a specific base address, start with that base address and add the register’s 
offset. Example pseudo code for a read is shown below:
Register_Snapshot = MEMREAD([Mem_BAR]+Register_Offset)
Base address registers are often located in the PCI configuration space and are 
programmable by the BIOS/OS. Other common base address register types include 
fixed memory registers and IO registers that point to MMIO register blocks.
3.5
PCI Configuration Register Access
Access to PCI configuration space registers is performed through one of two different 
configuration access methods (CAMs):
IO indexed – PCI CAM
Memory mapped – PCI Enhanced CAM (ECAM)
Each PCI function has a standard PCI header consisting of 256 bytes for the IO access 
scheme (CAM), or 4096 bytes for the enhanced memory access method (ECAM). 
Invalid read accesses return binary strings of 1s.
Table 26. Referenced IO Register Access Method Example (HSTS Register)
Type: I/O Register
(Size: 8bits)
HSTS: [SMB_IOBAR] + 0h
SMB_IOBAR Type: PCI Configuration Register (Size: 32 bits)
SMB_IOBAR Reference: [B:0, D:31, F:3] + 20h
Table 27. Memory Mapped Register Access Method Example (SMB_MBAR Register)
Type: Memory Mapped I/O Register
(Size: 8bits)
HSTS: [SMB_MBAR] + 0h
SMB_MBAR Type: PCI Configuration Register (Size: 32 bits)
SMB_MBAR Reference: [B:0, D:31, F:3] + 10h
Table 28. PCI Register Access Method Example (VID Register)
Type: PCI Configuration Register
(Size: 16bits)
VID: [B:0, D:31, F:3] + 0h