mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 06:32:44 +00:00 
			
		
		
		
	Kernel: Put some debug spam behind PAGE_FAULT_DEBUG
This commit is contained in:
		
							parent
							
								
									5859e16e53
								
							
						
					
					
						commit
						cde0a1eeb5
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -327,7 +327,9 @@ PageFaultResponse MemoryManager::handle_page_fault(const PageFault& fault) | |||
|         auto& current_pde = current_page_directory[page_directory_index]; | ||||
| 
 | ||||
|         if (kernel_pde.is_present() && !current_pde.is_present()) { | ||||
| #ifdef PAGE_FAULT_DEBUG | ||||
|             dbg() << "NP(kernel): Copying new kernel mapping for " << fault.vaddr() << " into current page directory"; | ||||
| #endif | ||||
|             current_pde.copy_from({}, kernel_pde); | ||||
|             flush_tlb(fault.vaddr().page_base()); | ||||
|             return PageFaultResponse::Continue; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling