UefiCpuPkg: Error Level is not used correctly
Cc: Feng Tian <feng.tian@intel.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan <jeff.fan@intel.com> Reviewed-by: Feng Tian <feng.tian@intel.com>
This commit is contained in:
@@ -634,10 +634,10 @@ ConvertMemoryPageAttributes (
|
||||
switch(CurrentPagingContext.MachineType) {
|
||||
case IMAGE_FILE_MACHINE_I386:
|
||||
if (CurrentPagingContext.ContextData.Ia32.PageTableBase == 0) {
|
||||
DEBUG ((DEBUG_ERROR, "PageTable is 0!\n"));
|
||||
if (Attributes == 0) {
|
||||
return EFI_SUCCESS;
|
||||
} else {
|
||||
DEBUG ((DEBUG_ERROR, "PageTable is 0!\n"));
|
||||
return EFI_UNSUPPORTED;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user