prsdump

Firmware Test Suite - prsdump utility

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

for example:

sudo prsdump -

prsdump: Dump ACPI _PRS resources.
---------------------------------------------------------------------------------------------------------------
Test 1 of 1: Dump ACPI _PRS (Possible Resource Settings).
\_SB_.LNKA._PRS (IRQ Descriptor):
  0x0000: Tag Type                      : 0x00
  0x0000: Tag Item ID                   : 0x04
  0x0000: Tag Length                    : 0x03
  0x0001: IRQ Mask                      : 0x0ef8 (IRQ: 3 4 5 6 7 9 10 11)
  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._PRS (IRQ Descriptor):
  0x0000: Tag Type                      : 0x00
  0x0000: Tag Item ID                   : 0x04
  0x0000: Tag Length                    : 0x03
  0x0001: IRQ Mask                      : 0x0ef8 (IRQ: 3 4 5 6 7 9 10 11)
  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._PRS (IRQ Descriptor):
  0x0000: Tag Type                      : 0x00
  0x0000: Tag Item ID                   : 0x04
  0x0000: Tag Length                    : 0x03
  0x0001: IRQ Mask                      : 0x0ef8 (IRQ: 3 4 5 6 7 9 10 11)
  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._PRS (IRQ Descriptor):
  0x0000: Tag Type                      : 0x00
  0x0000: Tag Item ID                   : 0x04
  0x0000: Tag Length                    : 0x03
  0x0001: IRQ Mask                      : 0x0ef8 (IRQ: 3 4 5 6 7 9 10 11)
  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._PRS (IRQ Descriptor):
  0x0000: Tag Type                      : 0x00
  0x0000: Tag Item ID                   : 0x04
  0x0000: Tag Length                    : 0x03
  0x0001: IRQ Mask                      : 0x0ef8 (IRQ: 3 4 5 6 7 9 10 11)
  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._PRS (IRQ Descriptor):
  0x0000: Tag Type                      : 0x00
  0x0000: Tag Item ID                   : 0x04
  0x0000: Tag Length                    : 0x03
  0x0001: IRQ Mask                      : 0x0ef8 (IRQ: 3 4 5 6 7 9 10 11)
  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._PRS (IRQ Descriptor):
  0x0000: Tag Type                      : 0x00
  0x0000: Tag Item ID                   : 0x04
  0x0000: Tag Length                    : 0x03
  0x0001: IRQ Mask                      : 0x0ef8 (IRQ: 3 4 5 6 7 9 10 11)
  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._PRS (IRQ Descriptor):
  0x0000: Tag Type                      : 0x00
  0x0000: Tag Item ID                   : 0x04
  0x0000: Tag Length                    : 0x03
  0x0001: IRQ Mask                      : 0x0ef8 (IRQ: 3 4 5 6 7 9 10 11)
  0x0003: Reserved                      : 0x00
  0x0003: Interrupt Sharing             : 0x01 (Shared)
  0x0003: Interrupt Polarity            : 0x01 (Active-Low)
  0x0003: Ignored                       : 0x00
  0x0003: Interrupt Mode                : 0x00 (Level-Triggered)

FirmwareTestSuite/Reference/prsdump (last edited 2016-01-11 07:24:44 by anthonywong)