Skip to content

Commit

Permalink
Remove Page Audit Report Generator Print (#96)
Browse files Browse the repository at this point in the history
## Description

The PTE GCD type may be None, so attempts to log it will cause a runtime
exception.

## Breaking change?

No

## How This Was Tested

Running the script

## Integration Instructions

N/A
  • Loading branch information
TaylorBeebe authored and kenlautner committed May 14, 2023
1 parent d8107b4 commit aec1d23
Showing 1 changed file with 0 additions and 1 deletion.
Expand Up @@ -138,7 +138,6 @@ def Parse(self):

if pte.GcdType is None:
pte.GcdType = mr.GcdType
logging.info("pte.GcdType: %d"% (pte.GcdType))
else:
logging.error("Multiple memory types found for one region " + pte.pteDebugStr() +" " + mr.MemoryRangeToString())
self.ErrorMsg.append("Multiple memory types found for one region. Base: 0x%X. GCD Memory Type: %d and %d"% (pte.PhysicalStart, pte.GcdType,mr.GcdType))
Expand Down

0 comments on commit aec1d23

Please sign in to comment.