mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 16:22:43 +00:00 
			
		
		
		
	Kernel: Make the kernel compile & link for x86_64
It's now possible to build the whole kernel with an x86_64 toolchain. There's no bootstrap code so it doesn't work yet (obviously.)
This commit is contained in:
		
							parent
							
								
									aae91dda66
								
							
						
					
					
						commit
						adb2e6be5f
					
				
					 15 changed files with 316 additions and 48 deletions
				
			
		|  | @ -699,7 +699,7 @@ NonnullRefPtrVector<PhysicalPage> MemoryManager::allocate_contiguous_supervisor_ | |||
| { | ||||
|     VERIFY(!(size % PAGE_SIZE)); | ||||
|     ScopedSpinLock lock(s_mm_lock); | ||||
|     size_t count = ceil_div(size, PAGE_SIZE); | ||||
|     size_t count = ceil_div(size, static_cast<size_t>(PAGE_SIZE)); | ||||
|     NonnullRefPtrVector<PhysicalPage> physical_pages; | ||||
| 
 | ||||
|     for (auto& region : m_super_physical_regions) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling