NetBSD/sys/arch/macppc
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
..
compile Rework how KERNOBJDIR functions; now it's always determined with 2003-01-06 17:40:18 +00:00
conf add major for 'ses' for archs which have the other scsi devices 2003-10-24 08:09:53 +00:00
dev eliminate uvm_useracc() in favor of checking the return value of 2003-11-13 03:09:28 +00:00
include Implement mach_thread_get_state. 2003-11-11 17:31:59 +00:00
macppc avoid stong words in comments 2003-11-01 17:35:42 +00:00
pci Relax things so that OFW implementations that don't conform to the OFW PCI 2003-08-20 14:41:56 +00:00
stand Use ${HOST_SH} instead of `sh'. 2003-10-26 07:25:33 +00:00
Makefile Rework how KERNOBJDIR functions; now it's always determined with 2003-01-06 17:40:18 +00:00