X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FInclude%2FLibrary%2FPalCallLib.h;h=e3b827703833966462cc09389db170400074e7e2;hb=98a1fa1f349476533c626020a7196f08c1ef2dba;hp=aefaebf55b4657ac42136aa4c5fb78d20885a2ff;hpb=f9107634270c34f087459702c6b3a09a249052eb;p=mirror_edk2.git diff --git a/MdePkg/Include/Library/PalCallLib.h b/MdePkg/Include/Library/PalCallLib.h index aefaebf55b..e3b8277038 100644 --- a/MdePkg/Include/Library/PalCallLib.h +++ b/MdePkg/Include/Library/PalCallLib.h @@ -11,13 +11,13 @@ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. - Module Name: PalCallLib.h - **/ #ifndef __PAL_CALL_LIB_H__ #define __PAL_CALL_LIB_H__ +#define PAL_SUCCESS 0x0 + // // CacheType of PAL_CACHE_FLUSH. // @@ -30,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 /** @@ -186,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. // @@ -1318,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.