Make the code to check if VMX is enabled more readable by using macros
authorneel <neel@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 11 Apr 2013 04:29:45 +0000 (04:29 +0000)
committerneel <neel@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 11 Apr 2013 04:29:45 +0000 (04:29 +0000)
commit9b6f42a194d7cd4d059d9abfcec9abb78241b380
treeebbe41b7272496899c4f61f8db5999bce8f76424
parent51a358d78cc1222e40bd12bedb3295b7f4a27947
Make the code to check if VMX is enabled more readable by using macros
instead of magic numbers.

Discussed with: Chris Torek

git-svn-id: svn://svn.freebsd.org/base/head@249351 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/amd64/vmm/intel/vmx.c
sys/x86/include/specialreg.h