hyperv/vmbus: Move MSR EOM to hyperv_reg.h

MFC after:	1 week
Sponsored by:	Microsoft OSTC
Differential Revision:	https://reviews.freebsd.org/D6567
This commit is contained in:
sephe 2016-05-27 06:47:04 +00:00
parent cc4a2417e2
commit a6e6e29d4b
2 changed files with 4 additions and 2 deletions

View File

@ -118,7 +118,7 @@ vmbus_msg_task(void *xsc, int pending __unused)
* This will cause message queue rescan to possibly
* deliver another msg from the hypervisor
*/
wrmsr(HV_X64_MSR_EOM, 0);
wrmsr(MSR_HV_EOM, 0);
}
}
}
@ -170,7 +170,7 @@ hv_vmbus_isr(struct vmbus_softc *sc, struct trapframe *frame, int cpu)
* This will cause message queue rescan to possibly
* deliver another msg from the hypervisor
*/
wrmsr(HV_X64_MSR_EOM, 0);
wrmsr(MSR_HV_EOM, 0);
}
}

View File

@ -70,6 +70,8 @@
#define MSR_HV_SIMP_RSVD_MASK 0x0ffeULL
#define MSR_HV_SIMP_PGSHIFT 12
#define MSR_HV_EOM 0x40000084
#define MSR_HV_SINT0 0x40000090
#define MSR_HV_SINT_VECTOR_MASK 0x00ffULL
#define MSR_HV_SINT_RSVD1_MASK 0xff00ULL