summaryrefslogtreecommitdiffstats
path: root/src/include/usr/autoboot.h
diff options
context:
space:
mode:
authorMichael Brown2008-07-17 16:45:40 +0200
committerMichael Brown2008-07-17 16:45:40 +0200
commit4e033c774b3731488cc7750f2d4d89c12661a254 (patch)
tree6bb41e3a7b7370c948314e7d0a2a4dd7b72a7968 /src/include/usr/autoboot.h
parent[int13] Pairwise swap drive numbers, instead of shifting all drive numbers (diff)
downloadipxe-4e033c774b3731488cc7750f2d4d89c12661a254.tar.gz
ipxe-4e033c774b3731488cc7750f2d4d89c12661a254.tar.xz
ipxe-4e033c774b3731488cc7750f2d4d89c12661a254.zip
[phantom] Guard against partially-written status descriptors
Conjecture: The hardware issues 64-bit DMA writes of status descriptors, which some PCI bridges seem to split into two 32-bit writes in reverse order (i.e. dword 1 first). This means that we sometimes observe a partial status descriptor. Add an explicit check to ensure that the descriptor is complete before processing it. Also ensure that the RDS consumer counter is incremented only when we know that we have actually consumed an RX descriptor.
Diffstat (limited to 'src/include/usr/autoboot.h')
0 files changed, 0 insertions, 0 deletions