We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81cb282 commit 8873806Copy full SHA for 8873806
src/main.rs
@@ -37,7 +37,7 @@ global_asm!(include_str!("video_mode/vga_320x200.s"));
37
global_asm!(include_str!("video_mode/vga_text_80x25.s"));
38
39
unsafe fn context_switch(boot_info: VirtAddr, entry_point: VirtAddr, stack_pointer: VirtAddr) -> ! {
40
- asm!("jmp $1; .spin: jmp spin" :: "{rsp}"(stack_pointer), "r"(entry_point), "{rdi}"(boot_info) :: "intel");
+ asm!("jmp $1; context_switch_spin: jmp context_switch_spin" :: "{rsp}"(stack_pointer), "r"(entry_point), "{rdi}"(boot_info) :: "intel");
41
::core::hint::unreachable_unchecked()
42
}
43
0 commit comments