modified: kernel/kernel.c
This commit is contained in:
		
							parent
							
								
									774e3796b2
								
							
						
					
					
						commit
						bad4b0e9bd
					
				
							
								
								
									
										
											BIN
										
									
								
								src/indigo_os
									
									
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								src/indigo_os
									
									
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							| @ -7,26 +7,7 @@ | ||||
| #include <panic.h> | ||||
| 
 | ||||
| 
 | ||||
| void test4() { | ||||
|   char bruh[10]; | ||||
|   panic(KERNEL_PANIC_KERNEL_RETURNED, KERNEL_PANIC_INVOKED); | ||||
| } | ||||
| void test3() { | ||||
|   char bruh[5]; | ||||
|   test4(); | ||||
| } | ||||
| void test2() { | ||||
|   int a = 1; | ||||
|   test3(); | ||||
| } | ||||
| void test1() { | ||||
|   printf("fuck\n"); | ||||
|   test2(); | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| void main() { | ||||
|   test1(); | ||||
|   if(!(init_serial(COM1))) { | ||||
|     printf("\nKernal started on CPU 1!\n"); // will detect cpu later
 | ||||
|   } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Brett Weiland
						Brett Weiland