Revision: 2628
http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2628
Author: robertmh
Date: 2009-10-09 18:23:48 +0000 (Fri, 09 Oct 2009)
Log Message:
-----------
2009-10-09 Robert Millan <[email protected]>
* include/grub/i386/cpuid.h: Add header protection.
Modified Paths:
--------------
trunk/grub2/ChangeLog
trunk/grub2/include/grub/i386/cpuid.h
Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog 2009-10-09 17:57:02 UTC (rev 2627)
+++ trunk/grub2/ChangeLog 2009-10-09 18:23:48 UTC (rev 2628)
@@ -1,5 +1,9 @@
2009-10-09 Robert Millan <[email protected]>
+ * include/grub/i386/cpuid.h: Add header protection.
+
+2009-10-09 Robert Millan <[email protected]>
+
Fail gracefuly when attempting to load 64-bit kFreeBSD on IA32 CPU.
* include/grub/i386/cpuid.h: New file.
Modified: trunk/grub2/include/grub/i386/cpuid.h
===================================================================
--- trunk/grub2/include/grub/i386/cpuid.h 2009-10-09 17:57:02 UTC (rev
2627)
+++ trunk/grub2/include/grub/i386/cpuid.h 2009-10-09 18:23:48 UTC (rev
2628)
@@ -16,4 +16,9 @@
* along with GRUB. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef GRUB_CPU_CPUID_HEADER
+#define GRUB_CPU_CPUID_HEADER 1
+
extern unsigned char grub_cpuid_has_longmode;
+
+#endif