diff options
author | mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-06-04 22:49:59 +0000 |
---|---|---|
committer | mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-06-04 22:49:59 +0000 |
commit | 9226e4ee0a204848ae83daf3026ebfadb80bbfa2 (patch) | |
tree | 4482cfcecdb509577c2edf7c921291cad0fd4f8a /IntelFrameworkPkg/Include/Protocol/LegacyBiosPlatform.h | |
parent | 68167fed0e4ecb5393a3f036d14c438f65c85f80 (diff) | |
download | edk2-platforms-9226e4ee0a204848ae83daf3026ebfadb80bbfa2.tar.xz |
Clean up CSM related include files to match specification
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8469 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkPkg/Include/Protocol/LegacyBiosPlatform.h')
-rw-r--r-- | IntelFrameworkPkg/Include/Protocol/LegacyBiosPlatform.h | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/IntelFrameworkPkg/Include/Protocol/LegacyBiosPlatform.h b/IntelFrameworkPkg/Include/Protocol/LegacyBiosPlatform.h index 872d910839..0b4535454a 100644 --- a/IntelFrameworkPkg/Include/Protocol/LegacyBiosPlatform.h +++ b/IntelFrameworkPkg/Include/Protocol/LegacyBiosPlatform.h @@ -59,6 +59,62 @@ typedef enum { EfiPlatformHookAfterRomInit = 2
} EFI_GET_PLATFORM_HOOK_MODE;
+
+//
+//
+//
+
+#define PCI_UNUSED 0x00
+#define PCI_USED 0xFF
+#define LEGACY_USED 0xFE
+
+#pragma pack(1)
+
+//
+//
+//
+typedef struct {
+ UINT8 Irq;
+ UINT8 Used;
+} EFI_LEGACY_IRQ_PRIORITY_TABLE_ENTRY;
+
+//
+// Define PIR table structures
+//
+#define EFI_LEGACY_PIRQ_TABLE_SIGNATURE SIGNATURE_32 ('$', 'P', 'I', 'R')
+
+typedef struct {
+ UINT32 Signature;
+ UINT8 MinorVersion;
+ UINT8 MajorVersion;
+ UINT16 TableSize;
+ UINT8 Bus;
+ UINT8 DevFun;
+ UINT16 PciOnlyIrq;
+ UINT16 CompatibleVid;
+ UINT16 CompatibleDid;
+ UINT32 Miniport;
+ UINT8 Reserved[11];
+ UINT8 Checksum;
+} EFI_LEGACY_PIRQ_TABLE_HEADER;
+
+
+typedef struct {
+ UINT8 Pirq;
+ UINT16 IrqMask;
+} EFI_LEGACY_PIRQ_ENTRY;
+
+typedef struct {
+ UINT8 Bus;
+ UINT8 Device;
+ EFI_LEGACY_PIRQ_ENTRY PirqEntry[4];
+ UINT8 Slot;
+ UINT8 Reserved;
+} EFI_LEGACY_IRQ_ROUTING_ENTRY;
+
+#pragma pack()
+
+
/**
Finds the binary data or other platform information.
|