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
This commit is contained in:
xli24 2007-07-13 05:43:54 +00:00
parent dad203ecac
commit 6ef9509940
1 changed files with 16 additions and 2 deletions

View File

@ -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.