Public bug reported:
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);
** Affects: fwts (Ubuntu)
Importance: Low
Assignee: Colin King (colin-king)
Status: Fix Committed
** Changed in: fwts (Ubuntu)
Status: New => In Progress
** Changed in: fwts (Ubuntu)
Importance: Undecided => Low
** Changed in: fwts (Ubuntu)
Assignee: (unassigned) => Colin King (colin-king)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/880472
Title:
fwts: CMOS reading should have interrupts disabled during a read op
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fwts/+bug/880472/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs