Yeah, sure.

On Mon, Apr 11, 2016 at 1:23 PM, Ravi Pokala <rpok...@mac.com> wrote:
> Hi sephe,
>
>
>
> -----Original Message-----
> From: <owner-src-committ...@freebsd.org> on behalf of Sepherosa Ziehau 
> <se...@freebsd.org>
> Date: 2016-04-10, Sunday at 20:28
> To: <src-committ...@freebsd.org>, <svn-src-...@freebsd.org>, 
> <svn-src-head@freebsd.org>
> Subject: svn commit: r297802 - head/sys/dev/hyperv/vmbus
>
>>Author: sephe
>>Date: Mon Apr 11 03:28:17 2016
>>New Revision: 297802
>>URL: https://svnweb.freebsd.org/changeset/base/297802
>>
>>Log:
>>  hyperv: Identify Hyper-V features and recommends properly
>>
>>  Features bits will be used to detect devices, e.g. timers, which
>>  do not have corresponding event channels.
>>
>>  ...
>>
>>+      op = HV_CPU_ID_FUNCTION_HV_INTERFACE;
>>+      do_cpuid(op, regs);
>>+      if (regs[0] != 0x31237648 /* HV#1 */)
>>+              return (false);
>
> Could you make that a #defined constant, rather than a magic integer?
>
> Thanks,
>
> Ravi (rpokala@)
>



-- 
Tomorrow Will Never Die
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to