mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 06:52:45 +00:00 
			
		
		
		
	Kernel: Move Prekernel assembly utils to aarch64/ASM_wrapper.h
By moving these functions to the ASM_wrapper.h file, we can get rid of another Prekernel file.
This commit is contained in:
		
							parent
							
								
									e80d8d697c
								
							
						
					
					
						commit
						e7c5fd978b
					
				
					 8 changed files with 44 additions and 77 deletions
				
			
		|  | @ -8,7 +8,6 @@ | |||
| 
 | ||||
| #include <Kernel/Arch/Processor.h> | ||||
| #include <Kernel/Arch/aarch64/ASM_wrapper.h> | ||||
| #include <Kernel/Arch/aarch64/Prekernel/Aarch64_asm_utils.h> | ||||
| #include <Kernel/Arch/aarch64/Prekernel/Prekernel.h> | ||||
| 
 | ||||
| extern "C" uintptr_t vector_table_el1; | ||||
|  | @ -28,7 +27,7 @@ void Processor::initialize(u32 cpu) | |||
|     Prekernel::drop_to_exception_level_1(); | ||||
| 
 | ||||
|     // Load EL1 vector table
 | ||||
|     el1_vector_table_install(&vector_table_el1); | ||||
|     Kernel::Aarch64::Asm::el1_vector_table_install(&vector_table_el1); | ||||
| 
 | ||||
|     g_current_processor = this; | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Timon Kruiper
						Timon Kruiper