summaryrefslogtreecommitdiff
path: root/Board/EM/Platform
diff options
context:
space:
mode:
authorraywu <raywu@aaeon.com.tw>2018-09-17 10:57:55 +0800
committerraywu <raywu@aaeon.com.tw>2018-09-17 10:57:55 +0800
commitf48d7df7467a4c801cdbce5cc6cd748979f8baff (patch)
treedf5be5b093bb07c08981e7bb9946a3080d548146 /Board/EM/Platform
parentcd584fdf118ddbb2068bf2ab8c046377125aa595 (diff)
downloadzprj-f48d7df7467a4c801cdbce5cc6cd748979f8baff.tar.xz
F81216 ISA/PCI IRQ Share Mode Control
Diffstat (limited to 'Board/EM/Platform')
-rw-r--r--Board/EM/Platform/AcpiPlatform.c6
-rw-r--r--Board/EM/Platform/Library/Protocol/GlobalNvsArea/GlobalNvsArea.h1
2 files changed, 6 insertions, 1 deletions
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 ()