John Baldwin 3858a1f4f5 - Add 32-bit compat system calls for VFS_AIO. The system calls live in the
aio code and are registered via the recently added SYSCALL32_*() helpers.
- Since the aio code likes to invoke fuword and suword a lot down in the
  "bowels" of system calls, add a structure holding a set of operations for
  things like storing errors, copying in the aiocb structure, storing
  status, etc.  The 32-bit system calls use a separate operations vector to
  handle fuword32 vs fuword, etc.  Also, the oldsigevent handling is now
  done by having seperate operation vectors with different aiocb copyin
  routines.
- Split out kern_foo() functions for the various AIO system calls so the
  32-bit front ends can manage things like copying in and converting
  timespec structures, etc.
- For both the native and 32-bit aio_suspend() and lio_listio() calls,
  just use copyin() to read the array of aiocb pointers instead of using
  a for loop that iterated over fuword/fuword32.  The error handling in
  the old case was incomplete (lio_listio() just ignored any aiocb's that
  it got an EFAULT trying to read rather than reporting an error), and
  possibly slower.

MFC after:	1 month
2008-12-10 20:56:19 +00:00
..
2004-08-30 03:35:17 +00:00
2008-05-19 01:53:47 +00:00
2008-04-07 11:26:13 +00:00
2006-07-27 19:12:49 +00:00
2005-02-25 06:59:56 +00:00
2004-08-16 15:24:03 +00:00
2004-09-04 03:32:15 +00:00
2005-10-18 06:11:08 +00:00
2004-10-13 05:41:09 +00:00
2006-02-26 17:51:22 +00:00
2008-08-23 20:59:12 +00:00
2005-10-05 05:26:03 +00:00
2006-11-11 15:02:04 +00:00
2004-12-29 08:44:30 +00:00
2006-09-22 22:11:29 +00:00
2006-03-12 19:06:06 +00:00
2008-05-22 21:53:15 +00:00
2008-05-27 01:54:45 +00:00
2008-04-12 14:20:22 +00:00
2008-11-06 10:53:35 +00:00
2006-12-13 02:37:48 +00:00
2007-03-11 15:20:04 +00:00
2005-09-20 06:48:55 +00:00
2005-05-10 12:02:18 +00:00
2006-06-18 05:04:42 +00:00
2005-03-14 16:04:27 +00:00
2008-05-05 20:19:33 +00:00
2008-08-07 20:51:51 +00:00
2008-11-05 15:04:03 +00:00
2006-07-25 00:45:55 +00:00
2005-02-09 08:35:24 +00:00
2007-06-29 05:23:15 +00:00
2005-08-10 04:01:21 +00:00