Do you have a question? Post it now! No Registration Necessary
August 28, 2003, 3:28 am

Here is a problem I want suggestions:
I have some recovery after having detected some hardware failure. This recovery
is absolutely the most important thing I have to do, and dont want any
interruption.
So I want disable the interrupts during the recovery period.
The problem is that the recovery involve setting some internal registers to a
certains device, I can not access directly, instead I have to set a commands
register, activate the command, the read or write is completed until the device
ack'ed. Since I disable all interrupt, I poll the device to see if the device
acq'd. At the same time, I want setup a timer for the polling to prevent the
system hang. How would the timer would work if the interrupts are disabled?
I have some recovery after having detected some hardware failure. This recovery
is absolutely the most important thing I have to do, and dont want any
interruption.
So I want disable the interrupts during the recovery period.
The problem is that the recovery involve setting some internal registers to a
certains device, I can not access directly, instead I have to set a commands
register, activate the command, the read or write is completed until the device
ack'ed. Since I disable all interrupt, I poll the device to see if the device
acq'd. At the same time, I want setup a timer for the polling to prevent the
system hang. How would the timer would work if the interrupts are disabled?
Site Timeline
- » We are debugging a pci board and met some difficulties.
- — Next thread in » Embedded Linux
-
- » Howto install LILO on hard driver.
- — Previous thread in » Embedded Linux
-
- » Crosscompiling for ARM: reloc type R_ARM_ABS32 is not supported for PIC - ...
- — Newest thread in » Embedded Linux
-
- » Driver LED BP5131 - jak to dziaĆa?
- — The site's Newest Thread. Posted in » Electronics (Polish)
-
- » easy way to calibrate audio frequency generator?
- — The site's Last Updated Thread. Posted in » Electronics Repair
-