Yeah, sure.

On Mon, Apr 11, 2016 at 1:23 PM, Ravi Pokala <[email protected]> wrote:
> Hi sephe,
>
>
>
> -----Original Message-----
> From: <[email protected]> on behalf of Sepherosa Ziehau 
> <[email protected]>
> Date: 2016-04-10, Sunday at 20:28
> To: <[email protected]>, <[email protected]>, 
> <[email protected]>
> 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
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to