mirror of
				https://github.com/acidanthera/audk.git
				synced 2025-11-03 21:17:23 +01:00 
			
		
		
		
	UefiCpuPkg/CpuDxe: Reduce debug message
Heap guard feature will frequently update page attributes. The debug message in CpuDxe driver will slow down the boot performance noticeably. Changing the debug level to DEBUG_VERBOSE to reduce the message output for normal debug configuration. Cc: Eric Dong <eric.dong@intel.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Suggested-by: Ayellet Wolman <ayellet.wolman@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.wang@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> Regression-tested-by: Laszlo Ersek <lersek@redhat.com>
This commit is contained in:
		
							parent
							
								
									f1f4eab4e5
								
							
						
					
					
						commit
						105d0c1f9d
					
				@ -442,8 +442,8 @@ ConvertPageEntryAttribute (
 | 
			
		||||
  *PageEntry = NewPageEntry;
 | 
			
		||||
  if (CurrentPageEntry != NewPageEntry) {
 | 
			
		||||
    *IsModified = TRUE;
 | 
			
		||||
    DEBUG ((DEBUG_INFO, "ConvertPageEntryAttribute 0x%lx", CurrentPageEntry));
 | 
			
		||||
    DEBUG ((DEBUG_INFO, "->0x%lx\n", NewPageEntry));
 | 
			
		||||
    DEBUG ((DEBUG_VERBOSE, "ConvertPageEntryAttribute 0x%lx", CurrentPageEntry));
 | 
			
		||||
    DEBUG ((DEBUG_VERBOSE, "->0x%lx\n", NewPageEntry));
 | 
			
		||||
  } else {
 | 
			
		||||
    *IsModified = FALSE;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user