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.
<optimized out>
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The text was updated successfully, but these errors were encountered:
rustc --help | less
-g Equivalent to -C debuginfo=2 -O Equivalent to -C opt-level=2
dev
[profile.dev] opt-level = 0 debug = true
// os/src/trap/context.rs pub fn app_init_context(entry: usize, sp: usize) -> Self { let mut sstatus_reg = sstatus::read(); // CSR sstatus sstatus_reg.set_spp(SPP::User); //previous privilege mode: user mode let mut cx = Self { x: [0; 32], sstatus: sstatus_reg, sepc: entry, // entry point of app }; cx.set_sp(sp); // app's user stack pointer cx // return initial Trap Context of app }
Sorry, something went wrong.
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
rust-lang/rust#46698
rust-lang/rust#53036
rust-lang/rust#70542
The text was updated successfully, but these errors were encountered: