Struct nc::types::user_desc_t
source · #[repr(C)]pub struct user_desc_t {
pub entry_number: u32,
pub base_addr: u32,
pub limit: u32,
pub seg_32bit: u8,
pub contents: u8,
pub read_exec_only: u8,
pub limit_in_pages: u8,
pub seg_not_present: u8,
pub useable: u8,
}
Expand description
Note on 64bit base and limit is ignored and you cannot set DS/ES/CS not to the default values if you still want to do syscalls. This call is more for 32bit mode therefore.
Fields§
§entry_number: u32
§base_addr: u32
§limit: u32
§seg_32bit: u8
§contents: u8
§read_exec_only: u8
§limit_in_pages: u8
§seg_not_present: u8
§useable: u8
Auto Trait Implementations§
impl Freeze for user_desc_t
impl RefUnwindSafe for user_desc_t
impl Send for user_desc_t
impl Sync for user_desc_t
impl Unpin for user_desc_t
impl UnwindSafe for user_desc_t
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more