NetBSD/sys/arch/sparc/dev
chs e07f0b9362 eliminate uvm_useracc() in favor of checking the return value of
copyin() or copyout().

uvm_useracc() tells us whether the mapping permissions allow access to
the desired part of an address space, and many callers assume that
this is the same as knowing whether an attempt to access that part of
the address space will succeed.  however, access to user space can
fail for reasons other than insufficient permission, most notably that
paging in any non-resident data can fail due to i/o errors.  most of
the callers of uvm_useracc() make the above incorrect assumption.  the
rest are all misguided optimizations, which optimize for the case
where an operation will fail.  we'd rather optimize for operations
succeeding, in which case we should just attempt the access and handle
failures due to insufficient permissions the same way we handle i/o
errors.  since there appear to be no good uses of uvm_useracc(), we'll
just remove it.
2003-11-13 03:09:28 +00:00
..
audioamd.c __KERNEL_RCSID() 2003-07-15 00:04:39 +00:00
audioamdvar.h
bootbus.c change PROM_getprop() from taking a "void **" for the storage, to a 2003-08-27 15:59:49 +00:00
bootbusvar.h Add autoconfiguration support for the Sun4d "bootbus". Add a 2002-08-24 05:26:56 +00:00
bwtwo_obio.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
cgeight.c Undo previous as it broke things. 2003-08-25 17:50:22 +00:00
cgfour.c Undo previous as it broke things. 2003-08-25 17:50:22 +00:00
cgfourteen.c eliminate uvm_useracc() in favor of checking the return value of 2003-11-13 03:09:28 +00:00
cgfourteenreg.h
cgfourteenvar.h Use the structures defined in bsd_openprom.h for "reg", "range", 2002-08-23 02:53:10 +00:00
cgsix_obio.c __KERNEL_RCSID() 2003-07-15 00:04:39 +00:00
cgtwo.c Undo previous as it broke things. 2003-08-25 17:50:22 +00:00
com_ebus.c __KERNEL_RCSID() 2003-07-15 00:04:39 +00:00
com_obio.c uninitialized variables. 2003-10-28 15:25:27 +00:00
cons.h
dma_obio.c __KERNEL_RCSID() 2003-07-15 00:04:39 +00:00
ebus.c change PROM_getprop() from taking a "void **" for the storage, to a 2003-08-27 15:59:49 +00:00
esp_obio.c __KERNEL_RCSID() 2003-07-15 00:04:39 +00:00
fd.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
fdreg.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
fdvar.h Deal with disk change notification. 2003-07-11 12:09:12 +00:00
if_ie_obio.c __KERNEL_RCSID() 2003-07-15 00:04:39 +00:00
if_le_obio.c Remove ancient DDB-dependent `hide/integrate'. 2003-11-11 15:01:05 +00:00
kbd_pckbc.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
kd.c cc_callout does not belong to struct cons_channel, as it's only used 2003-08-27 01:37:38 +00:00
ms_pckbc.c First cut at PS/2 keyboard and mouse drivers that talk Sun firm events. 2002-10-03 16:27:04 +00:00
obio.c __KERNEL_RCSID() 2003-07-15 00:04:39 +00:00
pckbc_js.c __KERNEL_RCSID() 2003-07-15 00:04:39 +00:00
power.c __KERNEL_RCSID() 2003-07-15 00:04:39 +00:00
power.h
rtc.c __KERNEL_RCSID() 2003-07-15 00:04:39 +00:00
sbus.c change PROM_getprop() from taking a "void **" for the storage, to a 2003-08-27 15:59:49 +00:00
sbusreg.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
sbusvar.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
sw.c __KERNEL_RCSID() 2003-07-15 00:04:39 +00:00
swreg.h DMA, not dma nor Dma. 2003-05-03 18:10:37 +00:00
tctrl.c __KERNEL_RCSID() 2003-07-15 00:04:39 +00:00
tctrlvar.h
ts102reg.h "definitions" has lots of 'i's, but that's not reason to leave one out. 2002-09-29 23:23:56 +00:00
vme_machdep.c change PROM_getprop() from taking a "void **" for the storage, to a 2003-08-27 15:59:49 +00:00
vmereg.h
zs.c __KERNEL_RCSID() 2003-07-15 00:04:39 +00:00
zs_kgdb.c change PROM_getprop() from taking a "void **" for the storage, to a 2003-08-27 15:59:49 +00:00