freebsd-dev/sys
Warner Losh ab649fd4d2 Most platforms map the actual drive geometry to the firmware's notion
of geometry.  However, some platforms have a more complicated mapping
of the firmware values to the actual values.  pc98 is the only
platform that currently does this.  This mapping is necessary for
large disks connected to pc98 boxes, as the firmware labels require do
special hacks to the actual geometry for interoperability.  We cannot
do this all in the geom layer because of initialization issues (geom
looks for an already initialized pc98 label, but we need the geometry
information prior to initialization, classic chicken and egg problem).
We pass the disk and the device_t to this function because the
geometry mapping depends on what kind of controller is used.

This hook allows platforms that want to override things to do so, and
has 0 overhead on all other platforms.  These patches have been in use
locally for a long time, and received good feedback from the pc98
community and sos@ at various times during their development.

MFC After: 1 week
2006-08-09 18:23:47 +00:00
..
amd64 Pass VM_PROT_EXECUTE to vm_fault() instead of VM_PROT_READ if the page 2006-08-08 04:01:29 +00:00
arm Rewrite ARM_USE_SMALL_ALLOC so that instead of the current behavior, it maps 2006-08-08 20:59:38 +00:00
boot Commit the results of the typo hunt by Darren Pilgrim. 2006-08-04 07:56:35 +00:00
bsm Merge OpenBSM 1.0 alpha 7 new AUE_ event identifiers to kernel version 2006-07-03 14:45:43 +00:00
cam Drop Giant before returning in error path, thus eliminates 2006-07-14 13:58:32 +00:00
coda Since DELAY() was moved, most <machine/clock.h> #includes have been 2006-05-16 14:37:58 +00:00
compat Lock the vnode around the call to VOP_GETATTR. Move the locked code 2006-08-08 12:29:26 +00:00
conf Rewrite ARM_USE_SMALL_ALLOC so that instead of the current behavior, it maps 2006-08-08 20:59:38 +00:00
contrib Import from OpenBSD 1.168, dhartmei: 2006-07-21 09:48:13 +00:00
crypto Remove trailing spaces. 2006-07-28 14:48:30 +00:00
ddb Fix two nits in the ps header that offset each other making them largely 2006-08-01 22:30:55 +00:00
dev Most platforms map the actual drive geometry to the firmware's notion 2006-08-09 18:23:47 +00:00
fs Introduce a field to struct vm_page for storing flags that are 2006-08-09 17:43:27 +00:00
gdb Convert to new console api 2006-05-26 13:54:27 +00:00
geom Allow geli to operate on read-only providers. 2006-08-09 18:11:14 +00:00
gnu Add snd_emu10kx driver for Creative SoundBlaster Live! and Audigy series 2006-07-15 19:36:28 +00:00
i4b Extend i4b to support CAPI manager based ISDN controllers (CAPI manager is part of 2006-07-09 21:16:06 +00:00
i386 If a beep was enabled, turn it off 3 seconds after resume. 2006-08-08 01:30:54 +00:00
ia64 Complete the transition from pmap_page_protect() to pmap_remove_write(). 2006-08-01 19:06:06 +00:00
isa (apply '(lambda (reformat-region 'style-9-parens)) (read-file isahint.c)) 2006-07-08 16:50:10 +00:00
isofs/cd9660 Remove calls to vfs_export() for exporting a filesystem for NFS mounting 2006-05-26 00:32:21 +00:00
kern Introduce a field to struct vm_page for storing flags that are 2006-08-09 17:43:27 +00:00
libkern First pass at removing Alpha kernel support. 2006-05-11 22:25:28 +00:00
modules Add device to access and modify Open Firmware NVRAM settings in 2006-08-01 22:19:01 +00:00
net Since bpf_allocbufs() uses malloc() with M_WAITOK, don't check return 2006-08-09 16:30:26 +00:00
net80211 add support for 802.11 packet injection via bpf 2006-07-26 03:15:16 +00:00
netatalk Since soisdisconnected() is no longer called in pru_detach(), call it 2006-08-05 14:14:34 +00:00
netatm Change semantics of socket close and detach. Add a new protocol switch 2006-07-21 17:11:15 +00:00
netgraph Fix ng_pppoe(4) after turning off "autosrc feature" on ng_ether(4). 2006-08-09 09:56:58 +00:00
netinet With exception of the if_name() macro, all definitions in net_osdep.h 2006-08-04 21:27:40 +00:00
netinet6 With exception of the if_name() macro, all definitions in net_osdep.h 2006-08-04 21:27:40 +00:00
netipsec Fix build breakage from previous commit which confused key_abort and key_close. 2006-07-22 09:18:02 +00:00
netipx Change semantics of socket close and detach. Add a new protocol switch 2006-07-21 17:11:15 +00:00
netkey With exception of the if_name() macro, all definitions in net_osdep.h 2006-08-04 21:27:40 +00:00
netnatm Change semantics of socket close and detach. Add a new protocol switch 2006-07-21 17:11:15 +00:00
netncp - Fix ncp_poll() to not panic if the socket doesn't have any pending data. 2006-08-03 15:31:52 +00:00
netsmb - Fix ncp_poll() to not panic if the socket doesn't have any pending data. 2006-08-03 15:31:52 +00:00
nfs
nfs4client Always supply curthread as argument to nfs_asyncio and nfs_doio 2006-07-12 09:16:35 +00:00
nfsclient Introduce a field to struct vm_page for storing flags that are 2006-08-09 17:43:27 +00:00
nfsserver - Add a new function nfsrv_destroycache() to tear down the server request 2006-08-01 16:27:14 +00:00
opencrypto When DIAGNOSTIC is defined, verify if we don't free crypto requests from 2006-06-06 15:04:52 +00:00
pc98 Remove sio(4) and related options from MI files to amd64, i386 2006-07-29 18:38:54 +00:00
pccard I don't believe these are used at all, and can be safely removed 2006-01-15 06:49:28 +00:00
pci Commit the results of the typo hunt by Darren Pilgrim. 2006-08-04 07:56:35 +00:00
posix4 Backout the feature which can change thread's scheduling option, I really 2006-07-13 06:41:26 +00:00
powerpc Use proper trap code for the EXC_ALI traps. This fixes SIGBUS during 2006-08-03 22:44:46 +00:00
rpc Fix up some cut-n-paste damage and some out-of-date comments. 2006-01-20 15:20:41 +00:00
security Make mpo_associate_nfsd_label() return void, not int, to match 2006-08-06 16:56:15 +00:00
sparc64 Eliminate the unnecessary acquisition and release of the page queues lock 2006-08-06 19:36:07 +00:00
sys Move definition of UNIX domain socket protosw and domain entries from 2006-08-07 12:02:43 +00:00
tools Check for errors when registering and unregistering firmware modules. This 2006-06-16 21:06:03 +00:00
ufs Rather than print out a nice error message giving details sufficent to fix 2006-07-31 15:44:13 +00:00
vm Introduce a field to struct vm_page for storing flags that are 2006-08-09 17:43:27 +00:00
Makefile o Add geom to a list of cscope dirs. 2006-07-04 14:14:16 +00:00