File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/aero_kernel/src/arch/x86_64 Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -146,16 +146,16 @@ extern "C" fn x86_64_aero_main(boot_info: &'static StivaleStruct) -> ! {
146146 . unwrap ( )
147147 } ) ;
148148
149- // Initialize the CPU specific features.
150- init_cpu ( ) ;
151-
152149 // We initialize the COM ports before doing anything else.
153150 //
154151 // This will help printing panics and logs before or when the debug renderer
155152 // is initialized and if serial output is avaliable.
156153 drivers:: uart_16550:: init ( ) ;
157154 logger:: init ( ) ;
158155
156+ // Initialize the CPU specific features.
157+ init_cpu ( ) ;
158+
159159 // Parse the kernel command line.
160160 let command_line: & ' static _ = boot_info. command_line ( ) . map_or ( "" , |cmd| unsafe {
161161 let cmdline = PhysAddr :: new ( cmd. command_line ) . as_hhdm_virt ( ) ;
You can’t perform that action at this time.
0 commit comments