aboutsummaryrefslogtreecommitdiff
path: root/src/dtables.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/dtables.rs')
-rw-r--r--src/dtables.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/dtables.rs b/src/dtables.rs
index 1aff96b..d2e3413 100644
--- a/src/dtables.rs
+++ b/src/dtables.rs
@@ -5,10 +5,10 @@
#[derive(Debug)]
#[repr(C, packed)]
pub struct DescriptorTablePointer {
- /// Size of the DT.
- pub limit: u16,
- /// Pointer to the memory region containing the DT.
- pub base: u64
+ /// Size of the DT.
+ pub limit: u16,
+ /// Pointer to the memory region containing the DT.
+ pub base: u64,
}
/// Load GDT table.
@@ -24,4 +24,4 @@ pub unsafe fn lldt(ldt: &DescriptorTablePointer) {
/// Load IDT table.
pub unsafe fn lidt(idt: &DescriptorTablePointer) {
asm!("lidt ($0)" :: "r" (idt) : "memory");
-} \ No newline at end of file
+}