2008-08-05 Robert Millan <rmh@aybabtu.com>
* conf/i386-pc.rmk (kernel_img_SOURCES): Add `kern/i386/pit.c'. * conf/i386-efi.rmk (kernel_mod_SOURCES): Likewise. * conf/i386-coreboot.rmk (kernel_elf_SOURCES): Likewise. Also add `kern/i386/tsc.c', `kern/generic/rtc_get_time_ms.c' and `kern/generic/millisleep.c'. * kern/i386/tsc.c (calibrate_tsc): Rewrite using grub_pit_wait() instead of grub_get_rtc(). (grub_tsc_init): Initialize `tsc_boot_time'. * kern/i386/linuxbios/init.c (grub_millisleep): Remove stub. (grub_machine_init): Use grub_tsc_init() rather than installing an RTC-based handler via grub_install_get_time_ms(). * kern/i386/pit.c: New file. * include/grub/i386/pit.h: Likewise.
This commit is contained in:
parent
9e7007b310
commit
24371d2620
9 changed files with 90 additions and 42 deletions
2
DISTLIST
2
DISTLIST
|
@ -159,6 +159,7 @@ include/grub/i386/pc/vbefill.h
|
|||
include/grub/i386/pc/vbe.h
|
||||
include/grub/i386/pc/vbeutil.h
|
||||
include/grub/i386/pc/vga.h
|
||||
include/grub/i386/pit.h
|
||||
include/grub/i386/setjmp.h
|
||||
include/grub/i386/time.h
|
||||
include/grub/i386/types.h
|
||||
|
@ -240,6 +241,7 @@ kern/i386/loader.S
|
|||
kern/i386/pc/init.c
|
||||
kern/i386/pc/lzo1x.S
|
||||
kern/i386/pc/startup.S
|
||||
kern/i386/pit.c
|
||||
kern/i386/realmode.S
|
||||
kern/ieee1275/cmain.c
|
||||
kern/ieee1275/ieee1275.c
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue