move the kernel to 0x80000000
This commit is contained in:
		
							parent
							
								
									5c292b3d71
								
							
						
					
					
						commit
						15997d5849
					
				
					 3 changed files with 4 additions and 3 deletions
				
			
		|  | @ -43,7 +43,7 @@ bootmain(void) | |||
| 
 | ||||
|   // Call the entry point from the ELF header.
 | ||||
|   // Does not return!
 | ||||
|   entry = (void(*)(void))(elf->entry & 0xFFFFFF); | ||||
|   entry = (void(*)(void))(elf->entry - KERNBASE); | ||||
|   entry(); | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Robert Morris
						Robert Morris