NetBSD/sys/arch/arm/iomd
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
..
console Fix GCC 3.3.1 nits 2003-09-21 15:12:16 +00:00
Makefile Remove KDIR=, since SYS_INCLUDE=symlinks and KDIR are not supported any more. 2002-11-26 23:30:07 +00:00
beep.c DMA, not dma nor Dma. 2003-05-03 18:10:37 +00:00
beepvar.h Add beepvar.h, to hold a prototype for beep_generate(). 2002-02-18 12:34:11 +00:00
files.iomd New generic I2C framework. Supports bit-bang and "intelligent" I2C 2003-10-06 16:11:19 +00:00
iicvar.h
iomd.c __KERNEL_RCSID() 2003-07-15 00:24:37 +00:00
iomd_clock.c New generic I2C framework. Supports bit-bang and "intelligent" I2C 2003-10-06 16:11:19 +00:00
iomd_dma.c __KERNEL_RCSID() 2003-07-15 00:24:37 +00:00
iomd_dma.h Add prototypes for dma_reset(), dma_setup(), dma_isactive(), dma_isintr() and 2002-02-18 11:41:18 +00:00
iomd_fiq.S
iomd_io.c __KERNEL_RCSID() 2003-07-15 00:24:37 +00:00
iomd_io_asm.S
iomd_irq.S Enable/Restore alignment fault state on interrupt handler entry/exit. 2003-11-05 21:10:59 +00:00
iomd_irqhandler.c __KERNEL_RCSID() 2003-07-15 00:24:37 +00:00
iomdiic.c Fix for PR # 23264 thanks to Mike Pumford; it is only attatching clock once 2003-11-01 23:37:54 +00:00
iomdiicvar.h New generic I2C framework. Supports bit-bang and "intelligent" I2C 2003-10-06 16:11:19 +00:00
iomdreg.h
iomdvar.h Complete renaming of opms to opms (was partly named pms, externally and 2002-04-19 01:04:38 +00:00
kbd.c __KERNEL_RCSID() 2003-07-15 00:24:37 +00:00
kbd_iomd.c __KERNEL_RCSID() 2003-07-15 00:24:37 +00:00
kbdvar.h Add prototype for getkey_polled(). 2002-02-18 19:05:35 +00:00
lmc1982.S
lmc1982.h
lmcaudio.c __KERNEL_RCSID() 2003-07-15 00:24:37 +00:00
makemodes.awk
opms.c use __KERNEL_RCSID(0, instead of RCSID( in the kernel 2003-07-14 15:17:13 +00:00
opms_iomd.c __KERNEL_RCSID() 2003-07-15 00:24:37 +00:00
opmsvar.h Complete renaming of opms to opms (was partly named pms, externally and 2002-04-19 01:04:38 +00:00
qms.c __KERNEL_RCSID() 2003-07-15 00:24:37 +00:00
qms_iomd.c __KERNEL_RCSID() 2003-07-15 00:24:37 +00:00
qmsvar.h Add a prototype for qms_console_freeze(). 2002-02-18 18:43:55 +00:00
rpckbd.c __KERNEL_RCSID() 2003-07-15 00:24:37 +00:00
rpckbd_iomd.c __KERNEL_RCSID() 2003-07-15 00:24:37 +00:00
rpckbdvar.h
sysbeep_vidc.c Add trailing ; to CFATTACH_DECL 2002-10-02 15:45:10 +00:00
vidc.h copy over some stuff from the shark version of this file. 2002-10-05 17:04:44 +00:00
vidc20.c __KERNEL_RCSID() 2003-07-15 00:24:37 +00:00
vidc20config.c Fix GCC 3.3.1 nits 2003-09-21 15:12:16 +00:00
vidc20config.c.old-stuff
vidc20config.h Kill off vidcvideo_textpalette() again, but better. 2002-06-17 21:00:13 +00:00
vidcaudio.c fix NULL vs. 0 usage 2003-10-26 11:45:46 +00:00
vidcaudiovar.h Add a vidcaudiovar.h to contain a prototype for vidcaudio_beep_generate(). 2002-02-18 12:52:09 +00:00
vidcvideo.c eliminate uvm_useracc() in favor of checking the return value of 2003-11-13 03:09:28 +00:00
vidcvideo.h Big rototil of the vidcvideo code to cleanup illogical structures and to 2002-03-23 21:27:41 +00:00
waveform.h
wskbdmap_mfii.h
wsqms.c Rather than explicitly masking and sign-extending 16-bit integers, use 2002-06-20 19:33:20 +00:00
wsqms_iomd.c Add trailing ; to CFATTACH_DECL 2002-10-02 15:45:10 +00:00
wsqmsvar.h Rather than explicitly masking and sign-extending 16-bit integers, use 2002-06-20 19:33:36 +00:00