From: xli24 Date: Fri, 13 Jul 2007 05:43:54 +0000 (+0000) Subject: Add necessary macro definitions in PalCallLib.h of MdePkg. X-Git-Tag: edk2-stable201903~22732 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=6ef9509940c57cb5124907fcc00332cf84ae4601 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 --- diff --git a/MdePkg/Include/Library/PalCallLib.h b/MdePkg/Include/Library/PalCallLib.h index 770425f664..e3b8277038 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 /** @@ -184,6 +188,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. // @@ -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.