Add necessary macro definitions in PalCallLib.h of MdePkg.
authorxli24 <xli24@de2fecce-e211-0410-80a6-f3fac2684e05>
Fri, 13 Jul 2007 05:43:54 +0000 (05:43 +0000)
committerxli24 <xli24@de2fecce-e211-0410-80a6-f3fac2684e05>
Fri, 13 Jul 2007 05:43:54 +0000 (05:43 +0000)
git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@3229 de2fecce-e211-0410-80a6-f3fac2684e05

edk2/MdePkg/Include/Library/PalCallLib.h

index 770425f..e3b8277 100644 (file)
@@ -16,6 +16,8 @@
 #ifndef __PAL_CALL_LIB_H__\r
 #define __PAL_CALL_LIB_H__\r
 \r
+#define PAL_SUCCESS             0x0\r
+\r
 //\r
 // CacheType of PAL_CACHE_FLUSH.\r
 //\r
 //\r
 // Bitmask of Opearation of PAL_CACHE_FLUSH.\r
 // \r
-#define PAL_CACHE_FLUSH_INVIDED_LINES     BIT0\r
-#define PAL_CACHE_FLUSH_PROBE_INTERRUPT   BIT1\r
+#define PAL_CACHE_FLUSH_INVALIDATE_LINES     BIT0\r
+#define PAL_CACHE_FLUSH_NO_INVALIDATE_LINES  0\r
+#define PAL_CACHE_FLUSH_POLL_INTERRUPT       BIT1\r
+#define PAL_CACHE_FLUSH_NO_INTERRUPT       0\r
 \r
 /**\r
   \r
@@ -184,6 +188,13 @@ typedef struct {
 // \r
 #define PAL_CACHE_INIT_ALL  0xffffffffffffffffULL\r
 \r
+//\r
+// CacheType \r
+//\r
+#define PAL_CACHE_INIT_TYPE_INSTRUCTION                 0x1\r
+#define PAL_CACHE_INIT_TYPE_DATA                        0x2\r
+#define PAL_CACHE_INIT_TYPE_INSTRUCTION_AND_DATA        0x3\r
+\r
 //\r
 // Restrict of PAL_CACHE_INIT.\r
 // \r
@@ -1316,6 +1327,9 @@ typedef struct {
 **/\r
 #define PAL_PERF_MON_INFO 15\r
 \r
+#define PAL_PLATFORM_ADDR_INTERRUPT_BLOCK_TOKEN                       0x0\r
+#define PAL_PLATFORM_ADDR_IO_BLOCK_TOKEN                              0x1\r
+\r
 /**\r
   \r
   PAL Procedure - PAL_PLATFORM_ADDR.\r