summaryrefslogtreecommitdiffstats
path: root/lib/libkvm/kvm_getfiles.3
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2000-01-05 16:31:27 +0000
committerpeter <peter@FreeBSD.org>2000-01-05 16:31:27 +0000
commit159a4659df9c257aebb474b1fb62d045fbac18c7 (patch)
tree2a4a86de87e019f74b69ced850fd4fe1772de36c /lib/libkvm/kvm_getfiles.3
parent3a2a6cb025fbd82b8afee5ad1326a8e00ad4bb41 (diff)
downloadFreeBSD-src-159a4659df9c257aebb474b1fb62d045fbac18c7.zip
FreeBSD-src-159a4659df9c257aebb474b1fb62d045fbac18c7.tar.gz
Patch up some of the evilness left over from the early newbus porting.
In particular: - Don't leave resources allocated in the probe routine. Allocate them during probe and release them. Probe's job is to identify devices only. - Don't abuse the ivars pointer.. (!). Create real ivars and use the proper access system. (the bus_read_ivar method) - Don't add the children until attach() has successfully grabbed the hardware, otherwise there are potential leaks if attach fails.
Diffstat (limited to 'lib/libkvm/kvm_getfiles.3')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud