Re: [L4alpha-cvscommit] CVS: L4Alpha/pal/21164 ruffian_platform.mar,1.2,1.3
Status: Beta
Brought to you by:
dpotts
|
From: Goswin B. <gos...@st...> - 2002-01-03 11:44:55
|
Daniel Potts <dp...@us...> writes:
> ***************
> *** 950,954 ****
> --- 969,983 ----
> ALIGN_FETCH_BLOCK
> interrupt_init:
> + kmsg <"Enabling Ruffian interrupts"<CR><LF>>
>
> + ;; CLOCK_TICH_RATE = 1193180
> + ;; HZ = 1024
> + ;; LATCH = (CLOCK_TICK_RATE + 2/HZ) / HZ = 0x48D
> + .if ne 0
> + OutPortByte ^x43, ^x34, t1, t2 ; binary, mode 2, LSB/MSB, ch 0
> + OutPortByte ^x40, ^x8D, t1, t2 ; LSB - LATCH = 0x48D from linux
> + OutPortByte ^x40, ^x04, t1, t2 ; MSB
> + .endc
> +
> OutPortByte ^x43,^xb6, t1, t2
> OutPortByte ^x42,^x31, t1, t2
> ***************
Isn't HZ = 1200 except for rawhide?
But that should only give 20% error, not 2000%.
MfG
Goswin
|