瀏覽代碼

style(arch): add pub to suppress unused warnings

greatbridf 8 月之前
父節點
當前提交
7ca12b658a
共有 1 個文件被更改,包括 1 次插入1 次删除
  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",