System Address Map Initialization in x86/x64 Architecture Part 1: PCI-Based Systems

by Darmawan Salihun
Oct. 8, 2017 0 comments INFOSEC Institute Management

This article serves as a clarification about the PCI expansion ROM address mapping, which was not sufficiently covered in my “Malicious PCI Expansion ROM” article published by Infosec Institute last year (http://resources.infosecinstitute.com/pci-expansion-rom/). Low-level programmers are sometimes puzzled about the mapping of device memory, such as PCI device memory, to the system address map. This article explains the initialization of the system address map, focusing on the initialization of the PCI chip registers that control PCI device memory address mapping to the system address map. PCI device memory address mapping is only required if the PCI device contains memory, such as a video card, network card with onboard buffer, or network card that supports PCI expansion ROM, etc.

http://resources.infosecinstitute.com/system-address-map-initialization-in-x86x64-architecture-pa...