Configuration Files¶
Provide a human readable abstraction for registers in the system
chipsec/cfg/8086
platform specific configuration xml files
chipsec/cfg/8086/common.xml
common configuration
chipsec/cfg/8086/<platform>.xml
configuration for a specific <platform>
Broken into common and platform specific configuration files.
Used to define controls, registers and bit fields.
Common files always loaded first so the platform files can override values.
Correct platform configuration files loaded based off of platform detection.
Configuration File Example¶
<mmio>
<bar name="SPIBAR" bus="0" dev="0x1F" fun="5" reg="0x10" width="4" mask="0xFFFFF000" size="0x1000" desc="SPI Controller Register Range" offset="0x0"/>
</mmio>
<registers>
<register name="BC" type="pcicfg" bus="0" dev="0x1F" fun="5" offset="0xDC" size="4" desc="BIOS Control">
<field name="BIOSWE" bit="0" size="1" desc="BIOS Write Enable" />
…
<field name="BILD" bit="7" size="1" desc="BIOS Interface Lock Down"/>
</register>
</registers>
<controls>
<control name="BiosInterfaceLockDown" register="BC" field="BILD" desc="BIOS Interface Lock-Down"/>
</controls>
List of Cfg components¶
- bdw
- hsx
- hsw
- skx
- ehl
- pch_4xx
- pch_c620
- pch_5xxh
- dnv
- pch_c60x
- pch_4xxlp
- bdx
- glk
- pch_495
- pch_3xx
- avn
- common
- pmc_i440fx
- cfl
- pch_5xxlp
- ivb
- tglu
- pch_c61x
- qrk
- skl
- pch_7x
- cml
- tpm12
- txt
- jkt
- icl
- ivt
- pch_4xxh
- pch_6xxP
- whl
- pch_6xxS
- tglh
- iommu
- kbl
- mtl
- rkl
- pch_2xx
- pch_1xx
- pch_3xxlp
- pch_3xxop
- cht
- rpl
- pch_8x
- byt
- snb
- icx
- sfdp
- adl
- apl