Skip to content

Commit

Permalink
Merge pull request #503 from mrjbom/mrjbom-gdt-patch-1
Browse files Browse the repository at this point in the history
Minor clarification DescriptorTablePointer::limit comment
  • Loading branch information
Freax13 authored Nov 16, 2024
2 parents dc222cb + f9c352b commit e016a4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structures/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pub mod tss;
#[derive(Debug, Clone, Copy)]
#[repr(C, packed(2))]
pub struct DescriptorTablePointer {
/// Size of the DT.
/// Size of the DT in bytes - 1.
pub limit: u16,
/// Pointer to the memory region containing the DT.
pub base: VirtAddr,
Expand Down

0 comments on commit e016a4c

Please sign in to comment.