summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MdePkg/Include/Library/PalCallLib.h18
1 files changed, 16 insertions, 2 deletions
diff --git a/MdePkg/Include/Library/PalCallLib.h b/MdePkg/Include/Library/PalCallLib.h
index 770425f..e3b8277 100644
--- a/MdePkg/Include/Library/PalCallLib.h
+++ b/MdePkg/Include/Library/PalCallLib.h
@@ -16,6 +16,8 @@
#ifndef __PAL_CALL_LIB_H__
#define __PAL_CALL_LIB_H__
+#define PAL_SUCCESS 0x0
+
//
// CacheType of PAL_CACHE_FLUSH.
//
@@ -28,8 +30,10 @@
//
// Bitmask of Opearation of PAL_CACHE_FLUSH.
//
-#define PAL_CACHE_FLUSH_INVIDED_LINES BIT0
-#define PAL_CACHE_FLUSH_PROBE_INTERRUPT BIT1
+#define PAL_CACHE_FLUSH_INVALIDATE_LINES BIT0
+#define PAL_CACHE_FLUSH_NO_INVALIDATE_LINES 0
+#define PAL_CACHE_FLUSH_POLL_INTERRUPT BIT1
+#define PAL_CACHE_FLUSH_NO_INTERRUPT 0
/**
@@ -185,6 +189,13 @@ typedef struct {
#define PAL_CACHE_INIT_ALL 0xffffffffffffffffULL
//
+// CacheType
+//
+#define PAL_CACHE_INIT_TYPE_INSTRUCTION 0x1
+#define PAL_CACHE_INIT_TYPE_DATA 0x2
+#define PAL_CACHE_INIT_TYPE_INSTRUCTION_AND_DATA 0x3
+
+//
// Restrict of PAL_CACHE_INIT.
//
#define PAL_CACHE_INIT_NO_RESTRICT 0
@@ -1316,6 +1327,9 @@ typedef struct {
**/
#define PAL_PERF_MON_INFO 15
+#define PAL_PLATFORM_ADDR_INTERRUPT_BLOCK_TOKEN 0x0
+#define PAL_PLATFORM_ADDR_IO_BLOCK_TOKEN 0x1
+
/**
PAL Procedure - PAL_PLATFORM_ADDR.