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) -> ! {
146
146
. unwrap ( )
147
147
} ) ;
148
148
149
- // Initialize the CPU specific features.
150
- init_cpu ( ) ;
151
-
152
149
// We initialize the COM ports before doing anything else.
153
150
//
154
151
// This will help printing panics and logs before or when the debug renderer
155
152
// is initialized and if serial output is avaliable.
156
153
drivers:: uart_16550:: init ( ) ;
157
154
logger:: init ( ) ;
158
155
156
+ // Initialize the CPU specific features.
157
+ init_cpu ( ) ;
158
+
159
159
// Parse the kernel command line.
160
160
let command_line: & ' static _ = boot_info. command_line ( ) . map_or ( "" , |cmd| unsafe {
161
161
let cmdline = PhysAddr :: new ( cmd. command_line ) . as_hhdm_virt ( ) ;
You can’t perform that action at this time.
0 commit comments