crsdump

Firmware Test Suite - crsdump utility

This utility loads the ACPI tables and produces an annotated dump of the packages returned by evaluating all the _CRS objects. These packages contain the resource descriptors to describe the resource requirements of devices.

for example:

sudo crsdump -

Dump ACPI _CRS buffers.
--------------------------------------------------------------------------------
Test 1 of 1: Dump ACPI _CRS buffers.
\_SB_.LNKA._CRS (IRQ Descriptor):
  0x0000: Tag Type                      : 0x00
  0x0000: Tag Item ID                   : 0x04
  0x0000: Tag Length                    : 0x03
  0x0001: IRQ Mask                      : 0x0000
  0x0003: Reserved                      : 0x00
  0x0003: Interrupt Sharing             : 0x01 (Shared)
  0x0003: Interrupt Polarity            : 0x01 (Active-Low)
  0x0003: Ignored                       : 0x00
  0x0003: Interrupt Mode                : 0x00 (Level-Triggered)

\_SB_.LNKB._CRS (IRQ Descriptor):
  0x0000: Tag Type                      : 0x00
  0x0000: Tag Item ID                   : 0x04
  0x0000: Tag Length                    : 0x03
  0x0001: IRQ Mask                      : 0x0000
  0x0003: Reserved                      : 0x00
  0x0003: Interrupt Sharing             : 0x01 (Shared)
  0x0003: Interrupt Polarity            : 0x01 (Active-Low)
  0x0003: Ignored                       : 0x00
  0x0003: Interrupt Mode                : 0x00 (Level-Triggered)

\_SB_.LNKC._CRS (IRQ Descriptor):
  0x0000: Tag Type                      : 0x00
  0x0000: Tag Item ID                   : 0x04
  0x0000: Tag Length                    : 0x03
  0x0001: IRQ Mask                      : 0x0000
  0x0003: Reserved                      : 0x00
  0x0003: Interrupt Sharing             : 0x01 (Shared)
  0x0003: Interrupt Polarity            : 0x01 (Active-Low)
  0x0003: Ignored                       : 0x00
  0x0003: Interrupt Mode                : 0x00 (Level-Triggered)

\_SB_.LNKD._CRS (IRQ Descriptor):
  0x0000: Tag Type                      : 0x00
  0x0000: Tag Item ID                   : 0x04
  0x0000: Tag Length                    : 0x03
  0x0001: IRQ Mask                      : 0x0000
  0x0003: Reserved                      : 0x00
  0x0003: Interrupt Sharing             : 0x01 (Shared)
  0x0003: Interrupt Polarity            : 0x01 (Active-Low)
  0x0003: Ignored                       : 0x00
  0x0003: Interrupt Mode                : 0x00 (Level-Triggered)

\_SB_.LNKE._CRS (IRQ Descriptor):
  0x0000: Tag Type                      : 0x00
  0x0000: Tag Item ID                   : 0x04
  0x0000: Tag Length                    : 0x03
  0x0001: IRQ Mask                      : 0x0000
  0x0003: Reserved                      : 0x00
  0x0003: Interrupt Sharing             : 0x01 (Shared)
  0x0003: Interrupt Polarity            : 0x01 (Active-Low)
  0x0003: Ignored                       : 0x00
  0x0003: Interrupt Mode                : 0x00 (Level-Triggered)

\_SB_.LNKF._CRS (IRQ Descriptor):
  0x0000: Tag Type                      : 0x00
  0x0000: Tag Item ID                   : 0x04
  0x0000: Tag Length                    : 0x03
  0x0001: IRQ Mask                      : 0x0000
  0x0003: Reserved                      : 0x00
  0x0003: Interrupt Sharing             : 0x01 (Shared)
  0x0003: Interrupt Polarity            : 0x01 (Active-Low)
  0x0003: Ignored                       : 0x00
  0x0003: Interrupt Mode                : 0x00 (Level-Triggered)

