<commit_before>
/// A pointer to a descriptor table (IDT or GDT)
#[repr(C, packed)]
pub struct Pointer { pub limit: u16
                   , pub base: usize
                   }

/// A descriptor table (IDT or GDT)
pub trait DTable {
    unsafe fn load(&self);
}
<commit_msg>[x86_all] improve DTable docs a bit<commit_after>//
//  SOS: the Stupid Operating System
//  by <NAME> (<EMAIL>)
//
//  Copyright (c) 2015 <NAME>
//  Released under the terms of the MIT license. See `LICENSE` in the root
//  directory of this repository for more information.
//
//! x86 descriptor tables (IDT, GDT, or LDT)

use memory::PAddr;

/// A pointer to a descriptor table.
/// This is a format suitable
#[repr(C, packed)]
pub struct Pointer { /// the length of the descriptor table
                     pub limit: u16
                   , /// pointer to the region in memory
                     /// containing the descriptor table.
                     pub base: PAddr
                   }

/// A descriptor table (IDT or GDT)
pub trait DTable {
    unsafe fn load(&self);
}

{'fraction_non_alphanumeric': 0.10849056603773585, 'fraction_numerical': 0.011320754716981131, 'mean_word_length': 1.9554317548746518, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7635138', 'n_tokens_mistral': 318, 'n_tokens_neox': 300, 'n_words': 130}