diff options
Diffstat (limited to 'OvmfPkg/Csm/CsmSupportLib/LegacyInterrupt.h')
-rw-r--r-- | OvmfPkg/Csm/CsmSupportLib/LegacyInterrupt.h | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/OvmfPkg/Csm/CsmSupportLib/LegacyInterrupt.h b/OvmfPkg/Csm/CsmSupportLib/LegacyInterrupt.h index 1e37a41a57..132365b9cc 100644 --- a/OvmfPkg/Csm/CsmSupportLib/LegacyInterrupt.h +++ b/OvmfPkg/Csm/CsmSupportLib/LegacyInterrupt.h @@ -20,23 +20,22 @@ #include <Library/UefiBootServicesTableLib.h>
#include <OvmfPlatforms.h>
-
-#define LEGACY_INT_BUS 0
+#define LEGACY_INT_BUS 0
#define LEGACY_INT_DEV_PIIX4 0x01
#define LEGACY_INT_DEV_Q35 0x1f
-#define LEGACY_INT_FUNC 0
+#define LEGACY_INT_FUNC 0
-#define PIRQN 0x00 // PIRQ Null
-#define PIRQA 0x60
-#define PIRQB 0x61
-#define PIRQC 0x62
-#define PIRQD 0x63
-#define PIRQE 0x68
-#define PIRQF 0x69
-#define PIRQG 0x6A
-#define PIRQH 0x6B
+#define PIRQN 0x00 // PIRQ Null
+#define PIRQA 0x60
+#define PIRQB 0x61
+#define PIRQC 0x62
+#define PIRQD 0x63
+#define PIRQE 0x68
+#define PIRQF 0x69
+#define PIRQG 0x6A
+#define PIRQH 0x6B
-#define MAX_PIRQ_NUMBER 8
+#define MAX_PIRQ_NUMBER 8
/**
Return the number of PIRQs supported by this chipset.
@@ -114,4 +113,3 @@ WritePirq ( );
#endif
-
|