libmsr  0.3.0
A friendlier interface to accessing MSRs on Intel platforms
 All Classes Files Functions Variables Enumerations Enumerator Macros Pages
Public Attributes | List of all members
msr_batch_op Struct Reference

Structure holding information for a single read/write operation to an MSR. More...

#include <msr_core.h>

Public Attributes

__u16 cpu
 CPU where rdmsr/wrmsr will be executed.
 
__u16 isrdmsr
 Identify if operation is rdmsr (non-zero) or wrmsr (0).
 
__s32 err
 Stores error code.
 
__u32 msr
 Address of MSR to perform operation.
 
__u64 msrdata
 Stores input to or result from operation.
 
__u64 wmask
 Write mask applied to wrmsr.
 

Detailed Description

Structure holding information for a single read/write operation to an MSR.

Member Data Documentation

__u16 msr_batch_op::cpu

CPU where rdmsr/wrmsr will be executed.

__s32 msr_batch_op::err

Stores error code.

__u16 msr_batch_op::isrdmsr

Identify if operation is rdmsr (non-zero) or wrmsr (0).

__u32 msr_batch_op::msr

Address of MSR to perform operation.

__u64 msr_batch_op::msrdata

Stores input to or result from operation.

__u64 msr_batch_op::wmask

Write mask applied to wrmsr.


The documentation for this struct was generated from the following file: