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.
data_segment
stack_segment
1 parent 34fae92 commit 298215fCopy full SHA for 298215f
src/structures/idt.rs
@@ -959,7 +959,7 @@ impl InterruptStackFrameValue {
959
pub unsafe fn iretq(&self) -> ! {
960
unsafe {
961
core::arch::asm!(
962
- "push {data_segment}",
+ "push {stack_segment}",
963
"push {new_stack_pointer}",
964
"push {rflags}",
965
"push {code_segment}",
@@ -969,7 +969,7 @@ impl InterruptStackFrameValue {
969
new_instruction_pointer = in(reg) self.instruction_pointer.as_u64(),
970
new_stack_pointer = in(reg) self.stack_pointer.as_u64(),
971
code_segment = in(reg) self.code_segment,
972
- data_segment = in(reg) self.stack_segment,
+ stack_segment = in(reg) self.stack_segment,
973
options(noreturn)
974
)
975
}
0 commit comments