diff options
author | xli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-07-13 05:43:54 +0000 |
---|---|---|
committer | xli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-07-13 05:43:54 +0000 |
commit | 6ef9509940c57cb5124907fcc00332cf84ae4601 (patch) | |
tree | eb2de37fd9ef0fff0f279197336949347d20fae4 /MdePkg | |
parent | dad203ecac6a6d39496ec5077404b9e9a12fe115 (diff) | |
download | edk2-6ef9509940c57cb5124907fcc00332cf84ae4601.zip edk2-6ef9509940c57cb5124907fcc00332cf84ae4601.tar.gz edk2-6ef9509940c57cb5124907fcc00332cf84ae4601.tar.bz2 |
Add necessary macro definitions in PalCallLib.h of MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3229 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg')
-rw-r--r-- | MdePkg/Include/Library/PalCallLib.h | 18 |
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.
|