Browse Source

style(arch): add pub to suppress unused warnings

greatbridf 8 months ago
parent
commit
7ca12b658a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/src/x86_64/bootstrap.rs

+ 1 - 1
arch/src/x86_64/bootstrap.rs

@@ -343,7 +343,7 @@ global_asm!(
 );
 
 #[naked]
-unsafe extern "C" fn start_64bit() {
+pub unsafe extern "C" fn start_64bit() {
     naked_asm!(
         "mov $0x10, %ax",
         "mov %ax, %ds",