summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/pci.c
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2009-07-25 12:41:46 +0000
committerkettenis <kettenis@openbsd.org>2009-07-25 12:41:46 +0000
commitbbf7f056b0ae673925a25548d478d8bfcd9d6979 (patch)
treecf0712d24b96c1887661e684c98ddb7c1fa7ad09 /sys/dev/pci/pci.c
parenttypo (diff)
downloadwireguard-openbsd-bbf7f056b0ae673925a25548d478d8bfcd9d6979.tar.xz
wireguard-openbsd-bbf7f056b0ae673925a25548d478d8bfcd9d6979.zip
Make sure that if a PDE isn't there, we skip to the start of the address
range covered by the next PDE and not somewhere in the middle. The old could have skipped over some valid PTE's causing them to stay behind in the pmap. Since we would not flush the cache for those pages either this could also cause memory corruption when dirty cache lines would be written back to memory at a later stage.
Diffstat (limited to 'sys/dev/pci/pci.c')
0 files changed, 0 insertions, 0 deletions