aboutsummaryrefslogtreecommitdiff
path: root/src/segmentation.rs
diff options
context:
space:
mode:
authorGravatar Philipp Oppermann <dev@phil-opp.com> 2016-05-24 16:59:43 +0200
committerGravatar Philipp Oppermann <dev@phil-opp.com> 2016-05-24 16:59:43 +0200
commita2cc4e66539f8dd47e3a5b0245a0927728603462 (patch)
tree8a33793a767f0f67d6a23ea513f5e220f174c816 /src/segmentation.rs
parent77a4064e9bd21e8b711aa41c69437c061edce42c (diff)
downloadrust-x86-a2cc4e66539f8dd47e3a5b0245a0927728603462.tar.gz
rust-x86-a2cc4e66539f8dd47e3a5b0245a0927728603462.tar.zst
rust-x86-a2cc4e66539f8dd47e3a5b0245a0927728603462.zip
Small doc comment fix
Diffstat (limited to 'src/segmentation.rs')
-rw-r--r--src/segmentation.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/segmentation.rs b/src/segmentation.rs
index 0a7ee15..cfda3bd 100644
--- a/src/segmentation.rs
+++ b/src/segmentation.rs
@@ -178,7 +178,7 @@ pub unsafe fn load_ds(sel: SegmentSelector) {
asm!("movw $0, %ds " :: "r" (sel) : "memory");
}
-/// Reload fs segment register.
+/// Reload es segment register.
pub unsafe fn load_es(sel: SegmentSelector) {
asm!("movw $0, %es " :: "r" (sel) : "memory");
}