summaryrefslogtreecommitdiff
path: root/PcAtChipsetPkg/8259InterruptControllerDxe
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2009-07-06 07:40:18 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2009-07-06 07:40:18 +0000
commite356f99943603fe9ede19ab4715fa8eed16c0339 (patch)
tree51ead410907ab8d6b5e6556e782c6e96802f5481 /PcAtChipsetPkg/8259InterruptControllerDxe
parent6c2e50d403a5d2c972fcb736ebfecfae94d5a9b2 (diff)
downloadedk2-platforms-e356f99943603fe9ede19ab4715fa8eed16c0339.tar.xz
Add Pcd8259LegacyModeEdgeLevel into PcAtChipsetPkg.dec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8760 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'PcAtChipsetPkg/8259InterruptControllerDxe')
-rw-r--r--PcAtChipsetPkg/8259InterruptControllerDxe/8259.c2
-rw-r--r--PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf1
2 files changed, 2 insertions, 1 deletions
diff --git a/PcAtChipsetPkg/8259InterruptControllerDxe/8259.c b/PcAtChipsetPkg/8259InterruptControllerDxe/8259.c
index 9316c7ff0f..22d03c8e38 100644
--- a/PcAtChipsetPkg/8259InterruptControllerDxe/8259.c
+++ b/PcAtChipsetPkg/8259InterruptControllerDxe/8259.c
@@ -40,7 +40,7 @@ EFI_8259_MODE mMode = Efi8259ProtectedMode;
UINT16 mProtectedModeMask = 0xffff;
UINT16 mLegacyModeMask = FixedPcdGet16(Pcd8259LegacyModeMask);
UINT16 mProtectedModeEdgeLevel = 0x0000;
-UINT16 mLegacyModeEdgeLevel = 0x0000;
+UINT16 mLegacyModeEdgeLevel = FixedPcdGet16(Pcd8259LegacyModeEdgeLevel);
//
// Worker Functions
diff --git a/PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf b/PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
index 04379270dc..dd9b3fe081 100644
--- a/PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
+++ b/PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
@@ -46,6 +46,7 @@
[Pcd]
gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeMask|0xFFFF
+ gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0000
[Depex]
TRUE