sb,soc/amd: Rename PMOD to PICM in ASL
Use the same variable name as soc/intel to implement a common _PIC method at top-level ASL. Change-Id: I48f9e224d6d0101c2101be99cd18ff382738f0dd Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/49903 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
parent
6dc6ee6e72
commit
3f2467032e
|
@ -12,4 +12,4 @@ Name(HPBA, 0xFED00000) /* Base address of HPET table */
|
||||||
/* Some global data */
|
/* Some global data */
|
||||||
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
||||||
Name(OSV, Ones) /* Assume nothing */
|
Name(OSV, Ones) /* Assume nothing */
|
||||||
Name(PMOD, One) /* Assume APIC */
|
Name(PICM, One) /* Assume APIC */
|
||||||
|
|
|
@ -13,7 +13,7 @@ Name(HPBA, 0xFED00000) /* Base address of HPET table */
|
||||||
/* Some global data */
|
/* Some global data */
|
||||||
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
||||||
Name(OSV, Ones) /* Assume nothing */
|
Name(OSV, Ones) /* Assume nothing */
|
||||||
Name(PMOD, One) /* Assume APIC */
|
Name(PICM, One) /* Assume APIC */
|
||||||
|
|
||||||
Scope(\_SB) {
|
Scope(\_SB) {
|
||||||
Method(OSFL, 0){
|
Method(OSFL, 0){
|
||||||
|
|
|
@ -12,7 +12,7 @@ Name(HPBA, 0xFED00000) /* Base address of HPET table */
|
||||||
/* Some global data */
|
/* Some global data */
|
||||||
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
||||||
Name(OSV, Ones) /* Assume nothing */
|
Name(OSV, Ones) /* Assume nothing */
|
||||||
Name(PMOD, One) /* Assume APIC */
|
Name(PICM, One) /* Assume APIC */
|
||||||
|
|
||||||
/* AcpiGpe0Blk */
|
/* AcpiGpe0Blk */
|
||||||
OperationRegion(GP0B, SystemMemory, 0xfed80814, 0x04)
|
OperationRegion(GP0B, SystemMemory, 0xfed80814, 0x04)
|
||||||
|
|
|
@ -12,4 +12,4 @@ Name(HPBA, 0xFED00000) /* Base address of HPET table */
|
||||||
/* Some global data */
|
/* Some global data */
|
||||||
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
||||||
Name(OSV, Ones) /* Assume nothing */
|
Name(OSV, Ones) /* Assume nothing */
|
||||||
Name(PMOD, One) /* Assume APIC */
|
Name(PICM, One) /* Assume APIC */
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
/* Some global data */
|
/* Some global data */
|
||||||
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
||||||
Name(OSV, Ones) /* Assume nothing */
|
Name(OSV, Ones) /* Assume nothing */
|
||||||
Name(PMOD, One) /* Assume APIC */
|
Name(PICM, One) /* Assume APIC */
|
||||||
|
|
||||||
/* AcpiGpe0Blk */
|
/* AcpiGpe0Blk */
|
||||||
OperationRegion(GP0B, SystemMemory, 0xfed80814, 0x04)
|
OperationRegion(GP0B, SystemMemory, 0xfed80814, 0x04)
|
||||||
|
|
|
@ -13,7 +13,7 @@ Name(HPBA, 0xFED00000) /* Base address of HPET table */
|
||||||
/* Some global data */
|
/* Some global data */
|
||||||
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
||||||
Name(OSV, Ones) /* Assume nothing */
|
Name(OSV, Ones) /* Assume nothing */
|
||||||
Name(PMOD, One) /* Assume APIC */
|
Name(PICM, One) /* Assume APIC */
|
||||||
|
|
||||||
Scope(\_SB) {
|
Scope(\_SB) {
|
||||||
Method(OSFL, 0){
|
Method(OSFL, 0){
|
||||||
|
|
|
@ -13,7 +13,7 @@ Name(HPBA, 0xFED00000) /* Base address of HPET table */
|
||||||
/* Some global data */
|
/* Some global data */
|
||||||
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
||||||
Name(OSV, Ones) /* Assume nothing */
|
Name(OSV, Ones) /* Assume nothing */
|
||||||
Name(PMOD, One) /* Assume APIC */
|
Name(PICM, One) /* Assume APIC */
|
||||||
|
|
||||||
Scope(\_SB) {
|
Scope(\_SB) {
|
||||||
Method(OSFL, 0){
|
Method(OSFL, 0){
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
/* Some global data */
|
/* Some global data */
|
||||||
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
||||||
Name(OSV, Ones) /* Assume nothing */
|
Name(OSV, Ones) /* Assume nothing */
|
||||||
Name(PMOD, One) /* Assume APIC */
|
Name(PICM, One) /* Assume APIC */
|
||||||
|
|
||||||
/* AcpiGpe0Blk */
|
/* AcpiGpe0Blk */
|
||||||
OperationRegion(GP0B, SystemMemory, 0xfed80814, 0x04)
|
OperationRegion(GP0B, SystemMemory, 0xfed80814, 0x04)
|
||||||
|
|
|
@ -13,7 +13,7 @@ Name(HPBA, 0xFED00000) /* Base address of HPET table */
|
||||||
/* Some global data */
|
/* Some global data */
|
||||||
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
||||||
Name(OSV, Ones) /* Assume nothing */
|
Name(OSV, Ones) /* Assume nothing */
|
||||||
Name(PMOD, One) /* Assume APIC */
|
Name(PICM, One) /* Assume APIC */
|
||||||
|
|
||||||
Scope(\_SB) {
|
Scope(\_SB) {
|
||||||
Method(OSFL, 0){
|
Method(OSFL, 0){
|
||||||
|
|
|
@ -13,7 +13,7 @@ Name(HPBA, 0xFED00000) /* Base address of HPET table */
|
||||||
/* Some global data */
|
/* Some global data */
|
||||||
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
||||||
Name(OSV, Ones) /* Assume nothing */
|
Name(OSV, Ones) /* Assume nothing */
|
||||||
Name(PMOD, One) /* Assume APIC */
|
Name(PICM, One) /* Assume APIC */
|
||||||
|
|
||||||
Scope(\_SB) {
|
Scope(\_SB) {
|
||||||
Method(OSFL, 0){
|
Method(OSFL, 0){
|
||||||
|
|
|
@ -12,7 +12,7 @@ Name(HPBA, 0xFED00000) /* Base address of HPET table */
|
||||||
/* Some global data */
|
/* Some global data */
|
||||||
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
||||||
Name(OSV, Ones) /* Assume nothing */
|
Name(OSV, Ones) /* Assume nothing */
|
||||||
Name(PMOD, One) /* Assume APIC */
|
Name(PICM, One) /* Assume APIC */
|
||||||
|
|
||||||
/* AcpiGpe0Blk */
|
/* AcpiGpe0Blk */
|
||||||
OperationRegion(GP0B, SystemMemory, 0xfed80814, 0x04)
|
OperationRegion(GP0B, SystemMemory, 0xfed80814, 0x04)
|
||||||
|
|
|
@ -17,4 +17,4 @@
|
||||||
/* Some global data */
|
/* Some global data */
|
||||||
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
||||||
Name(OSV, Ones) /* Assume nothing */
|
Name(OSV, Ones) /* Assume nothing */
|
||||||
Name(PMOD, One) /* Assume APIC */
|
Name(PICM, One) /* Assume APIC */
|
||||||
|
|
|
@ -12,7 +12,7 @@ Name(HPBA, 0xFED00000) /* Base address of HPET table */
|
||||||
/* Some global data */
|
/* Some global data */
|
||||||
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
||||||
Name(OSV, Ones) /* Assume nothing */
|
Name(OSV, Ones) /* Assume nothing */
|
||||||
Name(PMOD, One) /* Assume APIC */
|
Name(PICM, One) /* Assume APIC */
|
||||||
|
|
||||||
/* AcpiGpe0Blk */
|
/* AcpiGpe0Blk */
|
||||||
OperationRegion(GP0B, SystemMemory, 0xfed80814, 0x04)
|
OperationRegion(GP0B, SystemMemory, 0xfed80814, 0x04)
|
||||||
|
|
|
@ -14,4 +14,4 @@
|
||||||
/* Some global data */
|
/* Some global data */
|
||||||
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
||||||
Name(OSV, Ones) /* Assume nothing */
|
Name(OSV, Ones) /* Assume nothing */
|
||||||
Name(PMOD, One) /* Assume APIC */
|
Name(PICM, One) /* Assume APIC */
|
||||||
|
|
|
@ -52,7 +52,7 @@ DefinitionBlock (
|
||||||
Name(_ADR, 0x00150000)
|
Name(_ADR, 0x00150000)
|
||||||
Name(_PRW, Package() {0x18, 4})
|
Name(_PRW, Package() {0x18, 4})
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD){ Return(ABR0) } /* APIC mode */
|
If(PICM){ Return(ABR0) } /* APIC mode */
|
||||||
Return (PBR0) /* PIC mode */
|
Return (PBR0) /* PIC mode */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -61,7 +61,7 @@ DefinitionBlock (
|
||||||
Name(_ADR, 0x00150001)
|
Name(_ADR, 0x00150001)
|
||||||
Name(_PRW, Package() {0x18, 4})
|
Name(_PRW, Package() {0x18, 4})
|
||||||
Method(_PRT, 0) {
|
Method(_PRT, 0) {
|
||||||
If(PMOD){ Return(ABR1) } /* APIC mode */
|
If(PICM){ Return(ABR1) } /* APIC mode */
|
||||||
Return (PBR1) /* PIC mode */
|
Return (PBR1) /* PIC mode */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,7 +12,7 @@ Name(HPBA, 0xFED00000) /* Base address of HPET table */
|
||||||
/* Some global data */
|
/* Some global data */
|
||||||
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
||||||
Name(OSV, Ones) /* Assume nothing */
|
Name(OSV, Ones) /* Assume nothing */
|
||||||
Name(PMOD, One) /* Assume APIC */
|
Name(PICM, One) /* Assume APIC */
|
||||||
|
|
||||||
/* AcpiGpe0Blk */
|
/* AcpiGpe0Blk */
|
||||||
OperationRegion(GP0B, SystemMemory, 0xfed80814, 0x04)
|
OperationRegion(GP0B, SystemMemory, 0xfed80814, 0x04)
|
||||||
|
|
|
@ -12,7 +12,7 @@ Name(HPBA, 0xFED00000) /* Base address of HPET table */
|
||||||
/* Some global data */
|
/* Some global data */
|
||||||
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
||||||
Name(OSV, Ones) /* Assume nothing */
|
Name(OSV, Ones) /* Assume nothing */
|
||||||
Name(PMOD, One) /* Assume APIC */
|
Name(PICM, One) /* Assume APIC */
|
||||||
|
|
||||||
/* AcpiGpe0Blk */
|
/* AcpiGpe0Blk */
|
||||||
OperationRegion(GP0B, SystemMemory, 0xfed80814, 0x04)
|
OperationRegion(GP0B, SystemMemory, 0xfed80814, 0x04)
|
||||||
|
|
|
@ -12,7 +12,7 @@ Name(HPBA, 0xFED00000) /* Base address of HPET table */
|
||||||
/* Some global data */
|
/* Some global data */
|
||||||
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
||||||
Name(OSV, Ones) /* Assume nothing */
|
Name(OSV, Ones) /* Assume nothing */
|
||||||
Name(PMOD, One) /* Assume APIC */
|
Name(PICM, One) /* Assume APIC */
|
||||||
|
|
||||||
/* AcpiGpe0Blk */
|
/* AcpiGpe0Blk */
|
||||||
OperationRegion(GP0B, SystemMemory, 0xfed80814, 0x04)
|
OperationRegion(GP0B, SystemMemory, 0xfed80814, 0x04)
|
||||||
|
|
|
@ -13,7 +13,7 @@ Name(HPBA, 0xFED00000) /* Base address of HPET table */
|
||||||
/* Some global data */
|
/* Some global data */
|
||||||
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
||||||
Name(OSV, Ones) /* Assume nothing */
|
Name(OSV, Ones) /* Assume nothing */
|
||||||
Name(PMOD, One) /* Assume APIC */
|
Name(PICM, One) /* Assume APIC */
|
||||||
|
|
||||||
Scope(\_SB) {
|
Scope(\_SB) {
|
||||||
Method(OSFL, 0){
|
Method(OSFL, 0){
|
||||||
|
|
|
@ -13,7 +13,7 @@ Name(HPBA, 0xFED00000) /* Base address of HPET table */
|
||||||
/* Some global data */
|
/* Some global data */
|
||||||
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
||||||
Name(OSV, Ones) /* Assume nothing */
|
Name(OSV, Ones) /* Assume nothing */
|
||||||
Name(PMOD, One) /* Assume APIC */
|
Name(PICM, One) /* Assume APIC */
|
||||||
|
|
||||||
Scope(\_SB) {
|
Scope(\_SB) {
|
||||||
Method(OSFL, 0){
|
Method(OSFL, 0){
|
||||||
|
|
|
@ -12,7 +12,7 @@ Name(HPBA, 0xFED00000) /* Base address of HPET table */
|
||||||
/* Some global data */
|
/* Some global data */
|
||||||
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
||||||
Name(OSV, Ones) /* Assume nothing */
|
Name(OSV, Ones) /* Assume nothing */
|
||||||
Name(PMOD, One) /* Assume APIC */
|
Name(PICM, One) /* Assume APIC */
|
||||||
|
|
||||||
/* AcpiGpe0Blk */
|
/* AcpiGpe0Blk */
|
||||||
OperationRegion(GP0B, SystemMemory, 0xfed80814, 0x04)
|
OperationRegion(GP0B, SystemMemory, 0xfed80814, 0x04)
|
||||||
|
|
|
@ -17,4 +17,4 @@ Name (HPBA, 0xFED00000)
|
||||||
/* Global Data */
|
/* Global Data */
|
||||||
Name (OSVR, 3) /* WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
Name (OSVR, 3) /* WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
||||||
Name (OSV, Ones) /* Assume nothing */
|
Name (OSV, Ones) /* Assume nothing */
|
||||||
Name (PMOD, One) /* Assume APIC */
|
Name (PICM, One) /* Assume APIC */
|
||||||
|
|
|
@ -12,7 +12,7 @@ Name(HPBA, 0xFED00000) /* Base address of HPET table */
|
||||||
/* Some global data */
|
/* Some global data */
|
||||||
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
||||||
Name(OSV, Ones) /* Assume nothing */
|
Name(OSV, Ones) /* Assume nothing */
|
||||||
Name(PMOD, One) /* Assume APIC */
|
Name(PICM, One) /* Assume APIC */
|
||||||
|
|
||||||
/* AcpiGpe0Blk */
|
/* AcpiGpe0Blk */
|
||||||
OperationRegion(GP0B, SystemMemory, 0xfed80814, 0x04)
|
OperationRegion(GP0B, SystemMemory, 0xfed80814, 0x04)
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
/* Some global data */
|
/* Some global data */
|
||||||
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
||||||
Name(OSV, Ones) /* Assume nothing */
|
Name(OSV, Ones) /* Assume nothing */
|
||||||
Name(PMOD, One) /* Assume APIC */
|
Name(PICM, One) /* Assume APIC */
|
||||||
|
|
||||||
/* Variables used by EC */
|
/* Variables used by EC */
|
||||||
/* TODO: These may belong in global non-volatile storage */
|
/* TODO: These may belong in global non-volatile storage */
|
||||||
|
|
|
@ -13,7 +13,7 @@ Name(HPBA, 0xFED00000) /* Base address of HPET table */
|
||||||
/* Some global data */
|
/* Some global data */
|
||||||
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
||||||
Name(OSV, Ones) /* Assume nothing */
|
Name(OSV, Ones) /* Assume nothing */
|
||||||
Name(PMOD, One) /* Assume APIC */
|
Name(PICM, One) /* Assume APIC */
|
||||||
|
|
||||||
Scope(\_SB) {
|
Scope(\_SB) {
|
||||||
Method(OSFL, 0){
|
Method(OSFL, 0){
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
/* Some global data */
|
/* Some global data */
|
||||||
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
||||||
Name(OSV, Ones) /* Assume nothing */
|
Name(OSV, Ones) /* Assume nothing */
|
||||||
Name(PMOD, One) /* Assume APIC */
|
Name(PICM, One) /* Assume APIC */
|
||||||
|
|
||||||
/* Variables used by EC */
|
/* Variables used by EC */
|
||||||
/* TODO: These may belong in global non-volatile storage */
|
/* TODO: These may belong in global non-volatile storage */
|
||||||
|
|
|
@ -37,7 +37,7 @@ DefinitionBlock (
|
||||||
/* Some global data */
|
/* Some global data */
|
||||||
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
||||||
Name(OSV, Ones) /* Assume nothing */
|
Name(OSV, Ones) /* Assume nothing */
|
||||||
Name(PMOD, One) /* Assume APIC */
|
Name(PICM, One) /* Assume APIC */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Processor Object
|
* Processor Object
|
||||||
|
@ -394,7 +394,7 @@ DefinitionBlock (
|
||||||
{
|
{
|
||||||
\_SB.CIRQ()
|
\_SB.CIRQ()
|
||||||
}
|
}
|
||||||
PMOD = Arg0
|
PICM = Arg0
|
||||||
}
|
}
|
||||||
Method(CIRQ, 0x00, NotSerialized){
|
Method(CIRQ, 0x00, NotSerialized){
|
||||||
PIRA = 0
|
PIRA = 0
|
||||||
|
@ -883,7 +883,7 @@ DefinitionBlock (
|
||||||
}
|
}
|
||||||
|
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD){ Return(APR0) } /* APIC mode */
|
If(PICM){ Return(APR0) } /* APIC mode */
|
||||||
Return (PR0) /* PIC Mode */
|
Return (PR0) /* PIC Mode */
|
||||||
} /* end _PRT */
|
} /* end _PRT */
|
||||||
|
|
||||||
|
@ -906,7 +906,7 @@ DefinitionBlock (
|
||||||
Name(_ADR, 0x00020000)
|
Name(_ADR, 0x00020000)
|
||||||
Name(_PRW, Package() {0x18, 4})
|
Name(_PRW, Package() {0x18, 4})
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD){ Return(APS2) } /* APIC mode */
|
If(PICM){ Return(APS2) } /* APIC mode */
|
||||||
Return (PS2) /* PIC Mode */
|
Return (PS2) /* PIC Mode */
|
||||||
} /* end _PRT */
|
} /* end _PRT */
|
||||||
} /* end PBR2 */
|
} /* end PBR2 */
|
||||||
|
@ -917,7 +917,7 @@ DefinitionBlock (
|
||||||
Name(_ADR, 0x00040000)
|
Name(_ADR, 0x00040000)
|
||||||
Name(_PRW, Package() {0x18, 4})
|
Name(_PRW, Package() {0x18, 4})
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD){ Return(APS4) } /* APIC mode */
|
If(PICM){ Return(APS4) } /* APIC mode */
|
||||||
Return (PS4) /* PIC Mode */
|
Return (PS4) /* PIC Mode */
|
||||||
} /* end _PRT */
|
} /* end _PRT */
|
||||||
} /* end PBR4 */
|
} /* end PBR4 */
|
||||||
|
@ -926,7 +926,7 @@ DefinitionBlock (
|
||||||
Name(_ADR, 0x00050000)
|
Name(_ADR, 0x00050000)
|
||||||
Name(_PRW, Package() {0x18, 4})
|
Name(_PRW, Package() {0x18, 4})
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD){ Return(APS5) } /* APIC mode */
|
If(PICM){ Return(APS5) } /* APIC mode */
|
||||||
Return (PS5) /* PIC Mode */
|
Return (PS5) /* PIC Mode */
|
||||||
} /* end _PRT */
|
} /* end _PRT */
|
||||||
} /* end PBR5 */
|
} /* end PBR5 */
|
||||||
|
@ -935,7 +935,7 @@ DefinitionBlock (
|
||||||
Name(_ADR, 0x00060000)
|
Name(_ADR, 0x00060000)
|
||||||
Name(_PRW, Package() {0x18, 4})
|
Name(_PRW, Package() {0x18, 4})
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD){ Return(APS6) } /* APIC mode */
|
If(PICM){ Return(APS6) } /* APIC mode */
|
||||||
Return (PS6) /* PIC Mode */
|
Return (PS6) /* PIC Mode */
|
||||||
} /* end _PRT */
|
} /* end _PRT */
|
||||||
} /* end PBR6 */
|
} /* end PBR6 */
|
||||||
|
@ -945,7 +945,7 @@ DefinitionBlock (
|
||||||
Name(_ADR, 0x00070000)
|
Name(_ADR, 0x00070000)
|
||||||
Name(_PRW, Package() {0x18, 4})
|
Name(_PRW, Package() {0x18, 4})
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD){ Return(APS7) } /* APIC mode */
|
If(PICM){ Return(APS7) } /* APIC mode */
|
||||||
Return (PS7) /* PIC Mode */
|
Return (PS7) /* PIC Mode */
|
||||||
} /* end _PRT */
|
} /* end _PRT */
|
||||||
} /* end PBR7 */
|
} /* end PBR7 */
|
||||||
|
@ -955,7 +955,7 @@ DefinitionBlock (
|
||||||
Name(_ADR, 0x00090000)
|
Name(_ADR, 0x00090000)
|
||||||
Name(_PRW, Package() {0x18, 4})
|
Name(_PRW, Package() {0x18, 4})
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD){ Return(APS9) } /* APIC mode */
|
If(PICM){ Return(APS9) } /* APIC mode */
|
||||||
Return (PS9) /* PIC Mode */
|
Return (PS9) /* PIC Mode */
|
||||||
} /* end _PRT */
|
} /* end _PRT */
|
||||||
} /* end PBR9 */
|
} /* end PBR9 */
|
||||||
|
@ -964,7 +964,7 @@ DefinitionBlock (
|
||||||
Name(_ADR, 0x000A0000)
|
Name(_ADR, 0x000A0000)
|
||||||
Name(_PRW, Package() {0x18, 4})
|
Name(_PRW, Package() {0x18, 4})
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD){ Return(APSa) } /* APIC mode */
|
If(PICM){ Return(APSa) } /* APIC mode */
|
||||||
Return (PSa) /* PIC Mode */
|
Return (PSa) /* PIC Mode */
|
||||||
} /* end _PRT */
|
} /* end _PRT */
|
||||||
} /* end PBRa */
|
} /* end PBRa */
|
||||||
|
@ -973,7 +973,7 @@ DefinitionBlock (
|
||||||
Name(_ADR, 0x00150000)
|
Name(_ADR, 0x00150000)
|
||||||
Name(_PRW, Package() {0x18, 4})
|
Name(_PRW, Package() {0x18, 4})
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD){ Return(APE0) } /* APIC mode */
|
If(PICM){ Return(APE0) } /* APIC mode */
|
||||||
Return (PE0) /* PIC Mode */
|
Return (PE0) /* PIC Mode */
|
||||||
} /* end _PRT */
|
} /* end _PRT */
|
||||||
} /* end PE20 */
|
} /* end PE20 */
|
||||||
|
@ -981,7 +981,7 @@ DefinitionBlock (
|
||||||
Name(_ADR, 0x00150001)
|
Name(_ADR, 0x00150001)
|
||||||
Name(_PRW, Package() {0x18, 4})
|
Name(_PRW, Package() {0x18, 4})
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD){ Return(APE1) } /* APIC mode */
|
If(PICM){ Return(APE1) } /* APIC mode */
|
||||||
Return (PE1) /* PIC Mode */
|
Return (PE1) /* PIC Mode */
|
||||||
} /* end _PRT */
|
} /* end _PRT */
|
||||||
} /* end PE21 */
|
} /* end PE21 */
|
||||||
|
@ -989,7 +989,7 @@ DefinitionBlock (
|
||||||
Name(_ADR, 0x00150002)
|
Name(_ADR, 0x00150002)
|
||||||
Name(_PRW, Package() {0x18, 4})
|
Name(_PRW, Package() {0x18, 4})
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD){ Return(APE2) } /* APIC mode */
|
If(PICM){ Return(APE2) } /* APIC mode */
|
||||||
Return (APE2) /* PIC Mode */
|
Return (APE2) /* PIC Mode */
|
||||||
} /* end _PRT */
|
} /* end _PRT */
|
||||||
} /* end PE22 */
|
} /* end PE22 */
|
||||||
|
@ -997,7 +997,7 @@ DefinitionBlock (
|
||||||
Name(_ADR, 0x00150003)
|
Name(_ADR, 0x00150003)
|
||||||
Name(_PRW, Package() {0x18, 4})
|
Name(_PRW, Package() {0x18, 4})
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD){ Return(APE3) } /* APIC mode */
|
If(PICM){ Return(APE3) } /* APIC mode */
|
||||||
Return (PE3) /* PIC Mode */
|
Return (PE3) /* PIC Mode */
|
||||||
} /* end _PRT */
|
} /* end _PRT */
|
||||||
} /* end PE23 */
|
} /* end PE23 */
|
||||||
|
|
|
@ -14,4 +14,4 @@
|
||||||
/* Some global data */
|
/* Some global data */
|
||||||
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
||||||
Name(OSV, Ones) /* Assume nothing */
|
Name(OSV, Ones) /* Assume nothing */
|
||||||
Name(PMOD, One) /* Assume APIC */
|
Name(PICM, One) /* Assume APIC */
|
||||||
|
|
|
@ -13,7 +13,7 @@ Name(HPBA, 0xFED00000) /* Base address of HPET table */
|
||||||
/* Some global data */
|
/* Some global data */
|
||||||
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
||||||
Name(OSV, Ones) /* Assume nothing */
|
Name(OSV, Ones) /* Assume nothing */
|
||||||
Name(PMOD, One) /* Assume APIC */
|
Name(PICM, One) /* Assume APIC */
|
||||||
|
|
||||||
Scope(\_SB) {
|
Scope(\_SB) {
|
||||||
Method(OSFL, 0){
|
Method(OSFL, 0){
|
||||||
|
|
|
@ -12,7 +12,7 @@ Name(HPBA, 0xFED00000) /* Base address of HPET table */
|
||||||
/* Some global data */
|
/* Some global data */
|
||||||
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
|
||||||
Name(OSV, Ones) /* Assume nothing */
|
Name(OSV, Ones) /* Assume nothing */
|
||||||
Name(PMOD, One) /* Assume APIC */
|
Name(PICM, One) /* Assume APIC */
|
||||||
|
|
||||||
/* AcpiGpe0Blk */
|
/* AcpiGpe0Blk */
|
||||||
OperationRegion(GP0B, SystemMemory, 0xfed80814, 0x04)
|
OperationRegion(GP0B, SystemMemory, 0xfed80814, 0x04)
|
||||||
|
|
|
@ -16,7 +16,7 @@ Device(AGPB) {
|
||||||
Name(_ADR, 0x00010000)
|
Name(_ADR, 0x00010000)
|
||||||
Name(_PRW, Package() {0x18, 4})
|
Name(_PRW, Package() {0x18, 4})
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD) { Return(APR1) } /* APIC mode */
|
If(PICM) { Return(APR1) } /* APIC mode */
|
||||||
Return (PR1) /* PIC Mode */
|
Return (PR1) /* PIC Mode */
|
||||||
}
|
}
|
||||||
} /* end AGPB */
|
} /* end AGPB */
|
||||||
|
@ -26,7 +26,7 @@ Device(HDMI) {
|
||||||
Name(_ADR, 0x00010001)
|
Name(_ADR, 0x00010001)
|
||||||
Name(_PRW, Package() {0x18, 4})
|
Name(_PRW, Package() {0x18, 4})
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD) { Return(APR1) } /* APIC mode */
|
If(PICM) { Return(APR1) } /* APIC mode */
|
||||||
Return (PR1) /* PIC Mode */
|
Return (PR1) /* PIC Mode */
|
||||||
}
|
}
|
||||||
} /* end HDMI */
|
} /* end HDMI */
|
||||||
|
@ -38,7 +38,7 @@ Device(PBR4) {
|
||||||
Name(_ADR, 0x00040000)
|
Name(_ADR, 0x00040000)
|
||||||
Name(_PRW, Package() {0x18, 4})
|
Name(_PRW, Package() {0x18, 4})
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD) { Return(APS4) } /* APIC mode */
|
If(PICM) { Return(APS4) } /* APIC mode */
|
||||||
Return (PS4) /* PIC Mode */
|
Return (PS4) /* PIC Mode */
|
||||||
} /* end _PRT */
|
} /* end _PRT */
|
||||||
} /* end PBR4 */
|
} /* end PBR4 */
|
||||||
|
@ -48,7 +48,7 @@ Device(PBR5) {
|
||||||
Name(_ADR, 0x00050000)
|
Name(_ADR, 0x00050000)
|
||||||
Name(_PRW, Package() {0x18, 4})
|
Name(_PRW, Package() {0x18, 4})
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD) { Return(APS5) } /* APIC mode */
|
If(PICM) { Return(APS5) } /* APIC mode */
|
||||||
Return (PS5) /* PIC Mode */
|
Return (PS5) /* PIC Mode */
|
||||||
} /* end _PRT */
|
} /* end _PRT */
|
||||||
} /* end PBR5 */
|
} /* end PBR5 */
|
||||||
|
@ -58,7 +58,7 @@ Device(PBR6) {
|
||||||
Name(_ADR, 0x00060000)
|
Name(_ADR, 0x00060000)
|
||||||
Name(_PRW, Package() {0x18, 4})
|
Name(_PRW, Package() {0x18, 4})
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD) { Return(APS6) } /* APIC mode */
|
If(PICM) { Return(APS6) } /* APIC mode */
|
||||||
Return (PS6) /* PIC Mode */
|
Return (PS6) /* PIC Mode */
|
||||||
} /* end _PRT */
|
} /* end _PRT */
|
||||||
} /* end PBR6 */
|
} /* end PBR6 */
|
||||||
|
@ -68,7 +68,7 @@ Device(PBR7) {
|
||||||
Name(_ADR, 0x00070000)
|
Name(_ADR, 0x00070000)
|
||||||
Name(_PRW, Package() {0x18, 4})
|
Name(_PRW, Package() {0x18, 4})
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD) { Return(APS7) } /* APIC mode */
|
If(PICM) { Return(APS7) } /* APIC mode */
|
||||||
Return (PS7) /* PIC Mode */
|
Return (PS7) /* PIC Mode */
|
||||||
} /* end _PRT */
|
} /* end _PRT */
|
||||||
} /* end PBR7 */
|
} /* end PBR7 */
|
||||||
|
@ -77,7 +77,7 @@ Device(PE20) {
|
||||||
Name(_ADR, 0x00150000)
|
Name(_ADR, 0x00150000)
|
||||||
Name(_PRW, Package() {0x18, 4})
|
Name(_PRW, Package() {0x18, 4})
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD) { Return(APE0) } /* APIC mode */
|
If(PICM) { Return(APE0) } /* APIC mode */
|
||||||
Return (PE0) /* PIC Mode */
|
Return (PE0) /* PIC Mode */
|
||||||
} /* end _PRT */
|
} /* end _PRT */
|
||||||
} /* end PE20 */
|
} /* end PE20 */
|
||||||
|
@ -86,7 +86,7 @@ Device(PE21) {
|
||||||
Name(_ADR, 0x00150001)
|
Name(_ADR, 0x00150001)
|
||||||
Name(_PRW, Package() {0x18, 4})
|
Name(_PRW, Package() {0x18, 4})
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD) { Return(APE1) } /* APIC mode */
|
If(PICM) { Return(APE1) } /* APIC mode */
|
||||||
Return (PE1) /* PIC Mode */
|
Return (PE1) /* PIC Mode */
|
||||||
} /* end _PRT */
|
} /* end _PRT */
|
||||||
} /* end PE21 */
|
} /* end PE21 */
|
||||||
|
@ -95,7 +95,7 @@ Device(PE22) {
|
||||||
Name(_ADR, 0x00150002)
|
Name(_ADR, 0x00150002)
|
||||||
Name(_PRW, Package() {0x18, 4})
|
Name(_PRW, Package() {0x18, 4})
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD) { Return(APE2) } /* APIC mode */
|
If(PICM) { Return(APE2) } /* APIC mode */
|
||||||
Return (APE2) /* PIC Mode */
|
Return (APE2) /* PIC Mode */
|
||||||
} /* end _PRT */
|
} /* end _PRT */
|
||||||
} /* end PE22 */
|
} /* end PE22 */
|
||||||
|
@ -104,7 +104,7 @@ Device(PE23) {
|
||||||
Name(_ADR, 0x00150003)
|
Name(_ADR, 0x00150003)
|
||||||
Name(_PRW, Package() {0x18, 4})
|
Name(_PRW, Package() {0x18, 4})
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD) { Return(APE3) } /* APIC mode */
|
If(PICM) { Return(APE3) } /* APIC mode */
|
||||||
Return (PE3) /* PIC Mode */
|
Return (PE3) /* PIC Mode */
|
||||||
} /* end _PRT */
|
} /* end _PRT */
|
||||||
} /* end PE23 */
|
} /* end PE23 */
|
||||||
|
|
|
@ -19,7 +19,7 @@ Method (_STA, 0, NotSerialized)
|
||||||
|
|
||||||
Method (_PRT, 0, NotSerialized)
|
Method (_PRT, 0, NotSerialized)
|
||||||
{
|
{
|
||||||
If (PMOD)
|
If (PICM)
|
||||||
{
|
{
|
||||||
Return (APR0)
|
Return (APR0)
|
||||||
}
|
}
|
||||||
|
@ -36,7 +36,7 @@ Device(PBR2) {
|
||||||
Name(_ADR, 0x00020000)
|
Name(_ADR, 0x00020000)
|
||||||
Name(_PRW, Package() {0x18, 4})
|
Name(_PRW, Package() {0x18, 4})
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD) { Return(APS2) } /* APIC mode */
|
If(PICM) { Return(APS2) } /* APIC mode */
|
||||||
Return (PS2) /* PIC Mode */
|
Return (PS2) /* PIC Mode */
|
||||||
} /* end _PRT */
|
} /* end _PRT */
|
||||||
} /* end PBR2 */
|
} /* end PBR2 */
|
||||||
|
@ -46,7 +46,7 @@ Device(PBR4) {
|
||||||
Name(_ADR, 0x00040000)
|
Name(_ADR, 0x00040000)
|
||||||
Name(_PRW, Package() {0x18, 4})
|
Name(_PRW, Package() {0x18, 4})
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD) { Return(APS4) } /* APIC mode */
|
If(PICM) { Return(APS4) } /* APIC mode */
|
||||||
Return (PS4) /* PIC Mode */
|
Return (PS4) /* PIC Mode */
|
||||||
} /* end _PRT */
|
} /* end _PRT */
|
||||||
} /* end PBR4 */
|
} /* end PBR4 */
|
||||||
|
@ -56,7 +56,7 @@ Device(PBR5) {
|
||||||
Name(_ADR, 0x00050000)
|
Name(_ADR, 0x00050000)
|
||||||
Name(_PRW, Package() {0x18, 4})
|
Name(_PRW, Package() {0x18, 4})
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD) { Return(APS5) } /* APIC mode */
|
If(PICM) { Return(APS5) } /* APIC mode */
|
||||||
Return (PS5) /* PIC Mode */
|
Return (PS5) /* PIC Mode */
|
||||||
} /* end _PRT */
|
} /* end _PRT */
|
||||||
} /* end PBR5 */
|
} /* end PBR5 */
|
||||||
|
@ -66,7 +66,7 @@ Device(PBR6) {
|
||||||
Name(_ADR, 0x00060000)
|
Name(_ADR, 0x00060000)
|
||||||
Name(_PRW, Package() {0x18, 4})
|
Name(_PRW, Package() {0x18, 4})
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD) { Return(APS6) } /* APIC mode */
|
If(PICM) { Return(APS6) } /* APIC mode */
|
||||||
Return (PS6) /* PIC Mode */
|
Return (PS6) /* PIC Mode */
|
||||||
} /* end _PRT */
|
} /* end _PRT */
|
||||||
} /* end PBR6 */
|
} /* end PBR6 */
|
||||||
|
@ -76,7 +76,7 @@ Device(PBR7) {
|
||||||
Name(_ADR, 0x00070000)
|
Name(_ADR, 0x00070000)
|
||||||
Name(_PRW, Package() {0x18, 4})
|
Name(_PRW, Package() {0x18, 4})
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD) { Return(APS7) } /* APIC mode */
|
If(PICM) { Return(APS7) } /* APIC mode */
|
||||||
Return (PS7) /* PIC Mode */
|
Return (PS7) /* PIC Mode */
|
||||||
} /* end _PRT */
|
} /* end _PRT */
|
||||||
} /* end PBR7 */
|
} /* end PBR7 */
|
||||||
|
|
|
@ -20,7 +20,7 @@ Method(_STA, 0, NotSerialized)
|
||||||
|
|
||||||
Method(_PRT,0, NotSerialized)
|
Method(_PRT,0, NotSerialized)
|
||||||
{
|
{
|
||||||
If(PMOD)
|
If(PICM)
|
||||||
{
|
{
|
||||||
Return(APR0) /* APIC mode */
|
Return(APR0) /* APIC mode */
|
||||||
}
|
}
|
||||||
|
@ -36,7 +36,7 @@ Device(PBR4) {
|
||||||
Name(_ADR, 0x00020001)
|
Name(_ADR, 0x00020001)
|
||||||
Name(_PRW, Package() {0x18, 4})
|
Name(_PRW, Package() {0x18, 4})
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD) { Return(APS4) } /* APIC mode */
|
If(PICM) { Return(APS4) } /* APIC mode */
|
||||||
Return (PS4) /* PIC Mode */
|
Return (PS4) /* PIC Mode */
|
||||||
} /* end _PRT */
|
} /* end _PRT */
|
||||||
} /* end PBR4 */
|
} /* end PBR4 */
|
||||||
|
@ -46,7 +46,7 @@ Device(PBR5) {
|
||||||
Name(_ADR, 0x00020002)
|
Name(_ADR, 0x00020002)
|
||||||
Name(_PRW, Package() {0x18, 4})
|
Name(_PRW, Package() {0x18, 4})
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD) { Return(APS5) } /* APIC mode */
|
If(PICM) { Return(APS5) } /* APIC mode */
|
||||||
Return (PS5) /* PIC Mode */
|
Return (PS5) /* PIC Mode */
|
||||||
} /* end _PRT */
|
} /* end _PRT */
|
||||||
} /* end PBR5 */
|
} /* end PBR5 */
|
||||||
|
@ -56,7 +56,7 @@ Device(PBR6) {
|
||||||
Name(_ADR, 0x00020003)
|
Name(_ADR, 0x00020003)
|
||||||
Name(_PRW, Package() {0x18, 4})
|
Name(_PRW, Package() {0x18, 4})
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD) { Return(APS6) } /* APIC mode */
|
If(PICM) { Return(APS6) } /* APIC mode */
|
||||||
Return (PS6) /* PIC Mode */
|
Return (PS6) /* PIC Mode */
|
||||||
} /* end _PRT */
|
} /* end _PRT */
|
||||||
} /* end PBR6 */
|
} /* end PBR6 */
|
||||||
|
@ -66,7 +66,7 @@ Device(PBR7) {
|
||||||
Name(_ADR, 0x00020004)
|
Name(_ADR, 0x00020004)
|
||||||
Name(_PRW, Package() {0x18, 4})
|
Name(_PRW, Package() {0x18, 4})
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD) { Return(APS7) } /* APIC mode */
|
If(PICM) { Return(APS7) } /* APIC mode */
|
||||||
Return (PS7) /* PIC Mode */
|
Return (PS7) /* PIC Mode */
|
||||||
} /* end _PRT */
|
} /* end _PRT */
|
||||||
} /* end PBR7 */
|
} /* end PBR7 */
|
||||||
|
@ -76,7 +76,7 @@ Device(PBR8) {
|
||||||
Name(_ADR, 0x00020005)
|
Name(_ADR, 0x00020005)
|
||||||
Name(_PRW, Package() {0x18, 4})
|
Name(_PRW, Package() {0x18, 4})
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD) { Return(APS8) } /* APIC mode */
|
If(PICM) { Return(APS8) } /* APIC mode */
|
||||||
Return (PS8) /* PIC Mode */
|
Return (PS8) /* PIC Mode */
|
||||||
} /* end _PRT */
|
} /* end _PRT */
|
||||||
} /* end PBR8 */
|
} /* end PBR8 */
|
||||||
|
|
|
@ -19,7 +19,7 @@ Method (_STA, 0, NotSerialized)
|
||||||
|
|
||||||
Method (_PRT, 0, NotSerialized)
|
Method (_PRT, 0, NotSerialized)
|
||||||
{
|
{
|
||||||
If (PMOD)
|
If (PICM)
|
||||||
{
|
{
|
||||||
Return (APR0)
|
Return (APR0)
|
||||||
}
|
}
|
||||||
|
@ -36,7 +36,7 @@ Device(PBR2) {
|
||||||
Name(_ADR, 0x00020000)
|
Name(_ADR, 0x00020000)
|
||||||
Name(_PRW, Package() {0x18, 4})
|
Name(_PRW, Package() {0x18, 4})
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD) { Return(APS2) } /* APIC mode */
|
If(PICM) { Return(APS2) } /* APIC mode */
|
||||||
Return (PS2) /* PIC Mode */
|
Return (PS2) /* PIC Mode */
|
||||||
} /* end _PRT */
|
} /* end _PRT */
|
||||||
} /* end PBR2 */
|
} /* end PBR2 */
|
||||||
|
@ -46,7 +46,7 @@ Device(PBR3) {
|
||||||
Name(_ADR, 0x00030000)
|
Name(_ADR, 0x00030000)
|
||||||
Name(_PRW, Package() {0x18, 4})
|
Name(_PRW, Package() {0x18, 4})
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD) { Return(APS3) } /* APIC mode */
|
If(PICM) { Return(APS3) } /* APIC mode */
|
||||||
Return (PS3) /* PIC Mode */
|
Return (PS3) /* PIC Mode */
|
||||||
} /* end _PRT */
|
} /* end _PRT */
|
||||||
} /* end PBR3 */
|
} /* end PBR3 */
|
||||||
|
|
|
@ -20,7 +20,7 @@ Method(_STA, 0, NotSerialized)
|
||||||
|
|
||||||
Method(_PRT,0, NotSerialized)
|
Method(_PRT,0, NotSerialized)
|
||||||
{
|
{
|
||||||
If(PMOD)
|
If(PICM)
|
||||||
{
|
{
|
||||||
Return(APR0) /* APIC mode */
|
Return(APR0) /* APIC mode */
|
||||||
}
|
}
|
||||||
|
@ -36,7 +36,7 @@ Device(PBR4) {
|
||||||
Name(_ADR, 0x00020001)
|
Name(_ADR, 0x00020001)
|
||||||
Name(_PRW, Package() {0x18, 4})
|
Name(_PRW, Package() {0x18, 4})
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD) { Return(APS4) } /* APIC mode */
|
If(PICM) { Return(APS4) } /* APIC mode */
|
||||||
Return (PS4) /* PIC Mode */
|
Return (PS4) /* PIC Mode */
|
||||||
} /* end _PRT */
|
} /* end _PRT */
|
||||||
} /* end PBR4 */
|
} /* end PBR4 */
|
||||||
|
@ -46,7 +46,7 @@ Device(PBR5) {
|
||||||
Name(_ADR, 0x00020002)
|
Name(_ADR, 0x00020002)
|
||||||
Name(_PRW, Package() {0x18, 4})
|
Name(_PRW, Package() {0x18, 4})
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD) { Return(APS5) } /* APIC mode */
|
If(PICM) { Return(APS5) } /* APIC mode */
|
||||||
Return (PS5) /* PIC Mode */
|
Return (PS5) /* PIC Mode */
|
||||||
} /* end _PRT */
|
} /* end _PRT */
|
||||||
} /* end PBR5 */
|
} /* end PBR5 */
|
||||||
|
@ -56,7 +56,7 @@ Device(PBR6) {
|
||||||
Name(_ADR, 0x00020003)
|
Name(_ADR, 0x00020003)
|
||||||
Name(_PRW, Package() {0x18, 4})
|
Name(_PRW, Package() {0x18, 4})
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD) { Return(APS6) } /* APIC mode */
|
If(PICM) { Return(APS6) } /* APIC mode */
|
||||||
Return (PS6) /* PIC Mode */
|
Return (PS6) /* PIC Mode */
|
||||||
} /* end _PRT */
|
} /* end _PRT */
|
||||||
} /* end PBR6 */
|
} /* end PBR6 */
|
||||||
|
@ -66,7 +66,7 @@ Device(PBR7) {
|
||||||
Name(_ADR, 0x00020004)
|
Name(_ADR, 0x00020004)
|
||||||
Name(_PRW, Package() {0x18, 4})
|
Name(_PRW, Package() {0x18, 4})
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD) { Return(APS7) } /* APIC mode */
|
If(PICM) { Return(APS7) } /* APIC mode */
|
||||||
Return (PS7) /* PIC Mode */
|
Return (PS7) /* PIC Mode */
|
||||||
} /* end _PRT */
|
} /* end _PRT */
|
||||||
} /* end PBR7 */
|
} /* end PBR7 */
|
||||||
|
@ -76,7 +76,7 @@ Device(PBR8) {
|
||||||
Name(_ADR, 0x00020005)
|
Name(_ADR, 0x00020005)
|
||||||
Name(_PRW, Package() {0x18, 4})
|
Name(_PRW, Package() {0x18, 4})
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD) { Return(APS8) } /* APIC mode */
|
If(PICM) { Return(APS8) } /* APIC mode */
|
||||||
Return (PS8) /* PIC Mode */
|
Return (PS8) /* PIC Mode */
|
||||||
} /* end _PRT */
|
} /* end _PRT */
|
||||||
} /* end PBR8 */
|
} /* end PBR8 */
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||||
|
|
||||||
/* Global variables */
|
/* Global variables */
|
||||||
Name (PMOD, Zero) /* Interrupt Mode used by OS. Assume PIC. */
|
Name (PICM, Zero) /* Interrupt Mode used by OS. Assume PIC. */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* NOTE: The layout of the GNVS structure below must match the layout in
|
* NOTE: The layout of the GNVS structure below must match the layout in
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
Method(\_PIC, 0x01, NotSerialized)
|
Method(\_PIC, 0x01, NotSerialized)
|
||||||
{
|
{
|
||||||
printf("PIC MODE: %o", Arg0)
|
printf("PIC MODE: %o", Arg0)
|
||||||
PMOD = Arg0
|
PICM = Arg0
|
||||||
}
|
}
|
||||||
|
|
||||||
/* PIC Possible Resource Values */
|
/* PIC Possible Resource Values */
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
Name(_UID, UID) \
|
Name(_UID, UID) \
|
||||||
\
|
\
|
||||||
Method(_STA, 0) { \
|
Method(_STA, 0) { \
|
||||||
If (PMOD) { \
|
If (PICM) { \
|
||||||
local0=APIC_REG \
|
local0=APIC_REG \
|
||||||
} Else { \
|
} Else { \
|
||||||
local0=PIC_REG \
|
local0=PIC_REG \
|
||||||
|
@ -44,7 +44,7 @@
|
||||||
} \
|
} \
|
||||||
\
|
\
|
||||||
Method(_DIS ,0) { \
|
Method(_DIS ,0) { \
|
||||||
If(PMOD) { \
|
If(PICM) { \
|
||||||
printf("PCI: \\_SB.%s._DIS APIC", #DEV_NAME) \
|
printf("PCI: \\_SB.%s._DIS APIC", #DEV_NAME) \
|
||||||
APIC_REG=0x1f \
|
APIC_REG=0x1f \
|
||||||
} Else { \
|
} Else { \
|
||||||
|
@ -54,7 +54,7 @@
|
||||||
} \
|
} \
|
||||||
\
|
\
|
||||||
Method(_PRS ,0) { \
|
Method(_PRS ,0) { \
|
||||||
If(PMOD) { \
|
If(PICM) { \
|
||||||
printf("PCI: \\_SB.%s._PRS => APIC", #DEV_NAME) \
|
printf("PCI: \\_SB.%s._PRS => APIC", #DEV_NAME) \
|
||||||
Return(IRQI) \
|
Return(IRQI) \
|
||||||
} Else { \
|
} Else { \
|
||||||
|
@ -73,7 +73,7 @@
|
||||||
{ 0 } \
|
{ 0 } \
|
||||||
} \
|
} \
|
||||||
CreateDWordField(local0, NUMB._INT, IRQN) \
|
CreateDWordField(local0, NUMB._INT, IRQN) \
|
||||||
If(PMOD) { \
|
If(PICM) { \
|
||||||
printf("PCI: \\_SB.%s._CRS APIC: %o", #DEV_NAME, APIC_REG) \
|
printf("PCI: \\_SB.%s._CRS APIC: %o", #DEV_NAME, APIC_REG) \
|
||||||
IRQN=APIC_REG \
|
IRQN=APIC_REG \
|
||||||
} Else { \
|
} Else { \
|
||||||
|
@ -90,7 +90,7 @@
|
||||||
Method(_SRS, 1) { \
|
Method(_SRS, 1) { \
|
||||||
CreateWordField(ARG0, 0x5, IRQN) \
|
CreateWordField(ARG0, 0x5, IRQN) \
|
||||||
\
|
\
|
||||||
If(PMOD) { \
|
If(PICM) { \
|
||||||
printf("PCI: \\_SB.%s._SRS APIC: %o", #DEV_NAME, IRQN) \
|
printf("PCI: \\_SB.%s._SRS APIC: %o", #DEV_NAME, IRQN) \
|
||||||
APIC_REG=IRQN \
|
APIC_REG=IRQN \
|
||||||
} Else { \
|
} Else { \
|
||||||
|
|
|
@ -38,7 +38,7 @@ Device (GPIO)
|
||||||
Memory32Fixed (ReadWrite, ACPIMMIO_GPIO0_BASE, 0x400)
|
Memory32Fixed (ReadWrite, ACPIMMIO_GPIO0_BASE, 0x400)
|
||||||
}
|
}
|
||||||
CreateDWordField (Local0, IRQR._INT, IRQN)
|
CreateDWordField (Local0, IRQR._INT, IRQN)
|
||||||
If (PMOD) {
|
If (PICM) {
|
||||||
IRQN = IGPI
|
IRQN = IGPI
|
||||||
} Else {
|
} Else {
|
||||||
IRQN = PGPI
|
IRQN = PGPI
|
||||||
|
@ -73,7 +73,7 @@ Device (MMC0)
|
||||||
Memory32Fixed (ReadWrite, APU_EMMC_BASE, 0x1000)
|
Memory32Fixed (ReadWrite, APU_EMMC_BASE, 0x1000)
|
||||||
}
|
}
|
||||||
CreateDWordField (Local0, IRQR._INT, IRQN)
|
CreateDWordField (Local0, IRQR._INT, IRQN)
|
||||||
If (PMOD) {
|
If (PICM) {
|
||||||
IRQN = IMMC
|
IRQN = IMMC
|
||||||
} Else {
|
} Else {
|
||||||
IRQN = PMMC
|
IRQN = PMMC
|
||||||
|
@ -109,7 +109,7 @@ Device (FUR0)
|
||||||
Memory32Fixed (ReadWrite, APU_DMAC0_BASE, 0x1000)
|
Memory32Fixed (ReadWrite, APU_DMAC0_BASE, 0x1000)
|
||||||
}
|
}
|
||||||
CreateDWordField (Local0, IRQR._INT, IRQN)
|
CreateDWordField (Local0, IRQR._INT, IRQN)
|
||||||
If (PMOD) {
|
If (PICM) {
|
||||||
IRQN = IUA0
|
IRQN = IUA0
|
||||||
} Else {
|
} Else {
|
||||||
IRQN = PUA0
|
IRQN = PUA0
|
||||||
|
@ -142,7 +142,7 @@ Device (FUR1) {
|
||||||
Memory32Fixed (ReadWrite, APU_DMAC1_BASE, 0x1000)
|
Memory32Fixed (ReadWrite, APU_DMAC1_BASE, 0x1000)
|
||||||
}
|
}
|
||||||
CreateDWordField (Local0, IRQR._INT, IRQN)
|
CreateDWordField (Local0, IRQR._INT, IRQN)
|
||||||
If (PMOD) {
|
If (PICM) {
|
||||||
IRQN = IUA1
|
IRQN = IUA1
|
||||||
} Else {
|
} Else {
|
||||||
IRQN = PUA1
|
IRQN = PUA1
|
||||||
|
@ -175,7 +175,7 @@ Device (FUR2) {
|
||||||
Memory32Fixed (ReadWrite, APU_DMAC2_BASE, 0x1000)
|
Memory32Fixed (ReadWrite, APU_DMAC2_BASE, 0x1000)
|
||||||
}
|
}
|
||||||
CreateDWordField (Local0, IRQR._INT, IRQN)
|
CreateDWordField (Local0, IRQR._INT, IRQN)
|
||||||
If (PMOD) {
|
If (PICM) {
|
||||||
IRQN = IUA2
|
IRQN = IUA2
|
||||||
} Else {
|
} Else {
|
||||||
IRQN = PUA2
|
IRQN = PUA2
|
||||||
|
@ -208,7 +208,7 @@ Device (FUR3) {
|
||||||
Memory32Fixed (ReadWrite, APU_DMAC3_BASE, 0x1000)
|
Memory32Fixed (ReadWrite, APU_DMAC3_BASE, 0x1000)
|
||||||
}
|
}
|
||||||
CreateDWordField (Local0, IRQR._INT, IRQN)
|
CreateDWordField (Local0, IRQR._INT, IRQN)
|
||||||
If (PMOD) {
|
If (PICM) {
|
||||||
IRQN = IUA3
|
IRQN = IUA3
|
||||||
} Else {
|
} Else {
|
||||||
IRQN = PUA3
|
IRQN = PUA3
|
||||||
|
@ -240,7 +240,7 @@ Device (I2C2) {
|
||||||
Memory32Fixed (ReadWrite, APU_I2C2_BASE, 0x1000)
|
Memory32Fixed (ReadWrite, APU_I2C2_BASE, 0x1000)
|
||||||
}
|
}
|
||||||
CreateDWordField (Local0, IRQR._INT, IRQN)
|
CreateDWordField (Local0, IRQR._INT, IRQN)
|
||||||
If (PMOD) {
|
If (PICM) {
|
||||||
IRQN = II22
|
IRQN = II22
|
||||||
} Else {
|
} Else {
|
||||||
IRQN = PI22
|
IRQN = PI22
|
||||||
|
@ -277,7 +277,7 @@ Device (I2C3)
|
||||||
Memory32Fixed (ReadWrite, APU_I2C3_BASE, 0x1000)
|
Memory32Fixed (ReadWrite, APU_I2C3_BASE, 0x1000)
|
||||||
}
|
}
|
||||||
CreateDWordField (Local0, IRQR._INT, IRQN)
|
CreateDWordField (Local0, IRQR._INT, IRQN)
|
||||||
If (PMOD) {
|
If (PICM) {
|
||||||
IRQN = II23
|
IRQN = II23
|
||||||
} Else {
|
} Else {
|
||||||
IRQN = PI23
|
IRQN = PI23
|
||||||
|
|
|
@ -20,7 +20,7 @@ Method(_STA, 0, NotSerialized)
|
||||||
|
|
||||||
Method(_PRT,0, NotSerialized)
|
Method(_PRT,0, NotSerialized)
|
||||||
{
|
{
|
||||||
If(PMOD)
|
If(PICM)
|
||||||
{
|
{
|
||||||
Return(APR0) /* APIC mode */
|
Return(APR0) /* APIC mode */
|
||||||
}
|
}
|
||||||
|
@ -40,7 +40,7 @@ Device(IGFX) {
|
||||||
Device(PBR4) {
|
Device(PBR4) {
|
||||||
Name(_ADR, 0x00020001)
|
Name(_ADR, 0x00020001)
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD){ Return(APS4) } /* APIC mode */
|
If(PICM){ Return(APS4) } /* APIC mode */
|
||||||
Return (PS4) /* PIC Mode */
|
Return (PS4) /* PIC Mode */
|
||||||
} /* end _PRT */
|
} /* end _PRT */
|
||||||
} /* end PBR4 */
|
} /* end PBR4 */
|
||||||
|
@ -49,7 +49,7 @@ Device(PBR4) {
|
||||||
Device(PBR5) {
|
Device(PBR5) {
|
||||||
Name(_ADR, 0x00020002)
|
Name(_ADR, 0x00020002)
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD){ Return(APS5) } /* APIC mode */
|
If(PICM){ Return(APS5) } /* APIC mode */
|
||||||
Return (PS5) /* PIC Mode */
|
Return (PS5) /* PIC Mode */
|
||||||
} /* end _PRT */
|
} /* end _PRT */
|
||||||
} /* end PBR5 */
|
} /* end PBR5 */
|
||||||
|
@ -58,7 +58,7 @@ Device(PBR5) {
|
||||||
Device(PBR6) {
|
Device(PBR6) {
|
||||||
Name(_ADR, 0x00020003)
|
Name(_ADR, 0x00020003)
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD){ Return(APS6) } /* APIC mode */
|
If(PICM){ Return(APS6) } /* APIC mode */
|
||||||
Return (PS6) /* PIC Mode */
|
Return (PS6) /* PIC Mode */
|
||||||
} /* end _PRT */
|
} /* end _PRT */
|
||||||
} /* end PBR6 */
|
} /* end PBR6 */
|
||||||
|
@ -67,7 +67,7 @@ Device(PBR6) {
|
||||||
Device(PBR7) {
|
Device(PBR7) {
|
||||||
Name(_ADR, 0x00020004)
|
Name(_ADR, 0x00020004)
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD){ Return(APS7) } /* APIC mode */
|
If(PICM){ Return(APS7) } /* APIC mode */
|
||||||
Return (PS7) /* PIC Mode */
|
Return (PS7) /* PIC Mode */
|
||||||
} /* end _PRT */
|
} /* end _PRT */
|
||||||
} /* end PBR7 */
|
} /* end PBR7 */
|
||||||
|
@ -76,7 +76,7 @@ Device(PBR7) {
|
||||||
Device(PBR8) {
|
Device(PBR8) {
|
||||||
Name(_ADR, 0x00020005)
|
Name(_ADR, 0x00020005)
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD){ Return(APS8) } /* APIC mode */
|
If(PICM){ Return(APS8) } /* APIC mode */
|
||||||
Return (PS8) /* PIC Mode */
|
Return (PS8) /* PIC Mode */
|
||||||
} /* end _PRT */
|
} /* end _PRT */
|
||||||
} /* end PBR8 */
|
} /* end PBR8 */
|
||||||
|
|
|
@ -109,7 +109,7 @@
|
||||||
{
|
{
|
||||||
\_SB.CIRQ()
|
\_SB.CIRQ()
|
||||||
}
|
}
|
||||||
Store(Arg0, PMOD)
|
Store(Arg0, PICM)
|
||||||
}
|
}
|
||||||
|
|
||||||
Method(CIRQ, 0x00, NotSerialized){
|
Method(CIRQ, 0x00, NotSerialized){
|
||||||
|
|
|
@ -109,7 +109,7 @@
|
||||||
{
|
{
|
||||||
\_SB.CIRQ()
|
\_SB.CIRQ()
|
||||||
}
|
}
|
||||||
Store(Arg0, PMOD)
|
Store(Arg0, PICM)
|
||||||
}
|
}
|
||||||
|
|
||||||
Method(CIRQ, 0x00, NotSerialized){
|
Method(CIRQ, 0x00, NotSerialized){
|
||||||
|
|
|
@ -27,7 +27,7 @@ Method(_STA, 0) {
|
||||||
}
|
}
|
||||||
|
|
||||||
Method(_PRT,0) {
|
Method(_PRT,0) {
|
||||||
If(PMOD){ Return(APR0) } /* APIC mode */
|
If(PICM){ Return(APR0) } /* APIC mode */
|
||||||
Return (PR0) /* PIC Mode */
|
Return (PR0) /* PIC Mode */
|
||||||
} /* end _PRT */
|
} /* end _PRT */
|
||||||
|
|
||||||
|
|
|
@ -138,7 +138,7 @@ Scope(\_SB) {
|
||||||
{
|
{
|
||||||
\_SB.CIRQ()
|
\_SB.CIRQ()
|
||||||
}
|
}
|
||||||
Store(Arg0, PMOD)
|
Store(Arg0, PICM)
|
||||||
}
|
}
|
||||||
|
|
||||||
Method(CIRQ, 0x00, NotSerialized){
|
Method(CIRQ, 0x00, NotSerialized){
|
||||||
|
|
|
@ -109,7 +109,7 @@
|
||||||
{
|
{
|
||||||
\_SB.CIRQ()
|
\_SB.CIRQ()
|
||||||
}
|
}
|
||||||
Store(Arg0, PMOD)
|
Store(Arg0, PICM)
|
||||||
}
|
}
|
||||||
|
|
||||||
Method(CIRQ, 0x00, NotSerialized){
|
Method(CIRQ, 0x00, NotSerialized){
|
||||||
|
|
Loading…
Reference in New Issue