Struct km::shared::KUSER_SHARED_DATA [] [src]

pub struct KUSER_SHARED_DATA {
    pub TickCountLowDeprecated: u32,
    pub TickCountMultiplier: u32,
    pub InterruptTime: KSYSTEM_TIME,
    pub SystemTime: KSYSTEM_TIME,
    pub TimeZoneBias: KSYSTEM_TIME,
    pub ImageNumberLow: u16,
    pub ImageNumberHigh: u16,
    pub NtSystemRoot: [u16; 260],
    pub MaxStackTraceDepth: u32,
    pub CryptoExponent: u32,
    pub TimeZoneId: u32,
    pub LargePageMinimum: u32,
    pub Reserved2: [u32; 7],
    pub NtProductType: NT_PRODUCT_TYPE,
    pub ProductTypeIsValid: bool,
    pub NtMajorVersion: u32,
    pub NtMinorVersion: u32,
    pub ProcessorFeatures: [bool; 64],
    pub Reserved1: u32,
    pub Reserved3: u32,
    pub TimeSlip: u32,
    pub AlternativeArchitecture: ALTERNATIVE_ARCHITECTURE_TYPE,
    pub SystemExpirationDate: u64,
    pub SuiteMask: u32,
    pub KdDebuggerEnabled: bool,
    pub NXSupportPolicy: u8,
    pub ActiveConsoleId: u32,
    pub DismountCount: u32,
    pub ComPlusPackage: u32,
    pub LastSystemRITEventTickCount: u32,
    pub NumberOfPhysicalPages: u32,
    pub SafeBootMode: bool,
    pub TraceLogging: u32,
    pub TestRetInstruction: u64,
    pub SystemCall: u32,
    pub SystemCallReturn: u32,
    pub SystemCallPad: [u64; 3],
    pub TickCount: KSYSTEM_TIME,
    pub Cookie: u32,
}

The data shared between kernel and user mode.

Fields

TickCountLowDeprecated
TickCountMultiplier
InterruptTime

Current 64-bit interrupt time in 100ns units.

SystemTime

Current 64-bit system time in 100ns units.

TimeZoneBias

Current 64-bit time zone bias.

ImageNumberLow
ImageNumberHigh
NtSystemRoot
MaxStackTraceDepth
CryptoExponent
TimeZoneId
LargePageMinimum
Reserved2
NtProductType
ProductTypeIsValid
NtMajorVersion
NtMinorVersion
ProcessorFeatures
Reserved1
Reserved3
TimeSlip
AlternativeArchitecture
SystemExpirationDate
SuiteMask
KdDebuggerEnabled

True if a kernel debugger is connected/enabled.

NXSupportPolicy
ActiveConsoleId
DismountCount
ComPlusPackage
LastSystemRITEventTickCount
NumberOfPhysicalPages
SafeBootMode

True if the system was booted in safe boot mode.

TraceLogging
TestRetInstruction
SystemCall
SystemCallReturn
SystemCallPad
TickCount

The 64-bit tick count.

Cookie

Cookie for encoding pointers system wide.

Methods

impl KUSER_SHARED_DATA

fn get() -> &'static KUSER_SHARED_DATA

Get reference to the mapped shared data.