diff options
author | 1996-01-13 03:45:01 +0000 | |
---|---|---|
committer | 1996-01-13 03:45:01 +0000 | |
commit | ced8be4147ee89746ba99d59fa44facdfee7f85e (patch) | |
tree | c09b3cbe7c9dcd9713407968fe4e43e01ce86bef /lib | |
parent | have mapdev() panic if size == 0 to be safe (catches config errors) (diff) | |
download | wireguard-openbsd-ced8be4147ee89746ba99d59fa44facdfee7f85e.tar.xz wireguard-openbsd-ced8be4147ee89746ba99d59fa44facdfee7f85e.zip |
- call mapiodev() with sizeof(struct xdc/xyc) rather than ra_len (which is
zero since xdcmatch/xycmatch no longer sets it). [if you call
mapiodev() with a zero size it will reuse the KVA it returns, swiping
the device out from under you!]
- make xdc/xyc->iopbase point in the kernels DVMA space rather than at the
normal malloc'd KVA. this isn't compatable with sun4m [doesn't
have a kernel DVMA space] and will need to be changed later (XXX).
- move disk_attach() to before reading the disk label as per Jason.
otherwise we are reading into an unallocated buffer (oops!)
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions