diff options
author | marcel <marcel@FreeBSD.org> | 2003-09-02 20:32:12 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2003-09-02 20:32:12 +0000 |
commit | 2432ffe7fb7e8c66deef64402e25c458e2132707 (patch) | |
tree | 2e06204ca3d740714bdb022c5d067c677892e266 /lib/libpthread/thread/thr_kern.c | |
parent | 3a5e34ed9ea402d643342c93f0c33d054db0ab56 (diff) | |
download | FreeBSD-src-2432ffe7fb7e8c66deef64402e25c458e2132707.zip FreeBSD-src-2432ffe7fb7e8c66deef64402e25c458e2132707.tar.gz |
Add function OF_decode_addr(). This function obtains the physical
address of the device identified by its phandle_t by traversing OFW's
device tree. The space and address returned by this function can
subsequently be passed to sparc64_fake_bustag() to construct a valid
tag and handle for use by the newbus I/O functions.
Use of this function is expected to be limited to pre-newbus access to
devices, such as consoles and keyboards.
Partially obtained from: tmm
Reviewed by: jake, jmg, tmm
SBus testing made possible by: jake
Tested with: LINT
Diffstat (limited to 'lib/libpthread/thread/thr_kern.c')
0 files changed, 0 insertions, 0 deletions