mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 16:22:43 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			242 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			242 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /*
 | |
|  * _start()
 | |
|  *
 | |
|  * This is where we land immediately after leaving the bootloader.
 | |
|  *
 | |
|  * ATM it's really shaky so don't put code before it ^_^
 | |
|  */
 | |
| 
 | |
| extern void init();
 | |
| 
 | |
| extern "C" void _start()
 | |
| {
 | |
|     init();
 | |
|     asm volatile("cli; hlt");
 | |
| }
 | 
