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 75c62c4 commit 81f0743Copy full SHA for 81f0743
source/chapter8/1thread.rst
@@ -235,7 +235,7 @@
235
236
available.ctx.x1 = guard as u64; //ctx.x1 is old return address
237
available.ctx.nx1 = f as u64; //ctx.nx1 is new return address
238
- available.ctx.x2 = s_ptr.offset(32) as u64; //cxt.x2 is sp
+ available.ctx.x2 = s_ptr.offset(-32) as u64; //cxt.x2 is sp
239
240
}
241
available.state = State::Ready;
0 commit comments