ACPI DSDT

3 篇文章 0 订阅

DSDT is ACPI device tree, looks like:

Device (PC02)

{

  Device (BR2A) { Method (EJ0L, 0, NotSerialized){…} …}

  Device (BR2B) { Method (EJ0L, 0, NotSerialized){…} …}

  Device (BR2C) { Method (EJ0L, 0, NotSerialized){…} …}

  Device (BR2D) { Method (EJ0L, 0, NotSerialized){…} …}

}

This is the PCIe RC device in DSDT.

How to get ACPI DSDT tree?

>sudo cat /sys/firmware/acpi/tables/DSDT > DSDT.aml

>sudo apt-get install iasl

>iasl -d DSDT.aml

ACPI device tree to PCI bus tree:

Device (PC02)	-->	pci root bus 0000:64 
	
Device (BR2A)	-->	pci_slot	6
Device (BR2B)	-->	pci_slot	8191-2
Device (BR2C)	-->	pci_slot	8191-4
Device (BR2D)	-->	pci_slot	8198-5

ACPI device tree to PCI bus tree log:

[    0.222684] alexpci:acpi_scan_attach_handler, match handler, hwid is PNP0A03,handler id is PNP0A03
[    0.222697] ACPI: alexpci:acpi_pci_root_add,PCI Root Bridge [PC02] (domain 0000 [bus 64-b1])
[    0.223075] alexpci:pci_register_host_bridge create pci_bus, bridge is pci0000:64, bus->self is           (null)
[    0.223086] alexpci:acpi_pci_add_bus, bus number is 64
[    0.223087] alexpci:check_slot,Checking slot on path: \_SB_.PC02.BR2A
[    0.223097] alexpci:register_slot,create ACPI slots: bus is 64, slot is 6
[    0.223098] alexpci:check_slot,Checking slot on path: \_SB_.PC02.BR2B
[    0.223108] alexpci:register_slot,create ACPI slots: bus is 64, slot is 8191-2
[    0.223108] alexpci:check_slot,Checking slot on path: \_SB_.PC02.BR2C
[    0.223119] alexpci:register_slot,create ACPI slots: bus is 64, slot is 8191-4
[    0.223120] alexpci:check_slot,Checking slot on path: \_SB_.PC02.BR2D
[    0.223129] alexpci:register_slot,create ACPI slots: bus is 64, slot is 8191-5

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值