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; UINT8 mSlaveBase = 0xff;
EFI_8259_MODE mMode = Efi8259ProtectedMode; EFI_8259_MODE mMode = Efi8259ProtectedMode;
UINT16 mProtectedModeMask = 0xffff; UINT16 mProtectedModeMask = 0xffff;
UINT16 mLegacyModeMask = 0xffff; UINT16 mLegacyModeMask = FixedPcdGet16(Pcd8259LegacyModeMask);
UINT16 mProtectedModeEdgeLevel = 0x0000; UINT16 mProtectedModeEdgeLevel = 0x0000;
UINT16 mLegacyModeEdgeLevel = 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/DebugLib.h>
#include <Library/IoLib.h> #include <Library/IoLib.h>
#include <Library/BaseLib.h> #include <Library/BaseLib.h>
#include <Library/PcdLib.h>
#include <IndustryStandard/Pci22.h> #include <IndustryStandard/Pci22.h>
// //

View File

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