coreboot-kgpe-d16/payloads/libpayload/drivers
Nico Huber 0c2364c17c libpayload: Fix interrupt-queue cleanup for OHCI
We have to free TDs more carefully if they have been processed by the
controller yet. The current code tries to force the controller to post
them back to the done queue, but that seems wrong. We can't be sure,
when they get written back. This resulted in leaking TDs with an invalid
reference to a freed interrupt queue.

The new approach: Mark the interrupt queue to be destroyed and handle
the freeing later, when the controller posted the last TD to the done
queue.

Change-Id: I79d80a9dc89e1ca79dc125c4bbccbf23664227b3
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: http://review.coreboot.org/1905
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
2012-11-24 08:54:04 +01:00
..
storage libpayload: Export device count in storage interface 2012-11-14 17:39:03 +01:00
usb libpayload: Fix interrupt-queue cleanup for OHCI 2012-11-24 08:54:04 +01:00
video libpayload: Always use virtual pointers in struct sysinfo_t 2012-11-15 18:51:37 +01:00
Makefile.inc libpayload: Add support for the CBMEM in memory console. 2012-11-09 19:01:15 +01:00
cbmem_console.c libpayload: Add support for the CBMEM in memory console. 2012-11-09 19:01:15 +01:00
hid.c make keyboard reset driver generic (not pc keyboard driver dependent) 2010-03-25 18:52:24 +00:00
keyboard.c libpayload: Fix handling of CAPS LOCK key on PS/2 keyboards 2011-11-10 17:51:53 +01:00
nvram.c Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
options.c libpayload: Always use virtual pointers in struct sysinfo_t 2012-11-15 18:51:37 +01:00
pci.c
serial.c Update the way serial info is read from the coreboot tables. 2012-11-07 18:30:40 +01:00
speaker.c Fix libpayload speaker driver 2011-10-27 10:49:41 +02:00