24371d2620
* 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. |
||
---|---|---|
.. | ||
common.mk | ||
common.rmk | ||
i386-coreboot.mk | ||
i386-coreboot.rmk | ||
i386-efi.mk | ||
i386-efi.rmk | ||
i386-ieee1275.mk | ||
i386-ieee1275.rmk | ||
i386-pc-cygwin-img-ld.sc | ||
i386-pc.mk | ||
i386-pc.rmk | ||
powerpc-ieee1275.mk | ||
powerpc-ieee1275.rmk | ||
sparc64-ieee1275.mk | ||
sparc64-ieee1275.rmk | ||
x86_64-efi.mk | ||
x86_64-efi.rmk |