From 49f17779aef56b263f2b4897ebf5a8c53ca3e5fa Mon Sep 17 00:00:00 2001 From: Joe Richey Date: Sat, 26 Mar 2022 01:51:45 -0700 Subject: [PATCH] Don't set nonmem in load_tss Signed-off-by: Joe Richey --- src/instructions/tables.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/instructions/tables.rs b/src/instructions/tables.rs index 5139df7ac..095f66129 100644 --- a/src/instructions/tables.rs +++ b/src/instructions/tables.rs @@ -78,6 +78,6 @@ pub fn sidt() -> DescriptorTablePointer { #[inline] pub unsafe fn load_tss(sel: SegmentSelector) { unsafe { - asm!("ltr {0:x}", in(reg) sel.0, options(nomem, nostack, preserves_flags)); + asm!("ltr {0:x}", in(reg) sel.0, options(nostack, preserves_flags)); } }