mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 11:12:45 +00:00 
			
		
		
		
	Add ability to switch video modes from the system menu.
I had to change PhysicalPage around a bit for this. Physical pages can now be instantiated for any arbitrary physical address without worrying that such pages end up in the kernel page allocator when released. Most of the pieces were already in place, I just glued everything together.
This commit is contained in:
		
							parent
							
								
									8321908abe
								
							
						
					
					
						commit
						0730b3c15f
					
				
					 7 changed files with 91 additions and 26 deletions
				
			
		|  | @ -101,7 +101,7 @@ void* kmalloc_impl(dword size) | |||
|     real_size = size + sizeof(allocation_t); | ||||
| 
 | ||||
|     if (sum_free < real_size) { | ||||
|         kprintf("%s<%u> kmalloc(): PANIC! Out of memory (sucks, dude)\nsum_free=%u, real_size=%x\n", current->name().characters(), current->pid(), sum_free, real_size); | ||||
|         kprintf("%s<%u> kmalloc(): PANIC! Out of memory (sucks, dude)\nsum_free=%u, real_size=%u\n", current->name().characters(), current->pid(), sum_free, real_size); | ||||
|         hang(); | ||||
|     } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling