... and hence the respective {read,write}_msr() hook parameter doesn't
need to be "unsigned long".
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
}
static int hvmemul_write_msr_discard(
- unsigned long reg,
+ unsigned int reg,
uint64_t val,
struct x86_emulate_ctxt *ctxt)
{
}
static int hvmemul_read_msr(
- unsigned long reg,
+ unsigned int reg,
uint64_t *val,
struct x86_emulate_ctxt *ctxt)
{
}
static int hvmemul_write_msr(
- unsigned long reg,
+ unsigned int reg,
uint64_t val,
struct x86_emulate_ctxt *ctxt)
{
* @reg: [IN ] Register to read.
*/
int (*read_msr)(
- unsigned long reg,
+ unsigned int reg,
uint64_t *val,
struct x86_emulate_ctxt *ctxt);
* @reg: [IN ] Register to write.
*/
int (*write_msr)(
- unsigned long reg,
+ unsigned int reg,
uint64_t val,
struct x86_emulate_ctxt *ctxt);