From f48d7df7467a4c801cdbce5cc6cd748979f8baff Mon Sep 17 00:00:00 2001 From: raywu Date: Mon, 17 Sep 2018 10:57:55 +0800 Subject: F81216 ISA/PCI IRQ Share Mode Control --- Board/EM/Platform/AcpiPlatform.c | 6 +++++- Board/EM/Platform/Library/Protocol/GlobalNvsArea/GlobalNvsArea.h | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'Board/EM') diff --git a/Board/EM/Platform/AcpiPlatform.c b/Board/EM/Platform/AcpiPlatform.c index c0c9bfa..e7cbe97 100644 --- a/Board/EM/Platform/AcpiPlatform.c +++ b/Board/EM/Platform/AcpiPlatform.c @@ -1066,7 +1066,11 @@ AcpiPlatformInit ( } mGlobalNvsArea.Area->Revision = GLOBAL_NVS_AREA_REVISION_1; - + +{ + mGlobalNvsArea.Area->ComIrqShareMode = gSetupData->F81216ComIrqShareMode ; +} + Status = pBS->InstallMultipleProtocolInterfaces (&ImageHandle, &gEfiGlobalNvsAreaProtocolGuid, &mGlobalNvsArea, diff --git a/Board/EM/Platform/Library/Protocol/GlobalNvsArea/GlobalNvsArea.h b/Board/EM/Platform/Library/Protocol/GlobalNvsArea/GlobalNvsArea.h index da4d4ee..0734577 100644 --- a/Board/EM/Platform/Library/Protocol/GlobalNvsArea/GlobalNvsArea.h +++ b/Board/EM/Platform/Library/Protocol/GlobalNvsArea/GlobalNvsArea.h @@ -522,6 +522,7 @@ typedef struct { UINT8 SPST; // (688) SATA port state, Bit0 - Port0, Bit1 - Port1, Bit2 - Port2, Bit3 - Port3 UINT8 ECLP; // (689) EC Low Power Mode: 1 - Enabled, 0 - Disabled UINT8 INSC; // (690) Intel RMT Configuration + UINT8 ComIrqShareMode; } EFI_GLOBAL_NVS_AREA; #pragma pack () -- cgit v1.2.3