1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-01 12:19:28 +00:00

Merged from sys/i386/isa/clock.c revision 1.170.

This commit is contained in:
KATO Takenori 2001-02-21 10:22:22 +00:00
parent 3affb09cee
commit d9cb9fe14c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=72792
3 changed files with 3 additions and 18 deletions

View File

@ -153,6 +153,7 @@ u_int timer_freq = TIMER_FREQ;
int timer0_max_count;
u_int tsc_freq;
int tsc_is_broken;
u_int tsc_present;
int wall_cmos_clock; /* wall CMOS clock assumed if != 0 */
struct mtx clock_lock;
@ -194,12 +195,6 @@ static void rtc_serialcom __P((int));
static int rtc_inb __P((void));
static void rtc_outb __P((int));
#endif
#if defined(I386_CPU) || defined(I486_CPU)
u_int tsc_present; /* Not static; other parts of the kernel
* Need to know this */
#else
static u_int tsc_present;
#endif
static unsigned i8254_get_timecount __P((struct timecounter *tc));
static unsigned tsc_get_timecount __P((struct timecounter *tc));

View File

@ -153,6 +153,7 @@ u_int timer_freq = TIMER_FREQ;
int timer0_max_count;
u_int tsc_freq;
int tsc_is_broken;
u_int tsc_present;
int wall_cmos_clock; /* wall CMOS clock assumed if != 0 */
struct mtx clock_lock;
@ -194,12 +195,6 @@ static void rtc_serialcom __P((int));
static int rtc_inb __P((void));
static void rtc_outb __P((int));
#endif
#if defined(I386_CPU) || defined(I486_CPU)
u_int tsc_present; /* Not static; other parts of the kernel
* Need to know this */
#else
static u_int tsc_present;
#endif
static unsigned i8254_get_timecount __P((struct timecounter *tc));
static unsigned tsc_get_timecount __P((struct timecounter *tc));

View File

@ -153,6 +153,7 @@ u_int timer_freq = TIMER_FREQ;
int timer0_max_count;
u_int tsc_freq;
int tsc_is_broken;
u_int tsc_present;
int wall_cmos_clock; /* wall CMOS clock assumed if != 0 */
struct mtx clock_lock;
@ -194,12 +195,6 @@ static void rtc_serialcom __P((int));
static int rtc_inb __P((void));
static void rtc_outb __P((int));
#endif
#if defined(I386_CPU) || defined(I486_CPU)
u_int tsc_present; /* Not static; other parts of the kernel
* Need to know this */
#else
static u_int tsc_present;
#endif
static unsigned i8254_get_timecount __P((struct timecounter *tc));
static unsigned tsc_get_timecount __P((struct timecounter *tc));