1) Add package description file (dec) for PcAtChipsetPkg

2) Add Pcd8259LegacyModeMask for platform developer configure default mask value in legacy mode.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8749 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
klu2 2009-07-06 02:58:12 +00:00
parent 8ba0729797
commit 0547cf4b30
3 changed files with 9 additions and 3 deletions

View File

@ -38,7 +38,7 @@ UINT8 mMasterBase = 0xff;
UINT8 mSlaveBase = 0xff;
EFI_8259_MODE mMode = Efi8259ProtectedMode;
UINT16 mProtectedModeMask = 0xffff;
UINT16 mLegacyModeMask = 0xffff;
UINT16 mLegacyModeMask = FixedPcdGet16(Pcd8259LegacyModeMask);
UINT16 mProtectedModeEdgeLevel = 0x0000;
UINT16 mLegacyModeEdgeLevel = 0x0000;

View File

@ -24,6 +24,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#include <Library/DebugLib.h>
#include <Library/IoLib.h>
#include <Library/BaseLib.h>
#include <Library/PcdLib.h>
#include <IndustryStandard/Pci22.h>
//

View File

@ -27,13 +27,15 @@
MdePkg/MdePkg.dec
IntelFrameworkPkg/IntelFrameworkPkg.dec
IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec
PcAtChipsetPkg/PcAtChipsetPkg.dec
[LibraryClasses]
UefiBootServicesTableLib
DebugLib
UefiDriverEntryPoint
IoLib
PcdLib
[Sources.common]
8259.c
8259.h
@ -42,6 +44,9 @@
gEfiLegacy8259ProtocolGuid # PROTOCOL ALWAYS_PRODUCED
gEfiPciIoProtocolGuid
[Pcd]
gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeMask|0xFFFF
[Depex]
TRUE