\_SB_.LNKG._CRS (IRQ Descriptor):
  0x0000: Tag Type                      : 0x00
  0x0000: Tag Item ID                   : 0x04
  0x0000: Tag Length                    : 0x03
  0x0001: IRQ Mask                      : 0x0000
  0x0003: Reserved                      : 0x00
  0x0003: Interrupt Sharing             : 0x01 (Shared)
  0x0003: Interrupt Polarity            : 0x01 (Active-Low)
  0x0003: Ignored                       : 0x00
  0x0003: Interrupt Mode                : 0x00 (Level-Triggered)

\_SB_.LNKH._CRS (IRQ Descriptor):
  0x0000: Tag Type                      : 0x00
  0x0000: Tag Item ID                   : 0x04
  0x0000: Tag Length                    : 0x03
  0x0001: IRQ Mask                      : 0x0000
  0x0003: Reserved                      : 0x00
  0x0003: Interrupt Sharing             : 0x01 (Shared)
  0x0003: Interrupt Polarity            : 0x01 (Active-Low)
  0x0003: Ignored                       : 0x00
  0x0003: Interrupt Mode                : 0x00 (Level-Triggered)

\_SB_.MEM_._CRS (32-Bit Fixed Memory Range Descriptor):
  0x0000: Tag Type                      : 0x01
  0x0000: Tag Item ID                   : 0x06
  0x0001: Length                        : 0x0009
  0x0003: Write Status                  : 0x01 (writeable, read/write)
  0x0004: Range Base Address            : 0x00000000

\_SB_.PCI0._CRS (Word Address Space Descriptor):
  0x0000: Tag Type                      : 0x01
  0x0000: Tag Item ID                   : 0x08
  0x0001: Length                        : 0x000d
  0x0003: Resource Type                 : 0x02 (Bus number range)
  0x0004: Reserved                      : 0x00
  0x0004: Max Address Fixed             : 0x01 (Fixed)
  0x0004: Min Address Fixed             : 0x01 (Fixed)
  0x0004: Decode Type                   : 0x00 (Bridge Positively decodes this address)
  0x0004: Ignored                       : 0x00
  0x0005: Type Specific Flags           : 0x00
  0x0006: Address Space Granularity     : 0x0000
  0x0008: Address Range Minimum         : 0x0000
  0x000a: Address Range Maximum         : 0x003f

\_SB_.PCI0.LPC_.SIO_._CRS (I/O Port Descriptor):
  0x0000: Tag Type                      : 0x00
  0x0000: Tag Item ID                   : 0x08
  0x0000: Tag Length                    : 0x07
  0x0001: Reserved                      : 0x00
  0x0001: Logical Device Decode         : 0x01 (10 bit addresses)
  0x0002: Minimum Base Address          : 0x0010
  0x0004: Maximum Base Address          : 0x0010
  0x0006: Base Alignment                : 0x01
  0x0007: Range Length                  : 0x10

\_SB_.PCI0.LPC_.PIC_._CRS (I/O Port Descriptor):
  0x0000: Tag Type                      : 0x00
  0x0000: Tag Item ID                   : 0x08
  0x0000: Tag Length                    : 0x07
  0x0001: Reserved                      : 0x00
  0x0001: Logical Device Decode         : 0x01 (10 bit addresses)
  0x0002: Minimum Base Address          : 0x0020
  0x0004: Maximum Base Address          : 0x0020
  0x0006: Base Alignment                : 0x01
  0x0007: Range Length                  : 0x02

\_SB_.PCI0.LPC_.TIMR._CRS (I/O Port Descriptor):
  0x0000: Tag Type                      : 0x00
  0x0000: Tag Item ID                   : 0x08
  0x0000: Tag Length                    : 0x07
  0x0001: Reserved                      : 0x00
  0x0001: Logical Device Decode         : 0x01 (10 bit addresses)
  0x0002: Minimum Base Address          : 0x0040
  0x0004: Maximum Base Address          : 0x0040
  0x0006: Base Alignment                : 0x01
  0x0007: Range Length                  : 0x04

\_SB_.PCI0.LPC_.HPET._CRS (32-Bit Fixed Memory Range Descriptor):
  0x0000: Tag Type                      : 0x01
  0x0000: Tag Item ID                   : 0x06
  0x0001: Length                        : 0x0009
  0x0003: Write Status                  : 0x00 (non-writeable, read-only)
  0x0004: Range Base Address            : 0x00000000

