Skip to content

Commit 49f1777

Browse files
committed
Don't set nonmem in load_tss
Signed-off-by: Joe Richey <joerichey@google.com>
1 parent 2c9a807 commit 49f1777

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/instructions/tables.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,6 @@ pub fn sidt() -> DescriptorTablePointer {
7878
#[inline]
7979
pub unsafe fn load_tss(sel: SegmentSelector) {
8080
unsafe {
81-
asm!("ltr {0:x}", in(reg) sel.0, options(nomem, nostack, preserves_flags));
81+
asm!("ltr {0:x}", in(reg) sel.0, options(nostack, preserves_flags));
8282
}
8383
}

0 commit comments

Comments
 (0)