Loading…
See monocasa's comment on reddit and the OSDev forum.
Do not use "redzone" beyond stack pointer
The x86_64 "redzone" is a chunk of stack beyond the current stack pointer which may be used in user mode programs for speed. In kernel mode, it will be clobbered by interrupt stacks. So let's disable this now before we forget. See: phil-opp/blog_os#10 https://www.reddit.com/r/programming/comments/3q6y2l/writing_an_os_in_rust/cwcu8g0 http://forum.osdev.org/viewtopic.php?t=21720
6302d03
http://www.randomhacks.net/2015/11/11/bare-metal-rust-custom-target-kernel-space/ is helpful
See monocasa's comment on reddit and the OSDev forum.