Date: Mon, 11 Apr 2016 14:34:26 +0800 From: Sepherosa Ziehau <sephe@freebsd.org> To: Ravi Pokala <rpokala@mac.com> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r297808 - head/sys/dev/hyperv/vmbus Message-ID: <CAMOc5cx-AfDS0DTJEALrHogT_QR072UO=500hr9=CHNXO56ncQ@mail.gmail.com> In-Reply-To: <B365E3EA-179B-4934-BCF6-1EE20EB6F88A@panasas.com> References: <201604110622.u3B6MRlm024341@repo.freebsd.org> <B365E3EA-179B-4934-BCF6-1EE20EB6F88A@panasas.com>
next in thread | previous in thread | raw e-mail | index | archive | help
You are welcome :) On Mon, Apr 11, 2016 at 2:33 PM, Ravi Pokala <rpokala@mac.com> wrote: > Thank you! > > -Ravi (rpokala@) > > -----Original Message----- > > > From: <owner-src-committers@freebsd.org> on behalf of Sepherosa Ziehau <sephe@FreeBSD.org> > Date: 2016-04-10, Sunday at 23:22 > To: <src-committers@freebsd.org>, <svn-src-all@freebsd.org>, <svn-src-head@freebsd.org> > Subject: svn commit: r297808 - head/sys/dev/hyperv/vmbus > >>Author: sephe >>Date: Mon Apr 11 06:22:26 2016 >>New Revision: 297808 >>URL: https://svnweb.freebsd.org/changeset/base/297808 >> >>Log: >> hyperv: Define macro for Hyper-V interface >> >> Suggested by: rpokala >> MFC after: 1 week >> Sponsored by: Microsoft OSTC >> >>Modified: >> head/sys/dev/hyperv/vmbus/hv_hv.c >> >>Modified: head/sys/dev/hyperv/vmbus/hv_hv.c >>============================================================================== >>--- head/sys/dev/hyperv/vmbus/hv_hv.c Mon Apr 11 06:15:40 2016 (r297807) >>+++ head/sys/dev/hyperv/vmbus/hv_hv.c Mon Apr 11 06:22:26 2016 (r297808) >>@@ -48,6 +48,7 @@ __FBSDID("$FreeBSD$"); >> >> #define HV_NANOSECONDS_PER_SEC 1000000000L >> >>+#define HYPERV_INTERFACE 0x31237648 /* HV#1 */ >> >> static u_int hv_get_timecount(struct timecounter *tc); >> >>@@ -416,7 +417,7 @@ hyperv_identify(void) >> >> op = HV_CPU_ID_FUNCTION_HV_INTERFACE; >> do_cpuid(op, regs); >>- if (regs[0] != 0x31237648 /* HV#1 */) >>+ if (regs[0] != HYPERV_INTERFACE) >> return (false); >> >> op = HV_CPU_ID_FUNCTION_MS_HV_FEATURES; >> > -- Tomorrow Will Never Die
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMOc5cx-AfDS0DTJEALrHogT_QR072UO=500hr9=CHNXO56ncQ>