2008-08-07 Bean <bean123ch@gmail.com>

* conf/x86_64-efi.rmk (kernel_mod_SOURCES): Add kern/time.c,
	kern/i386/tsc.c and kern/i386/pit.c.

	* include/grub/i386/tsc.h (grub_cpu_is_cpuid_supported): Handle
	x86_64 platform.

	* kern/i386/efi/init.c: Replace <grub/cpu/tsc.h> with
	<grub/i386/tsc.h>.

	* kern/i386/pit.c: Replace <grub/cpu/io.h> with <grub/i386/io.h>.
This commit is contained in:
bean 2008-08-07 19:21:25 +00:00
parent 1a6cac8921
commit 5ebc275d6f
6 changed files with 107 additions and 6 deletions

View file

@ -17,7 +17,7 @@
*/
#include <grub/types.h>
#include <grub/cpu/io.h>
#include <grub/i386/io.h>
#include <grub/i386/pit.h>
#define TIMER2_REG_CONTROL 0x42