summaryrefslogtreecommitdiffstats
path: root/share/man/man7
diff options
context:
space:
mode:
authorrahnds <rahnds@openbsd.org>1999-07-05 20:56:26 +0000
committerrahnds <rahnds@openbsd.org>1999-07-05 20:56:26 +0000
commit3f8fc881990c5128a9f34f0cd1e59a975d933f4a (patch)
treef493713d76d14f63521ac03e0f9f08bc9c7c5c78 /share/man/man7
parentmove some code under ifdef DDB, it uses a db_ function during the call. (diff)
downloadwireguard-openbsd-3f8fc881990c5128a9f34f0cd1e59a975d933f4a.tar.xz
wireguard-openbsd-3f8fc881990c5128a9f34f0cd1e59a975d933f4a.zip
Several changes here:
(Some of these changes are work in progress and may change more later) locore.S: rearranged to remove most of the direct openfirmware references in the attempt to move all of the openfirmware pieces into ofw_ files. This could allow other firmware type to be supported easier. Also this keeps the openfirmware code grouped in the same files. OF_buf is now statically allocated in the data/bss section instead of allocated during initialization. machdep.c: change the order of vm initialization, Still considering removing the BATs from use. instead of calls directly to ppc_exit and ppc_boot these are now called via a firmware function pointer structure. Add iMac recognition to systems ofw_machdep.c: function pointer structure to allow different firmware to supply specific system functionality, normally startup and reset, including a hook to notify when bsd is about to go virtual, in case firmware calls need to act different after that time. Allow BSD to handle the virtual memory operations for openfirmware. this idea was copied from NetBSD macppc, It is not fully implemented, among other problems, openfirmware does not have a mechanism to add new mappings. ofwreal.S: Major rewrite of the firmware call code, It still copies a portion of the stack, but now does not restore exeception vectors. Modified to be similar in idea to NetBSD macppc with BSD handling the openfirmware VM faults/TLB misses. This still needs to be reviewed, Should be possible to not require any stack copy. opendev.c: OF_bus is not a pointer to the buffer, but is the buffer itself now. openfirm.c: OF_bus is not a pointer to the buffer, but is the buffer itself now. Dont panic if OF_boot fails, OF_boot can be called by panic. instead print and the hang in a spin loop. pmap.c: call the firmware function to get memory regions. Scale the PowerPC hash table size by size of real memory. Properly align the hash table based on the start, not just the size.
Diffstat (limited to 'share/man/man7')
0 files changed, 0 insertions, 0 deletions