fwts: CMOS reading should have interrupts disabled during a read op
Bug #880472 reported by
Colin Ian King
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
fwts (Ubuntu) |
Fix Released
|
Low
|
Colin Ian King |
Bug Description
To stop any potential race conditions between writing to port 0x70 and reading from port 0x71 we should disable interrupts to be safe. We can do this by:
iopl(3);
asm("cli");
write to port 0x70
read data from port 0x71
asm("sti");
iopl(0);
To post a comment you must log in.
Fix committed, commit cf35b18c8d91ff9 a24b076f6d7bd3f 20ddec5310, will appear in fwts V0.24.11