boot/loader - test if CPU supports long mode
authorAlex Hornung <ahornung@gmail.com>
Wed, 29 Feb 2012 15:46:48 +0000 (15:46 +0000)
committerAlex Hornung <ahornung@gmail.com>
Wed, 29 Feb 2012 15:49:39 +0000 (15:49 +0000)
commit71920ddbfafa6ebd2812dc32ea61f7d69c05175b
treeb33e75e5beee2a9effb0c2965fde9c7fc1135a8f
parent4e9a92c0176822e50374cb535d79e86e99bdfa60
boot/loader - test if CPU supports long mode

 * Test if the CPU supports long mode (64 bits) before trying to load an
   x86_64 kernel.

Obtained-from: FreeBSD
Dragonfly-bug: http://bugs.dragonflybsd.org/issue1624
sys/boot/pc32/libi386/bootinfo64.c