diff options
author | Thomas Graichen <graichen@cvs.openbsd.org> | 1997-07-07 08:24:20 +0000 |
---|---|---|
committer | Thomas Graichen <graichen@cvs.openbsd.org> | 1997-07-07 08:24:20 +0000 |
commit | 26f5e8a4584a8381d70f47d275f592a2e7f0c736 (patch) | |
tree | 4a1cb792e94862fdcae79c322e223042d678200e /sys/arch/pmax | |
parent | 374f482785ae83bd6ed5c3dd02ef39ad410d0f4c (diff) |
set a useful value for HZ here - so that we no longer have to set it
in the kernel config file
Diffstat (limited to 'sys/arch/pmax')
-rw-r--r-- | sys/arch/pmax/pmax/clock.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/arch/pmax/pmax/clock.c b/sys/arch/pmax/pmax/clock.c index 783e688b65d..146afa70d89 100644 --- a/sys/arch/pmax/pmax/clock.c +++ b/sys/arch/pmax/pmax/clock.c @@ -84,6 +84,11 @@ volatile struct chiptime *Mach_clock_addr; #define RATE_1024_HZ 0x6 /* 976.562 us */ #define RATE_2048_HZ 0x5 /* 488.281 usecs/interrupt */ +/* why should this be defined in the config file ? TTTTT */ +#ifndef HZ +#define HZ 256 +#endif + #undef SELECTED_RATE #if (HZ == 64) # define SELECTED_RATE RATE_64_HZ /* 4.4bsd default on pmax */ |