From 50615d1f8e95d7fbcbfc6aaaece36545c585fddf Mon Sep 17 00:00:00 2001 From: vanjeff Date: Tue, 26 Jun 2007 08:30:09 +0000 Subject: [PATCH] Remove prefix EFI_ from some TPL macros reference in some comments git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2750 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/Library/UefiLib.h | 2 +- MdePkg/Include/Protocol/FirmwareVolume2.h | 24 +++++++++---------- .../Include/Protocol/GuidedSectionExtaction.h | 4 ++-- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/MdePkg/Include/Library/UefiLib.h b/MdePkg/Include/Library/UefiLib.h index ef231f1774..7b247e063c 100644 --- a/MdePkg/Include/Library/UefiLib.h +++ b/MdePkg/Include/Library/UefiLib.h @@ -187,7 +187,7 @@ EfiInitializeLock ( **/ #define EFI_INITIALIZE_LOCK_VARIABLE(Priority) \ - {Priority, EFI_TPL_APPLICATION, EfiLockReleased } + {Priority, TPL_APPLICATION, EfiLockReleased } /** diff --git a/MdePkg/Include/Protocol/FirmwareVolume2.h b/MdePkg/Include/Protocol/FirmwareVolume2.h index f154f730e5..836676f505 100644 --- a/MdePkg/Include/Protocol/FirmwareVolume2.h +++ b/MdePkg/Include/Protocol/FirmwareVolume2.h @@ -94,8 +94,8 @@ typedef UINT64 EFI_FV_ATTRIBUTES; architecture. These constraints and the current state of the firmware volume are exposed to the caller using the GetVolumeAttributes() function. GetVolumeAttributes() is - callable only from EFI_TPL_NOTIFY and below. Behavior of - GetVolumeAttributes() at any EFI_TPL above EFI_TPL_NOTIFY is + callable only from TPL_NOTIFY and below. Behavior of + GetVolumeAttributes() at any EFI_TPL above TPL_NOTIFY is undefined. Type EFI_TPL is defined in RaiseTPL() in the UEFI 2.0 specification. @@ -132,9 +132,9 @@ EFI_STATUS does not affect the ability to read or write the firmware volume. Rather, once the EFI_FV_LOCK_STATUS bit is set, it prevents further modification to all the attribute bits. - SetVolumeAttributes() is callable only from EFI_TPL_NOTIFY and + SetVolumeAttributes() is callable only from TPL_NOTIFY and below. Behavior of SetVolumeAttributes() at any EFI_TPL above - EFI_TPL_NOTIFY is undefined. Type EFI_TPL is defined in + TPL_NOTIFY is undefined. Type EFI_TPL is defined in RaiseTPL() in the UEFI 2.0 specification. @@ -251,8 +251,8 @@ EFI_STATUS boot services pool memory, which will be returned in Buffer. The size of the new buffer is returned in BufferSize and all other output parameters are returned with valid values. - ReadFile() is callable only from EFI_TPL_NOTIFY and below. - Behavior of ReadFile() at any EFI_TPL above EFI_TPL_NOTIFY is + ReadFile() is callable only from TPL_NOTIFY and below. + Behavior of ReadFile() at any EFI_TPL above TPL_NOTIFY is undefined. Type EFI_TPL is defined in RaiseTPL() in the UEFI 2.0 specification. @@ -343,8 +343,8 @@ EFI_STATUS pool memory, which will be returned in *Buffer. The size of the new buffer is returned in *BufferSize and all other output parameters are returned with valid values. ReadSection() is - callable only from EFI_TPL_NOTIFY and below. Behavior of - ReadSection() at any EFI_TPL above EFI_TPL_NOTIFY is + callable only from TPL_NOTIFY and below. Behavior of + ReadSection() at any EFI_TPL above TPL_NOTIFY is undefined. Type EFI_TPL is defined in RaiseTPL() in the UEFI 2.0 specification. @@ -462,8 +462,8 @@ typedef struct { Deleting a file as part of a multiple file write is not allowed. Platform Initialization Specification VOLUME 3 Shared Architectural Elements 84 August 21, 2006 Version 1.0 - WriteFile() is callable only from EFI_TPL_NOTIFY and below. - Behavior of WriteFile() at any EFI_TPL above EFI_TPL_NOTIFY is + WriteFile() is callable only from TPL_NOTIFY and below. + Behavior of WriteFile() at any EFI_TPL above TPL_NOTIFY is undefined. Type EFI_TPL is defined in RaiseTPL() in the UEFI 2.0 specification. @@ -536,8 +536,8 @@ EFI_STATUS GetNextFile() must maintain the value of *Key returned by the immediately previous call. The actual contents of *Key are implementation specific and no semantic content is implied. - GetNextFile() is callable only from EFI_TPL_NOTIFY and below. - Behavior of GetNextFile() at any EFI_TPL above EFI_TPL_NOTIFY is + GetNextFile() is callable only from TPL_NOTIFY and below. + Behavior of GetNextFile() at any EFI_TPL above TPL_NOTIFY is undefined. Type EFI_TPL is defined in RaiseTPL() in the UEFI 2.0 specification. Status Codes Returned diff --git a/MdePkg/Include/Protocol/GuidedSectionExtaction.h b/MdePkg/Include/Protocol/GuidedSectionExtaction.h index 595bebc5cf..4068dbab79 100644 --- a/MdePkg/Include/Protocol/GuidedSectionExtaction.h +++ b/MdePkg/Include/Protocol/GuidedSectionExtaction.h @@ -59,8 +59,8 @@ typedef struct _EFI_GUIDED_SECTION_EXTRACTION_PROTOCOL EFI_GUIDED_SECTION_EXTRAC OutputBuffer. In this case, the EFI_AUTH_STATUS_PLATFORM_OVERRIDE bit AuthenticationStatus must be set on return. ExtractSection() is callable only from - EFI_TPL_NOTIFY and below. Behavior of ExtractSection() at any - EFI_TPL above EFI_TPL_NOTIFY is undefined. Type EFI_TPL is + TPL_NOTIFY and below. Behavior of ExtractSection() at any + EFI_TPL above TPL_NOTIFY is undefined. Type EFI_TPL is defined in RaiseTPL() in the UEFI 2.0 specification. -- 2.39.2