I'm converting a hard real-time program from AMX/MSDOS to rt-linux.  The
original program ran the PC's motherboard clock at 1280 Hz to get an
interrupt at 20 x 64 Hz since we had to transmit on a MIL-1553 MUXBUS
messages at that rate.

Obviously the normal Linux quantum of 100 Hz won't do.  A. Rubini's book on
"Linux Device Drivers" indicates that the value of the symbol HZ has to be
changed.  Looking at the /usr/src/linux/include/asm-i386/param.h, I found
where there's a conditional definition of HZ
        #ifndef         HZ
        #define HZ      100
        #endif
and I was wondering if:
        1) is this the place to change the value?
        2) does anything else have to be changed?
        3) what will go wrong if the clock frequency isn't a multiple of 100
HZ?

    Thanks
        Norm

--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/

Reply via email to