From: Shifei Lu Date: Thu, 2 Apr 2015 02:01:26 +0000 (+0000) Subject: Removed MBI Device from ACPI DSDT Table. X-Git-Tag: edk2-stable201903~10101 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=ebf4ef4d25d09b271ccb19f2855cb51d5c6c9cdb Removed MBI Device from ACPI DSDT Table. Removed MBI Device, which is not necessary for MinnowBoard Max, from ACPI DSDT Table per Windows team's request. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Shifei Lu Reviewed-by: David Wei git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17101 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/Vlv2DeviceRefCodePkg/AcpiTablesPCAT/Platform.asl b/Vlv2DeviceRefCodePkg/AcpiTablesPCAT/Platform.asl index 5f269be615..39fa181299 100644 --- a/Vlv2DeviceRefCodePkg/AcpiTablesPCAT/Platform.asl +++ b/Vlv2DeviceRefCodePkg/AcpiTablesPCAT/Platform.asl @@ -703,127 +703,6 @@ Scope(\_SB) } //End Scope(I2C7) - // - // Device for Message Bus Interface - // - Device(MBID) - { - Name(_HID, "INT33BD") - Name(_CID, "INT33BD") - Name(_HRV, 2)//different from CLT's - Name(_UID, 1) - - Method (_CRS, 0, Serialized) - { - Name (RBUF, ResourceTemplate () - { - Memory32Fixed ( - ReadWrite, - 0xE00000D0, // Address Base - 0xC, // Address Length (MCR/MDR/MCRX) - ) - }) - Return (RBUF) - } - - - // - // custom opregion for MBI access - // - OperationRegion (REGS, 0x87, 0x0, 0x30) - Field (REGS, DWordAcc, NoLock, Preserve) - { - PORT, 32, // Message Port - REG, 32, // Message Target Register Address - DATA, 32, // Message Data - MASK, 32, // Mask bits for modify operation - BE, 32, // Message Write Byte enables: 0 - BYTE; 1 - WORD; 2 - DWORD - OP, 32 // Operations: 0 - read; 1 - write; 2 - modify - } - - // - // availability of the custom opregion - // - Name (AVBL, 0) - Method(_REG,2) - { - If (Lequal(Arg0, 0x87)) - { - Store(Arg1, ^AVBL) - } - } - - // - // Method Name: READ - // Arguments: - // Arg0: PORT - // Arg1: REG - // Arg2: BE - // Return Value: - // DATA - // - Method(READ, 3, Serialized) - { - Store(0xFFFFFFFF , Local0) - If (Lequal (AVBL, 1)) - { - Store(0, OP) // must be set at first, do not change! - Store(Arg0, PORT) - Store(Arg1, REG) - Store(Arg2, BE) - Store(DATA, Local0) - } - return(Local0) - } - - // - // Method Name: WRIT - // Arguments: - // Arg0: PORT - // Arg1: REG - // Arg2: BE - // Arg3: DATA - // Return Value: - // NONE - // - Method(WRIT, 4, Serialized) - { - If (Lequal (AVBL, 1)) - { - Store(1, OP) // must be set at first, do not change! - Store(Arg0, PORT) - Store(Arg1, REG) - Store(Arg2, BE) - Store(Arg3, DATA) - } - } - - // - // Method Name: MODI - // Arguments: - // Arg0: PORT - // Arg1: REG - // Arg2: BE - // Arg3: DATA - // Arg4: MASK - // Return Value: - // NONE - // - Method(MODI, 5, Serialized) - { - If (Lequal (AVBL, 1)) - { - Store(2, OP) // must be set at first, do not change! - Store(Arg0, PORT) - Store(Arg1, REG) - Store(Arg2, BE) - Store(Arg3, DATA) - Store(Arg4, MASK) - } - } - } - - } // end Scope(\_SB) Name(PICM, 0) // Global Name, returns current Interrupt controller mode; updated from _PIC control method