summaryrefslogtreecommitdiffstats
path: root/lib/libdisk/open_disk.c
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2004-08-02 18:54:01 +0000
committerwpaul <wpaul@FreeBSD.org>2004-08-02 18:54:01 +0000
commit91a993c68f638077968a3a2db08611f5d8bfec95 (patch)
tree134a32c649b3b493e0cfdc8d46aeffd31d4d634c /lib/libdisk/open_disk.c
parent52662ee16c68677e2803ecec8a8f7d1133d34926 (diff)
downloadFreeBSD-src-91a993c68f638077968a3a2db08611f5d8bfec95.zip
FreeBSD-src-91a993c68f638077968a3a2db08611f5d8bfec95.tar.gz
Today, RealTek sent me a driver to test which had been compiled with
some debug support turned on. It turns out the sections in this driver binary had relative virtual addresses (RVAs) that were different from the raw addresses, and it had a .data section where the virtual size was much larger than the raw size. (Most production binaries produced with the Microsoft DDK have RVA == PA.) There's code in the ndiscvt(8) utility that's supposed to handle the vsize != rsize case, but it turns out it was slightly broken, and it failed to handle the RVA != RA case at all. Hopefully, this commit will fix all that.
Diffstat (limited to 'lib/libdisk/open_disk.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud