Skip to content

Loading…

Use -mno-red-zone #10

Open
phil-opp opened this Issue · 1 comment

2 participants

@phil-opp
Owner

See monocasa's comment on reddit and the OSDev forum.

@phil-opp phil-opp referenced this issue in phil-opp/phil-opp.github.io
Closed

Use -mno-red-zone #9

@emk emk referenced this issue from a commit in emk/toyos-rs
@emk emk 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.