[syslinux] Accessing memory PCI config space from a com32 module

Geert Stappers stappers at stappers.nl
Thu Aug 5 13:43:53 PDT 2010


Op 20100805 om 14:38 schreef Schauer, Dwight:
>
> I need to do PCIe memory mapped configuration space access from a com32
> module. (ECAM, memory mapped, not CAM, which uses I/O port access).
>
> I know how to find the base address to the config space in Linux and
> use ECAM to access configuration registers.
>
> com32/lib/pci does not use ECAM.
>
> In Linux the region for ECAM is referred to as PCI MMCONFIG. (often
> shows up as e0000000-efffffff, see /proc/iomem)
>
> Any ideas as to how to get the ECAM base address from a COM32 module?


FWIW
 When I saw 'PCI' and 'COM32' did came "lua.c32" to mind.


hth
GSt




More information about the Syslinux mailing list