\_SB_.PCI0.LPC_.DMAC._CRS (I/O Port Descriptor):
  0x0000: Tag Type                      : 0x00
  0x0000: Tag Item ID                   : 0x08
  0x0000: Tag Length                    : 0x07
  0x0001: Reserved                      : 0x00
  0x0001: Logical Device Decode         : 0x01 (10 bit addresses)
  0x0002: Minimum Base Address          : 0x0000
  0x0004: Maximum Base Address          : 0x0000
  0x0006: Base Alignment                : 0x01
  0x0007: Range Length                  : 0x10

\_SB_.PCI0.LPC_.SPKR._CRS (I/O Port Descriptor):
  0x0000: Tag Type                      : 0x00
  0x0000: Tag Item ID                   : 0x08
  0x0000: Tag Length                    : 0x07
  0x0001: Reserved                      : 0x00
  0x0001: Logical Device Decode         : 0x01 (10 bit addresses)
  0x0002: Minimum Base Address          : 0x0061
  0x0004: Maximum Base Address          : 0x0061
  0x0006: Base Alignment                : 0x01
  0x0007: Range Length                  : 0x01

\_SB_.PCI0.LPC_.FPU_._CRS (I/O Port Descriptor):
  0x0000: Tag Type                      : 0x00
  0x0000: Tag Item ID                   : 0x08
  0x0000: Tag Length                    : 0x07
  0x0001: Reserved                      : 0x00
  0x0001: Logical Device Decode         : 0x01 (10 bit addresses)
  0x0002: Minimum Base Address          : 0x00f0
  0x0004: Maximum Base Address          : 0x00f0
  0x0006: Base Alignment                : 0x01
  0x0007: Range Length                  : 0x01

\_SB_.PCI0.LPC_.RTC_._CRS (I/O Port Descriptor):
  0x0000: Tag Type                      : 0x00
  0x0000: Tag Item ID                   : 0x08
  0x0000: Tag Length                    : 0x07
  0x0001: Reserved                      : 0x00
  0x0001: Logical Device Decode         : 0x01 (10 bit addresses)
  0x0002: Minimum Base Address          : 0x0070
  0x0004: Maximum Base Address          : 0x0070
  0x0006: Base Alignment                : 0x01
  0x0007: Range Length                  : 0x02

\_SB_.PCI0.LPC_.KBD_._CRS (I/O Port Descriptor):
  0x0000: Tag Type                      : 0x00
  0x0000: Tag Item ID                   : 0x08
  0x0000: Tag Length                    : 0x07
  0x0001: Reserved                      : 0x00
  0x0001: Logical Device Decode         : 0x01 (10 bit addresses)
  0x0002: Minimum Base Address          : 0x0060
  0x0004: Maximum Base Address          : 0x0060
  0x0006: Base Alignment                : 0x01
  0x0007: Range Length                  : 0x01

\_SB_.PCI0.LPC_.MOU_._CRS (IRQ Descriptor):
  0x0000: Tag Type                      : 0x00
  0x0000: Tag Item ID                   : 0x04
  0x0000: Tag Length                    : 0x02
  0x0001: IRQ Mask                      : 0x1000

\_SB_.PCI0.LPC_.TPM_._CRS (32-Bit Fixed Memory Range Descriptor):
  0x0000: Tag Type                      : 0x01
  0x0000: Tag Item ID                   : 0x06
  0x0001: Length                        : 0x0009
  0x0003: Write Status                  : 0x00 (non-writeable, read-only)
  0x0004: Range Base Address            : 0xfed40000

\_SB_.PCI0.LPC_.EC__._CRS (I/O Port Descriptor):
  0x0000: Tag Type                      : 0x00
  0x0000: Tag Item ID                   : 0x08
  0x0000: Tag Length                    : 0x07
  0x0001: Reserved                      : 0x00
  0x0001: Logical Device Decode         : 0x01 (10 bit addresses)
  0x0002: Minimum Base Address          : 0x0062
  0x0004: Maximum Base Address          : 0x0062
  0x0006: Base Alignment                : 0x01
  0x0007: Range Length                  : 0x01

FirmwareTestSuite/Reference/crsdump (last edited 2016-01-11 07:25:02 by anthonywong)