MdeModulePkg/DxeCore: Fix coding style issues
Add comments for functions. Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Star Zeng <star.zeng@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com>
This commit is contained in:
@ -657,6 +657,8 @@ UnprotectUefiImage (
|
||||
/**
|
||||
Return the EFI memory permission attribute associated with memory
|
||||
type 'MemoryType' under the configured DXE memory protection policy.
|
||||
|
||||
@param MemoryType Memory type.
|
||||
**/
|
||||
STATIC
|
||||
UINT64
|
||||
@ -788,7 +790,7 @@ MergeMemoryMapForProtectionPolicy (
|
||||
|
||||
/**
|
||||
Remove exec permissions from all regions whose type is identified by
|
||||
PcdDxeNxMemoryProtectionPolicy
|
||||
PcdDxeNxMemoryProtectionPolicy.
|
||||
**/
|
||||
STATIC
|
||||
VOID
|
||||
@ -1053,7 +1055,7 @@ CoreInitializeMemoryProtection (
|
||||
}
|
||||
|
||||
/**
|
||||
Returns whether we are currently executing in SMM mode
|
||||
Returns whether we are currently executing in SMM mode.
|
||||
**/
|
||||
STATIC
|
||||
BOOLEAN
|
||||
|
Reference in New Issue
Block a user