mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 13:32:45 +00:00 
			
		
		
		
	Everywhere: Replace AK::Singleton => Singleton
This commit is contained in:
		
							parent
							
								
									eb60cb156d
								
							
						
					
					
						commit
						c94c15d45c
					
				
					 35 changed files with 40 additions and 40 deletions
				
			
		|  | @ -42,9 +42,9 @@ __attribute__((section(".super_pages"))) static u8 super_pages[1 * MiB]; | |||
| 
 | ||||
| namespace Kernel::Memory { | ||||
| 
 | ||||
| // NOTE: We can NOT use AK::Singleton for this class, because
 | ||||
| // NOTE: We can NOT use Singleton for this class, because
 | ||||
| // MemoryManager::initialize is called *before* global constructors are
 | ||||
| // run. If we do, then AK::Singleton would get re-initialized, causing
 | ||||
| // run. If we do, then Singleton would get re-initialized, causing
 | ||||
| // the memory manager to be initialized twice!
 | ||||
| static MemoryManager* s_the; | ||||
| RecursiveSpinLock s_mm_lock; | ||||
|  |  | |||
|  | @ -17,7 +17,7 @@ extern u8 end_of_kernel_image[]; | |||
| 
 | ||||
| namespace Kernel::Memory { | ||||
| 
 | ||||
| static AK::Singleton<HashMap<FlatPtr, PageDirectory*>> s_cr3_map; | ||||
| static Singleton<HashMap<FlatPtr, PageDirectory*>> s_cr3_map; | ||||
| 
 | ||||
| static HashMap<FlatPtr, PageDirectory*>& cr3_map() | ||||
| { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling