Skip to content

Commit c79b9d3

Browse files
authored
Merge pull request #358 from rust-osdev/nomem
Don't set nomem in load_tss
2 parents 2c9a807 + 49f1777 commit c79b9d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/instructions/tables.rs

+1-1
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)