Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/kqueue]: src/sys catch up with -current on kqueue branch



details:   https://anonhg.NetBSD.org/src/rev/261aba88b4e4
branches:  kqueue
changeset: 512484:261aba88b4e4
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Sun Jun 23 17:43:33 2002 +0000

description:
catch up with -current on kqueue branch

diffstat:

 sys/arch/x86_64/x86_64/genassym.cf                |    24 +-
 sys/arch/x86_64/x86_64/locore.S                   |   127 +-
 sys/arch/x86_64/x86_64/machdep.c                  |    73 +-
 sys/arch/x86_64/x86_64/mainbus.c                  |     3 +-
 sys/arch/x86_64/x86_64/md_root.c                  |     8 +-
 sys/arch/x86_64/x86_64/mem.c                      |    15 +-
 sys/arch/x86_64/x86_64/netbsd32_machdep.c         |    38 +-
 sys/arch/x86_64/x86_64/netbsd32_syscall.c         |    21 +-
 sys/arch/x86_64/x86_64/pmap.c                     |    68 +-
 sys/arch/x86_64/x86_64/process_machdep.c          |    19 +-
 sys/arch/x86_64/x86_64/sys_machdep.c              |    16 +-
 sys/arch/x86_64/x86_64/syscall.c                  |    18 +-
 sys/arch/x86_64/x86_64/trap.c                     |    38 +-
 sys/arch/x86_64/x86_64/vector.S                   |   171 +-
 sys/arch/x86_64/x86_64/vm_machdep.c               |     9 +-
 sys/coda/coda.h                                   |    37 +-
 sys/coda/coda_venus.c                             |    23 +-
 sys/coda/coda_venus.h                             |     6 +-
 sys/coda/coda_vfsops.c                            |    47 +-
 sys/coda/files.coda                               |    12 +
 sys/compat/aout/aout_misc.c                       |    68 +-
 sys/compat/aout/aout_syscall.h                    |     4 +-
 sys/compat/aout/aout_syscallargs.h                |    10 +-
 sys/compat/aout/aout_syscalls.c                   |    12 +-
 sys/compat/aout/aout_sysent.c                     |    12 +-
 sys/compat/aout/syscalls.master                   |     8 +-
 sys/compat/aoutm68k/aoutm68k_misc.c               |    58 +-
 sys/compat/aoutm68k/aoutm68k_stat.c               |    44 +-
 sys/compat/aoutm68k/aoutm68k_syscall.h            |     4 +-
 sys/compat/aoutm68k/aoutm68k_syscallargs.h        |    10 +-
 sys/compat/aoutm68k/aoutm68k_syscalls.c           |    12 +-
 sys/compat/aoutm68k/aoutm68k_sysent.c             |    12 +-
 sys/compat/aoutm68k/syscalls.master               |     8 +-
 sys/compat/common/Makefile                        |    13 +-
 sys/compat/common/compat_util.c                   |    27 +-
 sys/compat/common/compat_util.h                   |     6 +-
 sys/compat/common/kern_exit_43.c                  |     8 +-
 sys/compat/common/kern_ipc_10.c                   |     8 +-
 sys/compat/common/tty_43.c                        |     6 +-
 sys/compat/common/uipc_syscalls_43.c              |    14 +-
 sys/compat/freebsd/freebsd_file.c                 |    68 +-
 sys/compat/freebsd/freebsd_ptrace.c               |     8 +-
 sys/compat/freebsd/freebsd_syscall.h              |     4 +-
 sys/compat/freebsd/freebsd_syscallargs.h          |    10 +-
 sys/compat/freebsd/freebsd_syscalls.c             |    12 +-
 sys/compat/freebsd/freebsd_sysent.c               |    12 +-
 sys/compat/freebsd/syscalls.master                |     8 +-
 sys/compat/hpux/files.hpux                        |     3 +-
 sys/compat/hpux/hpux_compat.c                     |     8 +-
 sys/compat/hpux/hpux_exec.c                       |     8 +-
 sys/compat/hpux/hpux_file.c                       |    50 +-
 sys/compat/hpux/hpux_sig.c                        |    29 +-
 sys/compat/hpux/hpux_signo.c                      |    67 +
 sys/compat/ibcs2/files.ibcs2                      |     3 +-
 sys/compat/ibcs2/ibcs2_fcntl.c                    |    24 +-
 sys/compat/ibcs2/ibcs2_ipc.c                      |    24 +-
 sys/compat/ibcs2/ibcs2_misc.c                     |    84 +-
 sys/compat/ibcs2/ibcs2_signal.c                   |    86 +-
 sys/compat/ibcs2/ibcs2_signal.h                   |     4 +-
 sys/compat/ibcs2/ibcs2_signo.c                    |   108 +
 sys/compat/ibcs2/ibcs2_stat.c                     |    20 +-
 sys/compat/irix/files.irix                        |    25 +-
 sys/compat/irix/irix_exec.c                       |   122 +-
 sys/compat/irix/irix_exec.h                       |    24 +-
 sys/compat/irix/irix_fcntl.c                      |   311 +-
 sys/compat/irix/irix_fcntl.h                      |   108 +
 sys/compat/irix/irix_ioctl.c                      |    61 +-
 sys/compat/irix/irix_ioctl.h                      |     7 +-
 sys/compat/irix/irix_kmem.c                       |   143 +
 sys/compat/irix/irix_kmem.h                       |    60 +
 sys/compat/irix/irix_misc.c                       |    82 +
 sys/compat/irix/irix_mman.c                       |   292 +
 sys/compat/irix/irix_mman.h                       |    59 +
 sys/compat/irix/irix_mount.c                      |     6 +-
 sys/compat/irix/irix_prctl.c                      |   670 +++-
 sys/compat/irix/irix_prctl.h                      |    79 +-
 sys/compat/irix/irix_resource.c                   |   260 +
 sys/compat/irix/irix_resource.h                   |    70 +
 sys/compat/irix/irix_signal.c                     |   552 ++-
 sys/compat/irix/irix_signal.h                     |    34 +-
 sys/compat/irix/irix_stat.c                       |    16 +-
 sys/compat/irix/irix_swap.c                       |   231 +
 sys/compat/irix/irix_swap.h                       |   102 +
 sys/compat/irix/irix_syscall.h                    |    90 +-
 sys/compat/irix/irix_syscallargs.h                |   181 +-
 sys/compat/irix/irix_syscalls.c                   |    56 +-
 sys/compat/irix/irix_sysent.c                     |   142 +-
 sys/compat/irix/irix_sysmp.c                      |   104 +-
 sys/compat/irix/irix_sysmp.h                      |    67 +-
 sys/compat/irix/irix_syssgi.c                     |    82 +-
 sys/compat/irix/irix_syssgi.h                     |    23 +-
 sys/compat/irix/irix_systeminfo.c                 |    22 +-
 sys/compat/irix/irix_types.h                      |     6 +-
 sys/compat/irix/irix_usema.c                      |   685 +++
 sys/compat/irix/irix_usema.h                      |   192 +
 sys/compat/irix/syscalls.master                   |   100 +-
 sys/compat/linux/arch/alpha/files.linux_alpha     |    10 +-
 sys/compat/linux/arch/alpha/linux_machdep.c       |    10 +-
 sys/compat/linux/arch/alpha/linux_sigarray.c      |    14 +-
 sys/compat/linux/arch/alpha/linux_signal.h        |    10 +-
 sys/compat/linux/arch/alpha/linux_syscall.h       |    12 +-
 sys/compat/linux/arch/alpha/linux_syscallargs.h   |    29 +-
 sys/compat/linux/arch/alpha/linux_syscalls.c      |    10 +-
 sys/compat/linux/arch/alpha/linux_sysent.c        |    18 +-
 sys/compat/linux/arch/alpha/syscalls.master       |    14 +-
 sys/compat/linux/arch/arm/files.linux_arm         |     3 +-
 sys/compat/linux/arch/arm/linux_machdep.c         |    10 +-
 sys/compat/linux/arch/arm/linux_sigarray.c        |    14 +-
 sys/compat/linux/arch/arm/linux_signal.h          |     7 +-
 sys/compat/linux/arch/arm/linux_sys_machdep.c     |     6 +-
 sys/compat/linux/arch/arm/linux_syscall.h         |    15 +-
 sys/compat/linux/arch/arm/linux_syscallargs.h     |    36 +-
 sys/compat/linux/arch/arm/linux_syscalls.c        |    12 +-
 sys/compat/linux/arch/arm/linux_sysent.c          |    22 +-
 sys/compat/linux/arch/arm/linux_types.h           |     7 +-
 sys/compat/linux/arch/arm/syscalls.master         |    13 +-
 sys/compat/linux/arch/i386/files.linux_i386       |     3 +-
 sys/compat/linux/arch/i386/linux_machdep.c        |   134 +-
 sys/compat/linux/arch/i386/linux_sigarray.c       |   142 +-
 sys/compat/linux/arch/i386/linux_signal.h         |     7 +-
 sys/compat/linux/arch/i386/linux_syscall.h        |    16 +-
 sys/compat/linux/arch/i386/linux_syscallargs.h    |    37 +-
 sys/compat/linux/arch/i386/linux_syscalls.c       |    13 +-
 sys/compat/linux/arch/i386/linux_sysent.c         |    23 +-
 sys/compat/linux/arch/i386/linux_types.h          |     7 +-
 sys/compat/linux/arch/i386/syscalls.master        |    28 +-
 sys/compat/linux/arch/m68k/files.linux_m68k       |     3 +-
 sys/compat/linux/arch/m68k/linux_machdep.c        |    16 +-
 sys/compat/linux/arch/m68k/linux_sigarray.c       |    14 +-
 sys/compat/linux/arch/m68k/linux_siginfo.h        |    16 +-
 sys/compat/linux/arch/m68k/linux_signal.h         |    11 +-
 sys/compat/linux/arch/m68k/linux_syscall.h        |    14 +-
 sys/compat/linux/arch/m68k/linux_syscallargs.h    |    29 +-
 sys/compat/linux/arch/m68k/linux_syscalls.c       |    18 +-
 sys/compat/linux/arch/m68k/linux_sysent.c         |    26 +-
 sys/compat/linux/arch/m68k/linux_types.h          |     8 +-
 sys/compat/linux/arch/m68k/syscalls.master        |    19 +-
 sys/compat/linux/arch/mips/files.linux_mips       |     3 +-
 sys/compat/linux/arch/mips/linux_machdep.c        |    15 +-
 sys/compat/linux/arch/mips/linux_sigarray.c       |    14 +-
 sys/compat/linux/arch/mips/linux_signal.h         |     4 +-
 sys/compat/linux/arch/mips/linux_syscall.h        |    14 +-
 sys/compat/linux/arch/mips/linux_syscallargs.h    |    35 +-
 sys/compat/linux/arch/mips/linux_syscalls.c       |    10 +-
 sys/compat/linux/arch/mips/linux_sysent.c         |    18 +-
 sys/compat/linux/arch/mips/syscalls.master        |    15 +-
 sys/compat/linux/arch/powerpc/files.linux_powerpc |     4 +-
 sys/compat/linux/arch/powerpc/linux_machdep.c     |    12 +-
 sys/compat/linux/arch/powerpc/linux_sigarray.c    |    14 +-
 sys/compat/linux/arch/powerpc/linux_signal.h      |     6 +-
 sys/compat/linux/arch/powerpc/linux_syscall.h     |    28 +-
 sys/compat/linux/arch/powerpc/linux_syscallargs.h |    55 +-
 sys/compat/linux/arch/powerpc/linux_syscalls.c    |    22 +-
 sys/compat/linux/arch/powerpc/linux_sysent.c      |    40 +-
 sys/compat/linux/arch/powerpc/syscalls.master     |    28 +-
 sys/compat/linux/common/linux_cdrom.c             |    20 +-
 sys/compat/linux/common/linux_dirent.h            |    13 +-
 sys/compat/linux/common/linux_exec.c              |     7 +-
 sys/compat/linux/common/linux_exec.h              |    45 +-
 sys/compat/linux/common/linux_exec_elf32.c        |    24 +-
 sys/compat/linux/common/linux_fcntl.h             |     9 +-
 sys/compat/linux/common/linux_file.c              |    88 +-
 sys/compat/linux/common/linux_file64.c            |   287 +-
 sys/compat/linux/common/linux_hdio.c              |     8 +-
 sys/compat/linux/common/linux_ipc.c               |    29 +-
 sys/compat/linux/common/linux_misc.c              |   172 +-
 sys/compat/linux/common/linux_misc_notalpha.c     |    14 +-
 sys/compat/linux/common/linux_mmap.h              |     3 +-
 sys/compat/linux/common/linux_oldmmap.c           |    19 +-
 sys/compat/linux/common/linux_sched.c             |     6 +-
 sys/compat/linux/common/linux_sig_notalpha.c      |     6 +-
 sys/compat/linux/common/linux_sigaction.c         |     8 +-
 sys/compat/linux/common/linux_siginfo.h           |     4 +-
 sys/compat/linux/common/linux_signal.c            |    74 +-
 sys/compat/linux/common/linux_signal.h            |     8 +-
 sys/compat/linux/common/linux_signo.c             |   141 +
 sys/compat/linux/common/linux_socket.c            |    68 +-
 sys/compat/linux/common/linux_socketcall.c        |   115 +-
 sys/compat/linux/common/linux_sysctl.c            |    49 +-
 sys/compat/linux/common/linux_types.h             |     5 +-
 sys/compat/linux/common/linux_uselib.c            |     6 +-
 sys/compat/linux/files.linux                      |     3 +-
 sys/compat/netbsd32/files.netbsd32                |     8 +-
 sys/compat/netbsd32/netbsd32_compat_10.c          |    29 +-
 sys/compat/netbsd32/netbsd32_compat_12.c          |     8 +-
 sys/compat/netbsd32/netbsd32_compat_13.c          |    10 +-
 sys/compat/netbsd32/netbsd32_compat_43.c          |    43 +-
 sys/compat/netbsd32/netbsd32_exec.h               |     4 +-
 sys/compat/netbsd32/netbsd32_exec_elf32.c         |    61 +-
 sys/compat/netbsd32/netbsd32_execve.c             |    13 +-
 sys/compat/netbsd32/netbsd32_fs.c                 |    86 +-
 sys/compat/netbsd32/netbsd32_netbsd.c             |    12 +-
 sys/compat/netbsd32/netbsd32_syscall.h            |    22 +-
 sys/compat/netbsd32/netbsd32_syscallargs.h        |    25 +-
 sys/compat/netbsd32/netbsd32_syscalls.c           |    28 +-
 sys/compat/netbsd32/netbsd32_sysctl.c             |    32 +-
 sys/compat/netbsd32/netbsd32_sysent.c             |    35 +-
 sys/compat/netbsd32/syscalls.master               |    27 +-
 sys/compat/osf1/files.osf1                        |     6 +-
 sys/compat/osf1/osf1_cvt.c                        |     8 +-
 sys/compat/osf1/osf1_cvt.h                        |     9 +-
 sys/compat/osf1/osf1_cvt_errno.c                  |   132 -
 sys/compat/osf1/osf1_cvt_signal.c                 |   114 -
 sys/compat/osf1/osf1_descrip.c                    |     8 +-
 sys/compat/osf1/osf1_errno.c                      |   132 +
 sys/compat/osf1/osf1_exec.c                       |     6 +-
 sys/compat/osf1/osf1_file.c                       |    28 +-
 sys/compat/osf1/osf1_generic.c                    |    16 +-
 sys/compat/osf1/osf1_misc.c                       |    18 +-
 sys/compat/osf1/osf1_mount.c                      |    16 +-
 sys/compat/osf1/osf1_resource.c                   |     8 +-
 sys/compat/osf1/osf1_signal.c                     |    30 +-
 sys/compat/osf1/osf1_signo.c                      |   117 +
 sys/compat/osf1/osf1_socket.c                     |    10 +-
 sys/compat/osf1/osf1_time.c                       |    26 +-
 sys/compat/pecoff/Makefile                        |    11 +
 sys/compat/pecoff/files.pecoff                    |     6 +-
 sys/compat/pecoff/pecoff_emul.c                   |   102 +
 sys/compat/pecoff/pecoff_exec.c                   |   120 +-
 sys/compat/pecoff/pecoff_misc.c                   |   563 ++
 sys/compat/pecoff/pecoff_syscall.h                |   666 +++
 sys/compat/pecoff/pecoff_syscallargs.h            |   420 ++
 sys/compat/pecoff/pecoff_syscalls.c               |   466 ++
 sys/compat/pecoff/pecoff_sysent.c                 |  1190 +++++
 sys/compat/pecoff/syscalls.conf                   |    13 +
 sys/compat/pecoff/syscalls.master                 |   659 +++
 sys/compat/sunos/sunos_ioctl.c                    |    10 +-
 sys/compat/sunos/sunos_misc.c                     |    40 +-
 sys/compat/sunos32/sunos32_exec.c                 |     6 +-
 sys/compat/sunos32/sunos32_ioctl.c                |     8 +-
 sys/compat/sunos32/sunos32_misc.c                 |    40 +-
 sys/compat/sunos32/sunos32_syscall.h              |     4 +-
 sys/compat/sunos32/sunos32_syscallargs.h          |    10 +-
 sys/compat/sunos32/sunos32_syscalls.c             |     6 +-
 sys/compat/sunos32/sunos32_sysent.c               |    18 +-
 sys/compat/sunos32/syscalls.master                |     8 +-
 sys/compat/svr4/files.svr4                        |     3 +-
 sys/compat/svr4/svr4_fcntl.c                      |    30 +-
 sys/compat/svr4/svr4_ipc.c                        |    13 +-
 sys/compat/svr4/svr4_misc.c                       |    52 +-
 sys/compat/svr4/svr4_net.c                        |     8 +-
 sys/compat/svr4/svr4_signal.c                     |    90 +-
 sys/compat/svr4/svr4_signal.h                     |    10 +-
 sys/compat/svr4/svr4_signo.c                      |   180 +
 sys/compat/svr4/svr4_stat.c                       |    48 +-
 sys/compat/svr4/svr4_stat.h                       |    16 +-
 sys/compat/svr4/svr4_stream.c                     |    30 +-
 sys/compat/svr4/svr4_types.h                      |    10 +-
 sys/compat/svr4_32/svr4_32_fcntl.c                |    29 +-
 sys/compat/svr4_32/svr4_32_ipc.c                  |    12 +-
 sys/compat/svr4_32/svr4_32_misc.c                 |    50 +-
 sys/compat/svr4_32/svr4_32_net.c                  |     8 +-
 sys/compat/svr4_32/svr4_32_signal.c               |   217 +-
 sys/compat/svr4_32/svr4_32_stat.c                 |    48 +-
 sys/compat/svr4_32/svr4_32_stream.c               |    30 +-
 sys/compat/ultrix/ultrix_fs.c                     |     6 +-
 sys/compat/ultrix/ultrix_misc.c                   |    14 +-
 sys/compat/ultrix/ultrix_pathname.c               |    22 +-
 sys/conf/Makefile.kern.inc                        |     8 +-
 sys/conf/files                                    |   443 +-
 sys/conf/osrelease.sh                             |     4 +-
 sys/crypto/rijndael/rijndael-api-fst.c            |     5 +-
 sys/ddb/db_extern.h                               |     3 +-
 sys/ddb/db_output.h                               |     3 +-
 sys/dev/DEVNAMES                                  |   121 +-
 sys/dev/acpi/acpi.c                               |    58 +-
 sys/dev/acpi/acpi_bat.c                           |   306 +
 sys/dev/acpi/acpi_ec.c                            |    40 +-
 sys/dev/acpi/acpi_resource.c                      |    22 +-
 sys/dev/acpi/acpica/Osd/OsdEnvironment.c          |    12 +-
 sys/dev/acpi/acpica/Osd/OsdHardware.c             |    10 +-
 sys/dev/acpi/acpica/Osd/OsdInterrupt.c            |    10 +-
 sys/dev/acpi/acpica/Osd/OsdMemory.c               |    19 +-
 sys/dev/acpi/acpica/Osd/OsdMisc.c                 |    32 +-
 sys/dev/acpi/acpica/Osd/OsdSchedule.c             |    16 +-
 sys/dev/acpi/acpica/Osd/OsdStream.c               |    33 +-
 sys/dev/acpi/acpica/Osd/OsdSynch.c                |    14 +-
 sys/dev/acpi/acpica/Subsystem/acconfig.h          |   131 +-
 sys/dev/acpi/acpica/Subsystem/acdebug.h           |   179 +-
 sys/dev/acpi/acpica/Subsystem/acdispat.h          |   171 +-
 sys/dev/acpi/acpica/Subsystem/acdos16.h           |   154 +
 sys/dev/acpi/acpica/Subsystem/acefi.h             |   150 +
 sys/dev/acpi/acpica/Subsystem/acenv.h             |   186 +-
 sys/dev/acpi/acpica/Subsystem/acevents.h          |    97 +-
 sys/dev/acpi/acpica/Subsystem/acexcep.h           |    48 +-
 sys/dev/acpi/acpica/Subsystem/acfreebsd.h         |   199 +
 sys/dev/acpi/acpica/Subsystem/acgcc.h             |   126 +-
 sys/dev/acpi/acpica/Subsystem/acglobal.h          |   134 +-
 sys/dev/acpi/acpica/Subsystem/achware.h           |    64 +-
 sys/dev/acpi/acpica/Subsystem/acintel.h           |   169 +
 sys/dev/acpi/acpica/Subsystem/acinterp.h          |   440 +-
 sys/dev/acpi/acpica/Subsystem/aclinux.h           |   166 +
 sys/dev/acpi/acpica/Subsystem/aclocal.h           |   598 +-
 sys/dev/acpi/acpica/Subsystem/acmacros.h          |   449 +-
 sys/dev/acpi/acpica/Subsystem/acmsvc.h            |   186 +
 sys/dev/acpi/acpica/Subsystem/acnamesp.h          |   156 +-
 sys/dev/acpi/acpica/Subsystem/acnetbsd.h          |    63 +-
 sys/dev/acpi/acpica/Subsystem/acobject.h          |   322 +-
 sys/dev/acpi/acpica/Subsystem/acoutput.h          |    46 +-
 sys/dev/acpi/acpica/Subsystem/acparser.h          |    70 +-
 sys/dev/acpi/acpica/Subsystem/acpi.h              |     4 +-
 sys/dev/acpi/acpica/Subsystem/acpiosxf.h          |    45 +-
 sys/dev/acpi/acpica/Subsystem/acpixf.h            |    75 +-
 sys/dev/acpi/acpica/Subsystem/acresrc.h           |   185 +-
 sys/dev/acpi/acpica/Subsystem/acstruct.h          |   137 +-
 sys/dev/acpi/acpica/Subsystem/actables.h          |    52 +-
 sys/dev/acpi/acpica/Subsystem/actbl.h             |    58 +-
 sys/dev/acpi/acpica/Subsystem/actbl1.h            |    81 +-
 sys/dev/acpi/acpica/Subsystem/actbl2.h            |    70 +-
 sys/dev/acpi/acpica/Subsystem/actbl71.h           |     4 +-
 sys/dev/acpi/acpica/Subsystem/actypes.h           |   497 +-
 sys/dev/acpi/acpica/Subsystem/acutils.h           |   223 +-
 sys/dev/acpi/acpica/Subsystem/acwin.h             |   192 +
 sys/dev/acpi/acpica/Subsystem/acwin64.h           |   165 +
 sys/dev/acpi/acpica/Subsystem/adisasm.h           |   172 +
 sys/dev/acpi/acpica/Subsystem/amlcode.h           |   217 +-
 sys/dev/acpi/acpica/Subsystem/dbcmds.c            |   317 +-
 sys/dev/acpi/acpica/Subsystem/dbdisasm.c          |   428 +-
 sys/dev/acpi/acpica/Subsystem/dbdisply.c          |   224 +-
 sys/dev/acpi/acpica/Subsystem/dbexec.c            |    81 +-
 sys/dev/acpi/acpica/Subsystem/dbfileio.c          |   129 +-
 sys/dev/acpi/acpica/Subsystem/dbhistry.c          |    34 +-
 sys/dev/acpi/acpica/Subsystem/dbinput.c           |   168 +-
 sys/dev/acpi/acpica/Subsystem/dbstats.c           |   100 +-
 sys/dev/acpi/acpica/Subsystem/dbutils.c           |    94 +-
 sys/dev/acpi/acpica/Subsystem/dbxface.c           |   235 +-
 sys/dev/acpi/acpica/Subsystem/dsfield.c           |   649 ++-
 sys/dev/acpi/acpica/Subsystem/dsmethod.c          |   245 +-
 sys/dev/acpi/acpica/Subsystem/dsmthdat.c          |   583 +-
 sys/dev/acpi/acpica/Subsystem/dsobject.c          |   692 +-
 sys/dev/acpi/acpica/Subsystem/dsopcode.c          |  1073 ++--
 sys/dev/acpi/acpica/Subsystem/dsutils.c           |   474 +-
 sys/dev/acpi/acpica/Subsystem/dswexec.c           |   619 +-
 sys/dev/acpi/acpica/Subsystem/dswload.c           |   806 +--
 sys/dev/acpi/acpica/Subsystem/dswscope.c          |    25 +-
 sys/dev/acpi/acpica/Subsystem/dswstate.c          |   224 +-
 sys/dev/acpi/acpica/Subsystem/evevent.c           |   797 ++-
 sys/dev/acpi/acpica/Subsystem/evmisc.c            |   305 +-
 sys/dev/acpi/acpica/Subsystem/evregion.c          |   231 +-
 sys/dev/acpi/acpica/Subsystem/evrgnini.c          |   252 +-
 sys/dev/acpi/acpica/Subsystem/evsci.c             |   207 +-
 sys/dev/acpi/acpica/Subsystem/evxface.c           |   350 +-
 sys/dev/acpi/acpica/Subsystem/evxfevnt.c          |   343 +-
 sys/dev/acpi/acpica/Subsystem/evxfregn.c          |   184 +-
 sys/dev/acpi/acpica/Subsystem/exconfig.c          |   517 +-
 sys/dev/acpi/acpica/Subsystem/exconvrt.c          |   246 +-
 sys/dev/acpi/acpica/Subsystem/excreate.c          |   639 +-
 sys/dev/acpi/acpica/Subsystem/exdump.c            |   728 +-
 sys/dev/acpi/acpica/Subsystem/exdyadic.c          |  1008 ----
 sys/dev/acpi/acpica/Subsystem/exfield.c           |   455 +-
 sys/dev/acpi/acpica/Subsystem/exfldio.c           |   913 ++-
 sys/dev/acpi/acpica/Subsystem/exmisc.c            |   811 ++-
 sys/dev/acpi/acpica/Subsystem/exmonad.c           |  1126 -----
 sys/dev/acpi/acpica/Subsystem/exmutex.c           |   113 +-
 sys/dev/acpi/acpica/Subsystem/exnames.c           |    92 +-
 sys/dev/acpi/acpica/Subsystem/exoparg1.c          |  1061 +++++
 sys/dev/acpi/acpica/Subsystem/exoparg2.c          |   681 +++
 sys/dev/acpi/acpica/Subsystem/exoparg3.c          |   337 +
 sys/dev/acpi/acpica/Subsystem/exoparg6.c          |   380 +
 sys/dev/acpi/acpica/Subsystem/exprep.c            |   577 +-
 sys/dev/acpi/acpica/Subsystem/exregion.c          |   290 +-
 sys/dev/acpi/acpica/Subsystem/exresnte.c          |   171 +-
 sys/dev/acpi/acpica/Subsystem/exresolv.c          |   238 +-
 sys/dev/acpi/acpica/Subsystem/exresop.c           |   258 +-
 sys/dev/acpi/acpica/Subsystem/exstore.c           |   482 +-
 sys/dev/acpi/acpica/Subsystem/exstoren.c          |   189 +-
 sys/dev/acpi/acpica/Subsystem/exstorob.c          |    43 +-
 sys/dev/acpi/acpica/Subsystem/exsystem.c          |    62 +-
 sys/dev/acpi/acpica/Subsystem/exutils.c           |   199 +-
 sys/dev/acpi/acpica/Subsystem/exxface.c           |   198 -
 sys/dev/acpi/acpica/Subsystem/hwacpi.c            |   282 +-
 sys/dev/acpi/acpica/Subsystem/hwgpe.c             |   373 +-
 sys/dev/acpi/acpica/Subsystem/hwregs.c            |   953 ++--
 sys/dev/acpi/acpica/Subsystem/hwsleep.c           |   319 +-
 sys/dev/acpi/acpica/Subsystem/hwtimer.c           |   103 +-
 sys/dev/acpi/acpica/Subsystem/nsaccess.c          |   339 +-
 sys/dev/acpi/acpica/Subsystem/nsalloc.c           |   242 +-
 sys/dev/acpi/acpica/Subsystem/nsdump.c            |   512 +-
 sys/dev/acpi/acpica/Subsystem/nseval.c            |   263 +-
 sys/dev/acpi/acpica/Subsystem/nsinit.c            |   224 +-
 sys/dev/acpi/acpica/Subsystem/nsload.c            |   149 +-
 sys/dev/acpi/acpica/Subsystem/nsnames.c           |   255 +-
 sys/dev/acpi/acpica/Subsystem/nsobject.c          |   472 +-
 sys/dev/acpi/acpica/Subsystem/nssearch.c          |    96 +-
 sys/dev/acpi/acpica/Subsystem/nsutils.c           |   219 +-
 sys/dev/acpi/acpica/Subsystem/nswalk.c            |   116 +-
 sys/dev/acpi/acpica/Subsystem/nsxfname.c          |   128 +-
 sys/dev/acpi/acpica/Subsystem/nsxfobj.c           |   600 +-
 sys/dev/acpi/acpica/Subsystem/psargs.c            |   286 +-
 sys/dev/acpi/acpica/Subsystem/psfind.c            |   139 +-
 sys/dev/acpi/acpica/Subsystem/psopcode.c          |   746 +-
 sys/dev/acpi/acpica/Subsystem/psparse.c           |  1007 ++--
 sys/dev/acpi/acpica/Subsystem/psscope.c           |    22 +-
 sys/dev/acpi/acpica/Subsystem/pstree.c            |    69 +-
 sys/dev/acpi/acpica/Subsystem/psutils.c           |    76 +-
 sys/dev/acpi/acpica/Subsystem/pswalk.c            |    86 +-
 sys/dev/acpi/acpica/Subsystem/psxface.c           |   103 +-
 sys/dev/acpi/acpica/Subsystem/rsaddr.c            |   291 +-
 sys/dev/acpi/acpica/Subsystem/rscalc.c            |   176 +-
 sys/dev/acpi/acpica/Subsystem/rscreate.c          |   435 +-
 sys/dev/acpi/acpica/Subsystem/rsdump.c            |   239 +-
 sys/dev/acpi/acpica/Subsystem/rsio.c              |   136 +-
 sys/dev/acpi/acpica/Subsystem/rsirq.c             |   207 +-
 sys/dev/acpi/acpica/Subsystem/rslist.c            |   143 +-
 sys/dev/acpi/acpica/Subsystem/rsmemory.c          |   174 +-
 sys/dev/acpi/acpica/Subsystem/rsmisc.c            |   201 +-
 sys/dev/acpi/acpica/Subsystem/rsutils.c           |   207 +-
 sys/dev/acpi/acpica/Subsystem/rsxface.c           |    80 +-
 sys/dev/acpi/acpica/Subsystem/tbconvrt.c          |   613 +-
 sys/dev/acpi/acpica/Subsystem/tbget.c             |   579 +-
 sys/dev/acpi/acpica/Subsystem/tbinstal.c          |   203 +-
 sys/dev/acpi/acpica/Subsystem/tbutils.c           |   144 +-
 sys/dev/acpi/acpica/Subsystem/tbxface.c           |   162 +-
 sys/dev/acpi/acpica/Subsystem/tbxfroot.c          |   474 +-
 sys/dev/acpi/acpica/Subsystem/utalloc.c           |   876 ++-
 sys/dev/acpi/acpica/Subsystem/utclib.c            |    57 +-
 sys/dev/acpi/acpica/Subsystem/utcopy.c            |   389 +-
 sys/dev/acpi/acpica/Subsystem/utdebug.c           |    77 +-
 sys/dev/acpi/acpica/Subsystem/utdelete.c          |   226 +-
 sys/dev/acpi/acpica/Subsystem/uteval.c            |   176 +-
 sys/dev/acpi/acpica/Subsystem/utglobal.c          |   484 +-
 sys/dev/acpi/acpica/Subsystem/utinit.c            |    86 +-
 sys/dev/acpi/acpica/Subsystem/utmath.c            |   430 ++
 sys/dev/acpi/acpica/Subsystem/utmisc.c            |   621 ++-
 sys/dev/acpi/acpica/Subsystem/utobject.c          |   286 +-
 sys/dev/acpi/acpica/Subsystem/utxface.c           |   197 +-
 sys/dev/acpi/acpica/files.acpica                  |    10 +-
 sys/dev/acpi/acpireg.h                            |    14 +-
 sys/dev/acpi/acpivar.h                            |     3 +-
 sys/dev/acpi/files.acpi                           |    11 +-
 sys/dev/acpi/spic_acpi.c                          |   140 +
 sys/dev/arcbios/arcbios_tty.c                     |    12 +-
 sys/dev/ata/ata.c                                 |     7 +-
 sys/dev/ata/ata_wdc.c                             |     7 +-
 sys/dev/ata/atavar.h                              |    14 +-
 sys/dev/ata/wdvar.h                               |     5 +-
 sys/dev/auconv.c                                  |    12 +-
 sys/dev/audio.c                                   |   381 +-
 sys/dev/audio_if.h                                |    10 +-
 sys/dev/audiovar.h                                |    63 +-
 sys/dev/aurateconv.c                              |   449 +-
 sys/dev/aurateconvproto.h                         |    64 -
 sys/dev/bi/if_ni.c                                |     6 +-
 sys/dev/cardbus/cardbus.c                         |     9 +-
 sys/dev/cardbus/cardslot.c                        |    12 +-
 sys/dev/cardbus/if_tlp_cardbus.c                  |    84 +-
 sys/dev/cardbus/rbus.c                            |     5 +-
 sys/dev/cardbus/rbus.h                            |    28 +-
 sys/dev/cardbus/rbus_ppb.c                        |     8 +-
 sys/dev/ccd.c                                     |     8 +-
 sys/dev/dec/dec_boot.h                            |   100 +-
 sys/dev/dec/dz.c                                  |     7 +-
 sys/dev/dec/dzkbd.c                               |     6 +-
 sys/dev/dec/dzms.c                                |     8 +-
 sys/dev/dec/vsxxx.c                               |     6 +-
 sys/dev/ebus/cs4231_ebus.c                        |   532 ++
 sys/dev/ebus/ebusreg.h                            |   169 +
 sys/dev/ebus/ebusvar.h                            |    55 +
 sys/dev/eisa/ahb.c                                |     8 +-
 sys/dev/eisa/uha_eisa.c                           |     6 +-
 sys/dev/hpc/biconsdev.c                           |    11 +-
 sys/dev/hpc/bivideo.c                             |     6 +-
 sys/dev/hpc/btnmgr.c                              |     6 +-
 sys/dev/hpc/hpccmap.c                             |     6 +-
 sys/dev/hpc/hpcfb.c                               |    30 +-
 sys/dev/hpc/hpckbd.c                              |     6 +-
 sys/dev/hpc/hpckbdkeymap.h                        |    36 +-
 sys/dev/hpc/tpcalib.c                             |     8 +-
 sys/dev/i2o/dpti.c                                |     6 +-
 sys/dev/i2o/iop.c                                 |     6 +-
 sys/dev/i2o/iopl.c                                |     6 +-
 sys/dev/i2o/ioplvar.h                             |     4 +-
 sys/dev/ic/aac.c                                  |  1341 ++++++
 sys/dev/ic/aac_tables.h                           |   120 +
 sys/dev/ic/aacreg.h                               |   742 +++
 sys/dev/ic/aacvar.h                               |   316 +
 sys/dev/ic/ad1848.c                               |    12 +-
 sys/dev/ic/adv.c                                  |     7 +-
 sys/dev/ic/adw.c                                  |    10 +-
 sys/dev/ic/aha.c                                  |     6 +-
 sys/dev/ic/aic6360.c                              |     7 +-
 sys/dev/ic/aic6915.c                              |     6 +-
 sys/dev/ic/aic6915reg.h                           |    18 +-
 sys/dev/ic/aic7xxx.c                              |    19 +-
 sys/dev/ic/an.c                                   |     9 +-
 sys/dev/ic/bha.c                                  |     6 +-
 sys/dev/ic/cac.c                                  |     8 +-
 sys/dev/ic/cd18xx.c                               |    10 +-
 sys/dev/ic/clmpcc.c                               |    10 +-
 sys/dev/ic/com.c                                  |    21 +-
 sys/dev/ic/com_cpcbus.c                           |    96 +
 sys/dev/ic/comvar.h                               |     3 +-
 sys/dev/ic/cpc700.c                               |   280 +
 sys/dev/ic/cpc700reg.h                            |   150 +
 sys/dev/ic/cpc700uic.h                            |    44 +
 sys/dev/ic/cpc700var.h                            |    46 +
 sys/dev/ic/cs89x0.c                               |   300 +-
 sys/dev/ic/cs89x0var.h                            |   126 +-
 sys/dev/ic/cy.c                                   |    10 +-
 sys/dev/ic/daic.c                                 |   404 +-
 sys/dev/ic/daicreg.h                              |    43 +-
 sys/dev/ic/daicvar.h                              |   100 +-
 sys/dev/ic/dp83932reg.h                           |     4 +-
 sys/dev/ic/ds.h                                   |     3 +-
 sys/dev/ic/elink3.c                               |     6 +-
 sys/dev/ic/elinkxl.c                              |    20 +-
 sys/dev/ic/esiop.c                                |  2158 ++++++++++
 sys/dev/ic/esiopvar.h                             |   164 +
 sys/dev/ic/gem.c                                  |   342 +-
 sys/dev/ic/gemreg.h                               |    13 +-
 sys/dev/ic/gemvar.h                               |    27 +-
 sys/dev/ic/hme.c                                  |     7 +-
 sys/dev/ic/hmereg.h                               |    10 +-
 sys/dev/ic/hscx.c                                 |    43 +-
 sys/dev/ic/i82365.c                               |    18 +-
 sys/dev/ic/i82557.c                               |   347 +-
 sys/dev/ic/i82557reg.h                            |    12 +-
 sys/dev/ic/i82557var.h                            |    28 +-
 sys/dev/ic/i82586.c                               |    10 +-
 sys/dev/ic/icp.c                                  |   776 +++
 sys/dev/ic/icpreg.h                               |   371 +
 sys/dev/ic/icpsp.c                                |   319 +
 sys/dev/ic/icpvar.h                               |   180 +
 sys/dev/ic/igsfb.c                                |   948 ++++
 sys/dev/ic/igsfbreg.h                             |   190 +
 sys/dev/ic/igsfbvar.h                             |   122 +
 sys/dev/ic/iha.c                                  |    10 +-
 sys/dev/ic/iic_cpcbus.c                           |    83 +
 sys/dev/ic/isac.c                                 |   158 +-
 sys/dev/ic/isic.c                                 |   134 +-
 sys/dev/ic/isic_bchan.c                           |   111 +-
 sys/dev/ic/isic_l1.c                              |    70 +-
 sys/dev/ic/isic_l1.h                              |   108 +-
 sys/dev/ic/isic_l1fsm.c                           |   129 +-
 sys/dev/ic/isp.c                                  |   800 +++-
 sys/dev/ic/isp_inline.h                           |   146 +-
 sys/dev/ic/isp_ioctl.h                            |    31 +-
 sys/dev/ic/isp_netbsd.c                           |   194 +-
 sys/dev/ic/isp_netbsd.h                           |    13 +-
 sys/dev/ic/isp_target.c                           |    32 +-
 sys/dev/ic/isp_target.h                           |    12 +-
 sys/dev/ic/ispmbox.h                              |   131 +-
 sys/dev/ic/ispvar.h                               |    33 +-
 sys/dev/ic/ld_aac.c                               |   291 +
 sys/dev/ic/ld_icp.c                               |   305 +
 sys/dev/ic/mb89352.c                              |     8 +-
 sys/dev/ic/mlx.c                                  |    12 +-
 sys/dev/ic/msm6258.c                              |   293 +-
 sys/dev/ic/msm6258var.h                           |    23 +-
 sys/dev/ic/ncr5380sbc.c                           |     6 +-
 sys/dev/ic/ncr5380var.h                           |     6 +-
 sys/dev/ic/ncr53c9x.c                             |    31 +-
 sys/dev/ic/nslm7x.c                               |    93 +-
 sys/dev/ic/nslm7xvar.h                            |     3 +-
 sys/dev/ic/osiop.c                                |     8 +-
 sys/dev/ic/osiopvar.h                             |     4 +-
 sys/dev/ic/pdq.c                                  |     6 +-
 sys/dev/ic/rtl81x9.c                              |    16 +-
 sys/dev/ic/seeq8005.c                             |    20 +-
 sys/dev/ic/siop.c                                 |  1012 ++--
 sys/dev/ic/siop_common.c                          |   463 +-
 sys/dev/ic/siopreg.h                              |   178 +-
 sys/dev/ic/siopvar.h                              |   134 +-
 sys/dev/ic/siopvar_common.h                       |   193 +-
 sys/dev/ic/smc91cxx.c                             |    17 +-
 sys/dev/ic/spic.c                                 |   277 +
 sys/dev/ic/spicvar.h                              |    17 +
 sys/dev/ic/sunscpal.c                             |     6 +-
 sys/dev/ic/tcic2.c                                |     6 +-
 sys/dev/ic/timer_cpcbus.c                         |    77 +
 sys/dev/ic/tulip.c                                |   437 +-
 sys/dev/ic/tulipreg.h                             |    18 +-
 sys/dev/ic/tulipvar.h                             |    14 +-
 sys/dev/ic/vga.c                                  |    23 +-
 sys/dev/ic/wdc.c                                  |    40 +-
 sys/dev/ic/wdcreg.h                               |     4 +-
 sys/dev/ic/wi.c                                   |   307 +-
 sys/dev/ic/wi_ieee.h                              |    19 +-
 sys/dev/ic/wireg.h                                |   164 +-
 sys/dev/ic/wivar.h                                |    18 +-
 sys/dev/ic/z8530tty.c                             |    14 +-
 sys/dev/ieee1394/fwnode.c                         |     9 +-
 sys/dev/ieee1394/fwohci.c                         |    24 +-
 sys/dev/ir/irframe_tty.c                          |     6 +-
 sys/dev/isa/daic_isa.c                            |    68 +-
 sys/dev/isa/ega.c                                 |     6 +-
 sys/dev/isa/files.isa                             |    18 +-
 sys/dev/isa/if_cs_isa.c                           |    18 +-
 sys/dev/isa/isic_isa.c                            |   111 +-
 sys/dev/isa/isic_isa_avm_a1.c                     |    32 +-
 sys/dev/isa/isic_isa_itk_ix1.c                    |    94 +-
 sys/dev/isa/isic_isa_tel_s016.c                   |    36 +-
 sys/dev/isa/isic_isa_tel_s0163.c                  |    40 +-
 sys/dev/isa/isic_isa_tel_s08.c                    |    36 +-
 sys/dev/isa/isic_isa_usr_sti.c                    |    19 +-
 sys/dev/isa/pcdisplay.c                           |     6 +-
 sys/dev/isa/seagate.c                             |     6 +-
 sys/dev/isa/uha_isa.c                             |     6 +-
 sys/dev/isa/wdc_isa.c                             |     6 +-
 sys/dev/isa/wds.c                                 |     6 +-
 sys/dev/isapnp/files.isapnp                       |     4 +-
 sys/dev/isapnp/if_cs_isapnp.c                     |     7 +-
 sys/dev/isapnp/isapnpdevs                         |     5 +-
 sys/dev/isapnp/isapnpdevs.c                       |    13 +-
 sys/dev/isapnp/isapnpdevs.h                       |     4 +-
 sys/dev/isapnp/isic_isapnp.c                      |   126 +-
 sys/dev/isapnp/isic_isapnp_ctx_s0P.c              |    28 +-
 sys/dev/isapnp/isic_isapnp_drn_ngo.c              |    28 +-
 sys/dev/isapnp/isic_isapnp_dynalink.c             |    33 +-
 sys/dev/isapnp/isic_isapnp_elsa_qs1i.c            |   149 +-
 sys/dev/isapnp/isic_isapnp_itkix.c                |    53 +-
 sys/dev/isapnp/isic_isapnp_siemens_isurf.c        |    22 +-
 sys/dev/isapnp/isic_isapnp_sws.c                  |    31 +-
 sys/dev/isapnp/isic_isapnp_tel_s0P.c              |    29 +-
 sys/dev/ld.c                                      |    16 +-
 sys/dev/mca/TODO                                  |     4 +-
 sys/dev/mca/aha_mca.c                             |    53 +-
 sys/dev/mca/ed_mca.c                              |     7 +-
 sys/dev/mca/edc_mca.c                             |   202 +-
 sys/dev/mca/files.mca                             |     4 +-
 sys/dev/md_root.c                                 |    10 +-
 sys/dev/microcode/aic7xxx/aicasm_gram.y           |    11 +-
 sys/dev/microcode/aic7xxx/aicasm_scan.l           |     8 +-
 sys/dev/microcode/aic7xxx/aicasm_symbol.c         |    42 +-
 sys/dev/microcode/daic/dnload.h-dist              |    44 +-
 sys/dev/microcode/daic/gendnloadh                 |    40 +-
 sys/dev/microcode/i8255x/rcvbundl.h               |  1128 +++++
 sys/dev/microcode/isp/asm_sbus.h                  |     4 +-
 sys/dev/microcode/siop/Makefile                   |    11 +-
 sys/dev/microcode/siop/esiop.out                  |   320 +
 sys/dev/microcode/siop/esiop.ss                   |   432 ++
 sys/dev/microcode/siop/ncr53cxxx.c                |    95 +-
 sys/dev/microcode/siop/siop.out                   |   320 +-
 sys/dev/microcode/siop/siop.ss                    |    43 +-
 sys/dev/microcode/wi/spectrum24t_cf.h             |  4326 +++++++++++++++++++++
 sys/dev/midi.c                                    |     8 +-
 sys/dev/mii/acphy.c                               |     8 +-
 sys/dev/mii/amhphy.c                              |     6 +-
 sys/dev/mii/bmtphy.c                              |     6 +-
 sys/dev/mii/brgphy.c                              |     6 +-
 sys/dev/mii/dmphy.c                               |     6 +-
 sys/dev/mii/exphy.c                               |     6 +-
 sys/dev/mii/files.mii                             |    14 +-
 sys/dev/mii/gentbi.c                              |     6 +-
 sys/dev/mii/glxtphy.c                             |     6 +-
 sys/dev/mii/gphyter.c                             |     6 +-
 sys/dev/mii/icsphy.c                              |     6 +-
 sys/dev/mii/inphy.c                               |     6 +-
 sys/dev/mii/iophy.c                               |     6 +-
 sys/dev/mii/lxtphy.c                              |    18 +-
 sys/dev/mii/makphy.c                              |     6 +-
 sys/dev/mii/mii.c                                 |     6 +-
 sys/dev/mii/mii_physubr.c                         |    33 +-
 sys/dev/mii/miidevs                               |     7 +-
 sys/dev/mii/miidevs.h                             |    13 +-
 sys/dev/mii/miidevs_data.h                        |     8 +-
 sys/dev/mii/miivar.h                              |     6 +-
 sys/dev/mii/nsphy.c                               |     6 +-
 sys/dev/mii/nsphyter.c                            |     6 +-
 sys/dev/mii/pnaphy.c                              |     6 +-
 sys/dev/mii/qsphy.c                               |     6 +-
 sys/dev/mii/sqphy.c                               |     6 +-
 sys/dev/mii/tlphy.c                               |     6 +-
 sys/dev/mii/tqphy.c                               |    13 +-
 sys/dev/mii/ukphy.c                               |     6 +-
 sys/dev/mii/urlphy.c                              |   270 +
 sys/dev/mii/urlphyreg.h                           |    43 +
 sys/dev/ofisa/com_ofisa.c                         |     6 +-
 sys/dev/ofisa/ess_ofisa.c                         |     6 +-
 sys/dev/ofisa/if_cs_ofisa.c                       |     6 +-
 sys/dev/ofisa/joy_ofisa.c                         |     6 +-
 sys/dev/ofisa/lpt_ofisa.c                         |     6 +-
 sys/dev/ofisa/ofisa.c                             |     6 +-
 sys/dev/ofisa/pckbc_ofisa.c                       |    10 +-
 sys/dev/ofisa/sb_ofisa.c                          |     6 +-
 sys/dev/ofisa/wdc_ofisa.c                         |     6 +-
 sys/dev/ofw/ofcons.c                              |    10 +-
 sys/dev/pci/aac_pci.c                             |   561 ++
 sys/dev/pci/amdpm.c                               |   194 +
 sys/dev/pci/amdpmreg.h                            |    58 +
 sys/dev/pci/amr.c                                 |     6 +-
 sys/dev/pci/auich.c                               |   156 +-
 sys/dev/pci/autri.c                               |    33 +-
 sys/dev/pci/autrireg.h                            |     5 +-
 sys/dev/pci/auvia.c                               |    17 +-
 sys/dev/pci/bktr/bktr_card.c                      |    10 +-
 sys/dev/pci/bktr/bktr_core.c                      |     6 +-
 sys/dev/pci/cac_pci.c                             |     6 +-
 sys/dev/pci/cs4280.c                              |     8 +-
 sys/dev/pci/cs4281.c                              |    88 +-
 sys/dev/pci/cz.c                                  |    10 +-
 sys/dev/pci/esa.c                                 |   539 +-
 sys/dev/pci/esavar.h                              |    54 +-
 sys/dev/pci/esiop_pci.c                           |    98 +
 sys/dev/pci/eso.c                                 |    24 +-
 sys/dev/pci/files.pci                             |    73 +-
 sys/dev/pci/icp_pci.c                             |   791 +++
 sys/dev/pci/if_de.c                               |     6 +-
 sys/dev/pci/if_fxp_pci.c                          |    11 +-
 sys/dev/pci/if_gem_pci.c                          |    21 +-
 sys/dev/pci/if_lmc_nbsd.c                         |     5 +-
 sys/dev/pci/if_lmc_types.h                        |     6 +-
 sys/dev/pci/if_lmcvar.h                           |     6 +-
 sys/dev/pci/if_pcn.c                              |    16 +-
 sys/dev/pci/if_sip.c                              |    29 +-
 sys/dev/pci/if_sipreg.h                           |     3 +-
 sys/dev/pci/if_ste.c                              |    92 +-
 sys/dev/pci/if_stereg.h                           |     4 +-
 sys/dev/pci/if_ti.c                               |    53 +-
 sys/dev/pci/if_tl.c                               |     8 +-
 sys/dev/pci/if_tlp_pci.c                          |   287 +-
 sys/dev/pci/if_wi_pci.c                           |    22 +-
 sys/dev/pci/if_wm.c                               |  2855 +++++++++++++
 sys/dev/pci/if_wmreg.h                            |   509 ++
 sys/dev/pci/ifpci.c                               |  1340 ++++++
 sys/dev/pci/igsfb_pci.c                           |   167 +
 sys/dev/pci/isic_pci.c                            |   204 +-
 sys/dev/pci/isic_pci.h                            |    93 +-
 sys/dev/pci/isic_pci_avm_fritz_pci.c              |  1704 --------
 sys/dev/pci/isic_pci_elsa_qs1p.c                  |   349 +-
 sys/dev/pci/isp_pci.c                             |    49 +-
 sys/dev/pci/joy_eso.c                             |    96 +
 sys/dev/pci/joy_pci.c                             |     6 +-
 sys/dev/pci/ld_twe.c                              |    10 +-
 sys/dev/pci/mly.c                                 |     8 +-
 sys/dev/pci/neo.c                                 |    12 +-
 sys/dev/pci/pccbb.c                               |    27 +-
 sys/dev/pci/pci.c                                 |   321 +-
 sys/dev/pci/pci_map.c                             |    41 +-
 sys/dev/pci/pci_subr.c                            |    14 +-
 sys/dev/pci/pci_usrreq.c                          |     6 +-
 sys/dev/pci/pcidevs                               |   126 +-
 sys/dev/pci/pcidevs.h                             |   124 +-
 sys/dev/pci/pcidevs_data.h                        |   550 ++-
 sys/dev/pci/pciide.c                              |   526 ++-
 sys/dev/pci/pciide_acer_reg.h                     |     5 +-
 sys/dev/pci/pciide_apollo_reg.h                   |     5 +-
 sys/dev/pci/pciide_cmd_reg.h                      |     5 +-
 sys/dev/pci/pciide_cy693_reg.h                    |     5 +-
 sys/dev/pci/pciide_hpt_reg.h                      |    23 +-
 sys/dev/pci/pciide_pdc202xx_reg.h                 |     5 +-
 sys/dev/pci/pciide_piix_reg.h                     |     5 +-
 sys/dev/pci/pciide_sis_reg.h                      |     5 +-
 sys/dev/pci/pciide_sl82c105_reg.h                 |   112 +
 sys/dev/pci/pcireg.h                              |     8 +-
 sys/dev/pci/pcivar.h                              |    20 +-
 sys/dev/pci/ppb.c                                 |    17 +-
 sys/dev/pci/pucdata.c                             |   139 +-
 sys/dev/pci/siop_pci.c                            |    17 +-
 sys/dev/pci/siop_pci_common.c                     |   118 +-
 sys/dev/pci/siop_pci_common.h                     |    14 +-
 sys/dev/pci/tga.c                                 |     6 +-
 sys/dev/pci/trm.c                                 |    13 +-
 sys/dev/pci/twe.c                                 |    75 +-
 sys/dev/pci/twevar.h                              |    25 +-
 sys/dev/pci/vga_pci.c                             |    21 +-
 sys/dev/pci/viaenv.c                              |   135 +-
 sys/dev/pci/viapm.c                               |    30 +-
 sys/dev/pci/yds.c                                 |    59 +-
 sys/dev/pckbc/files.pckbc                         |     8 +-
 sys/dev/pckbc/pckbd.c                             |     6 +-
 sys/dev/pckbc/pms.c                               |   628 +++
 sys/dev/pckbc/pmsreg.h                            |    19 +
 sys/dev/pckbc/psm.c                               |   552 --
 sys/dev/pckbc/psm_intelli.c                       |   429 --
 sys/dev/pckbc/psmreg.h                            |    19 -
 sys/dev/pcmcia/aic_pcmcia.c                       |     7 +-
 sys/dev/pcmcia/com_pcmcia.c                       |    19 +-
 sys/dev/pcmcia/esl_pcmcia.c                       |     7 +-
 sys/dev/pcmcia/esp_pcmcia.c                       |     7 +-
 sys/dev/pcmcia/fdc_pcmcia.c                       |     7 +-
 sys/dev/pcmcia/files.pcmcia                       |     4 +-
 sys/dev/pcmcia/if_awi_pcmcia.c                    |     7 +-
 sys/dev/pcmcia/if_cnw.c                           |     6 +-
 sys/dev/pcmcia/if_ep_pcmcia.c                     |     6 +-
 sys/dev/pcmcia/if_mbe_pcmcia.c                    |     6 +-
 sys/dev/pcmcia/if_ne_pcmcia.c                     |    40 +-
 sys/dev/pcmcia/if_ray.c                           |     6 +-
 sys/dev/pcmcia/if_sm_pcmcia.c                     |     6 +-
 sys/dev/pcmcia/if_tr_pcmcia.c                     |     6 +-
 sys/dev/pcmcia/if_wi_pcmcia.c                     |   209 +-
 sys/dev/pcmcia/if_xi.c                            |    10 +-
 sys/dev/pcmcia/isic_pcmcia.c                      |   168 +-
 sys/dev/pcmcia/isic_pcmcia.h                      |    85 +-
 sys/dev/pcmcia/isic_pcmcia_avm_fritz.c            |    44 +-
 sys/dev/pcmcia/isic_pcmcia_elsa_isdnmc.c          |   102 +-
 sys/dev/pcmcia/isic_pcmcia_elsa_mcall.c           |    98 +-
 sys/dev/pcmcia/isic_pcmcia_sbspeedstar2.c         |    95 +-
 sys/dev/pcmcia/mhzc.c                             |     7 +-
 sys/dev/pcmcia/nca_pcmcia.c                       |     7 +-
 sys/dev/pcmcia/pcmcia.c                           |    49 +-
 sys/dev/pcmcia/pcmcia_cis.c                       |    16 +-
 sys/dev/pcmcia/pcmcia_cis_quirks.c                |    18 +-
 sys/dev/pcmcia/pcmciadevs                         |    15 +-
 sys/dev/pcmcia/pcmciadevs.h                       |    35 +-
 sys/dev/pcmcia/pcmciadevs_data.h                  |    83 +-
 sys/dev/pcmcia/pcmciavar.h                        |     6 +-
 sys/dev/pcmcia/pcmcom.c                           |     7 +-
 sys/dev/pcmcia/wdc_pcmcia.c                       |     7 +-
 sys/dev/podulebus/acemidi.c                       |     6 +-
 sys/dev/podulebus/dtide.c                         |     5 +-
 sys/dev/podulebus/hcsc.c                          |     6 +-
 sys/dev/podulebus/if_ea.c                         |    13 +-
 sys/dev/podulebus/if_eb.c                         |     9 +-
 sys/dev/podulebus/if_ei.c                         |     6 +-
 sys/dev/podulebus/oak.c                           |     8 +-
 sys/dev/podulebus/podule_data.h                   |   504 +-
 sys/dev/podulebus/podulebus.h                     |     7 +-
 sys/dev/podulebus/podulelist2h.awk                |    56 +-
 sys/dev/podulebus/podules                         |   390 +-
 sys/dev/podulebus/podules.h                       |   370 +-
 sys/dev/qbus/dhu.c                                |    11 +-
 sys/dev/qbus/dl.c                                 |    11 +-
 sys/dev/qbus/if_il.c                              |    10 +-
 sys/dev/qbus/if_qe.c                              |    16 +-
 sys/dev/qbus/qd.c                                 |    11 +-
 sys/dev/qbus/rl.c                                 |   110 +-
 sys/dev/qbus/rlreg.h                              |    12 +-
 sys/dev/qbus/rlvar.h                              |    68 +
 sys/dev/qbus/uba.c                                |     6 +-
 sys/dev/qbus/uda.c                                |     8 +-
 sys/dev/raidframe/files.raidframe                 |    67 +
 sys/dev/raidframe/rf_dagdegrd.c                   |     6 +-
 sys/dev/raidframe/rf_dagdegwr.c                   |     6 +-
 sys/dev/raidframe/rf_decluster.c                  |     6 +-
 sys/dev/raidframe/rf_map.c                        |    12 +-
 sys/dev/raidframe/rf_netbsdkintf.c                |    10 +-
 sys/dev/raidframe/rf_paritylog.c                  |     6 +-
 sys/dev/raidframe/rf_pq.c                         |     6 +-
 sys/dev/rasops/rasops_bitops.h                    |     8 +-
 sys/dev/rnd.c                                     |     6 +-
 sys/dev/sbus/be.c                                 |    12 +-
 sys/dev/sbus/bpp.c                                |     6 +-
 sys/dev/sbus/cgsix_sbus.c                         |    17 +-
 sys/dev/sbus/cs4231_sbus.c                        |   177 +-
 sys/dev/sbus/dma_sbus.c                           |    17 +-
 sys/dev/sbus/esp_sbus.c                           |    68 +-
 sys/dev/sbus/if_en.c                              |     6 +-
 sys/dev/sbus/if_hme_sbus.c                        |    14 +-
 sys/dev/sbus/if_le.c                              |     6 +-
 sys/dev/sbus/if_le_lebuffer.c                     |     6 +-
 sys/dev/sbus/if_le_ledma.c                        |     6 +-
 sys/dev/sbus/isp_sbus.c                           |    26 +-
 sys/dev/sbus/lebuffer.c                           |     6 +-
 sys/dev/sbus/magma.c                              |    19 +-
 sys/dev/sbus/qe.c                                 |    10 +-
 sys/dev/sbus/qec.c                                |     8 +-
 sys/dev/sbus/sbusvar.h                            |    10 +-
 sys/dev/sbus/sio16.c                              |    12 +-
 sys/dev/sbus/stp4020.c                            |    50 +-
 sys/dev/sbus/tcx.c                                |   247 +-
 sys/dev/scsipi/atapi_wdc.c                        |    21 +-
 sys/dev/scsipi/atapiconf.c                        |     6 +-
 sys/dev/scsipi/cd.c                               |    75 +-
 sys/dev/scsipi/cd_atapi.c                         |     6 +-
 sys/dev/scsipi/cdvar.h                            |     4 +-
 sys/dev/scsipi/ch.c                               |    19 +-
 sys/dev/scsipi/files.scsipi                       |     6 +-
 sys/dev/scsipi/scsi_message.h                     |    20 +-
 sys/dev/scsipi/scsiconf.c                         |    45 +-
 sys/dev/scsipi/scsipi_base.c                      |   118 +-
 sys/dev/scsipi/scsipi_verbose.c                   |     6 +-
 sys/dev/scsipi/scsipiconf.h                       |    25 +-
 sys/dev/scsipi/sd.c                               |     9 +-
 sys/dev/scsipi/st.c                               |   212 +-
 sys/dev/scsipi/st_atapi.c                         |     7 +-
 sys/dev/scsipi/stvar.h                            |    10 +-
 sys/dev/scsipi/su.c                               |     5 -
 sys/dev/std/ieee1212.c                            |    68 +-
 sys/dev/std/ieee1212reg.h                         |     3 +-
 sys/dev/sun/Makefile                              |     4 +-
 sys/dev/sun/fb.c                                  |    12 +-
 sys/dev/sun/kbd.c                                 |     8 +-
 sys/dev/sun/kbd_reg.h                             |    96 +
 sys/dev/sun/kbd_tables.c                          |    44 +-
 sys/dev/sun/kbio.h                                |   120 +
 sys/dev/sun/vuid_event.h                          |    87 +
 sys/dev/sysmon/files.sysmon                       |     9 +
 sys/dev/tc/cfb.c                                  |     8 +-
 sys/dev/tc/files.tc                               |     4 +-
 sys/dev/tc/mfb.c                                  |    10 +-
 sys/dev/tc/px.c                                   |     7 +-
 sys/dev/tc/pxg.c                                  |     6 +-
 sys/dev/tc/sfb.c                                  |     8 +-
 sys/dev/tc/sfbplus.c                              |     8 +-
 sys/dev/tc/stic.c                                 |     8 +-
 sys/dev/tc/sticvar.h                              |     5 +-
 sys/dev/tc/tfb.c                                  |     8 +-
 sys/dev/tc/xcfb.c                                 |     8 +-
 sys/dev/tc/zskbd.c                                |     6 +-
 sys/dev/tc/zsms.c                                 |     6 +-
 sys/dev/usb/Makefile                              |     3 +-
 sys/dev/usb/Makefile.usbdevs                      |    10 +-
 sys/dev/usb/ehci.c                                |    26 +-
 sys/dev/usb/files.usb                             |    14 +-
 sys/dev/usb/if_aue.c                              |     7 +-
 sys/dev/usb/if_kue.c                              |     6 +-
 sys/dev/usb/if_url.c                              |  1612 +++++++
 sys/dev/usb/if_urlreg.h                           |   194 +
 sys/dev/usb/ohci.c                                |    46 +-
 sys/dev/usb/uaudio.c                              |   343 +-
 sys/dev/usb/ucom.c                                |    12 +-
 sys/dev/usb/uftdi.c                               |    89 +-
 sys/dev/usb/uftdireg.h                            |    22 +-
 sys/dev/usb/uhci.c                                |    40 +-
 sys/dev/usb/uhid.c                                |     6 +-
 sys/dev/usb/ukbd.c                                |     6 +-
 sys/dev/usb/ukbdmap.c                             |    51 +-
 sys/dev/usb/umass.c                               |     8 +-
 sys/dev/usb/umass_quirks.c                        |    10 +-
 sys/dev/usb/umodem.c                              |     8 +-
 sys/dev/usb/ums.c                                 |     6 +-
 sys/dev/usb/uplcom.c                              |     6 +-
 sys/dev/usb/usb.c                                 |    14 +-
 sys/dev/usb/usb_mem.c                             |     6 +-
 sys/dev/usb/usb_mem.h                             |    19 +-
 sys/dev/usb/usb_port.h                            |    11 +-
 sys/dev/usb/usbdevs                               |   116 +-
 sys/dev/usb/usbdevs.h                             |   118 +-
 sys/dev/usb/usbdevs_data.h                        |   530 ++-
 sys/dev/usb/usbdi.c                               |    20 +-
 sys/dev/usb/usbdi_util.h                          |     4 +-
 sys/dev/usb/uscanner.c                            |     5 +-
 sys/dev/usb/ustir.c                               |    28 +-
 sys/dev/usb/uvscom.c                              |   894 ++++
 sys/dev/vme/si.c                                  |     6 +-
 sys/dev/vnd.c                                     |     7 +-
 sys/dev/wscons/wsconsio.h                         |     4 +-
 sys/dev/wscons/wsdisplay.c                        |    21 +-
 sys/dev/wscons/wsdisplay_compat_usl.c             |    10 +-
 sys/dev/wscons/wskbd.c                            |    10 +-
 sys/dev/wscons/wsksymdef.h                        |    16 +-
 sys/dev/wscons/wsmouse.c                          |    12 +-
 sys/dev/wscons/wsmux.c                            |     8 +-
 sys/filecorefs/files.filecorefs                   |    10 +
 sys/fs/smbfs/files.smbfs                          |    10 +
 sys/isofs/cd9660/cd9660_vfsops.c                  |    31 +-
 sys/isofs/cd9660/files.cd9660                     |    11 +
 sys/kern/exec_conf.c                              |    75 +-
 sys/kern/exec_elf32.c                             |     6 +-
 sys/kern/exec_elf_common.c                        |     6 +-
 sys/kern/init_main.c                              |     5 +-
 sys/kern/init_sysent.c                            |    12 +-
 sys/kern/kern_clock.c                             |     5 +-
 sys/kern/kern_descrip.c                           |   120 +-
 sys/kern/kern_exec.c                              |    12 +-
 sys/kern/kern_exit.c                              |    16 +-
 sys/kern/kern_kthread.c                           |     6 +-
 sys/kern/kern_lock.c                              |    62 +-
 sys/kern/kern_malloc.c                            |     5 +-
 sys/kern/kern_ntptime.c                           |    18 +-
 sys/kern/kern_proc.c                              |    13 +-
 sys/kern/kern_subr.c                              |   368 +-
 sys/kern/kern_synch.c                             |     7 +-
 sys/kern/kern_sysctl.c                            |    71 +-
 sys/kern/kern_xxx.c                               |    12 +-
 sys/kern/subr_autoconf.c                          |     7 +-
 sys/kern/subr_log.c                               |     6 +-
 sys/kern/subr_prf.c                               |    14 +-
 sys/kern/subr_prop.c                              |     8 +-
 sys/kern/sys_generic.c                            |    25 +-
 sys/kern/sys_pipe.c                               |     6 +-
 sys/kern/sys_process.c                            |   255 +-
 sys/kern/syscalls.c                               |    12 +-
 sys/kern/syscalls.master                          |     8 +-
 sys/kern/sysv_sem.c                               |     9 +-
 sys/kern/sysv_shm.c                               |    59 +-
 sys/kern/tty.c                                    |   103 +-
 sys/kern/tty_conf.c                               |     6 +-
 sys/kern/tty_pty.c                                |    11 +-
 sys/kern/tty_tb.c                                 |    10 +-
 sys/kern/uipc_domain.c                            |     6 +-
 sys/kern/uipc_mbuf2.c                             |    11 +-
 sys/kern/uipc_socket.c                            |   320 +-
 sys/kern/uipc_syscalls.c                          |    13 +-
 sys/kern/vfs_bio.c                                |    36 +-
 sys/kern/vfs_subr.c                               |     8 +-
 sys/kern/vfs_syscalls.c                           |     8 +-
 sys/kern/vfs_vnops.c                              |     6 +-
 sys/lib/libkern/Makefile                          |     4 +-
 sys/lib/libkern/arc4random.c                      |   141 +
 sys/lib/libkern/arch/alpha/Makefile.inc           |     4 +-
 sys/lib/libkern/arch/hppa/Makefile.inc            |    22 +
 sys/lib/libkern/arch/hppa/bcopy.S                 |   618 +++
 sys/lib/libkern/arch/hppa/memcpy.S                |     4 +
 sys/lib/libkern/arch/hppa/memmove.S               |     4 +
 sys/lib/libkern/arch/hppa/milli.S                 |  1814 ++++++++
 sys/lib/libkern/arch/hppa/prefix.h                |    85 +
 sys/lib/libkern/arch/hppa/spcopy.S                |     4 +
 sys/lib/libkern/arch/hppa/strlcpy.S               |    70 +
 sys/lib/libkern/arch/m68k/Makefile.inc            |     7 +-
 sys/lib/libkern/arch/m68k/divsi3.S                |    59 +
 sys/lib/libkern/arch/m68k/modsi3.S                |    60 +
 sys/lib/libkern/arch/m68k/mulsi3.S                |    59 +
 sys/lib/libkern/arch/m68k/udivsi3.S               |   118 +
 sys/lib/libkern/arch/m68k/umodsi3.S               |    51 +
 sys/lib/libkern/arch/powerpc/syncicache.c         |    23 +-
 sys/lib/libkern/arch/sparc/Makefile.inc           |     4 +-
 sys/lib/libkern/arch/sparc64/Makefile.inc         |     4 +-
 sys/lib/libkern/libkern.h                         |     3 +-
 sys/lib/libsa/Makefile                            |    10 +-
 sys/lib/libsa/bootp.c                             |    52 +-
 sys/lib/libsa/bootp.h                             |     9 +-
 sys/lib/libsa/dev_net.c                           |    10 +-
 sys/lib/libsa/exit.c                              |     7 +-
 sys/lib/libsa/files.c                             |    12 +
 sys/lib/libsa/globals.c                           |     4 +-
 sys/lib/libsa/lfs.c                               |     4 +-
 sys/lib/libsa/nullfs.c                            |    45 +-
 sys/lib/libsa/stand.h                             |     3 +-
 sys/lib/libsa/udp.c                               |     4 +-
 sys/lib/libsa/ufs_ls.c                            |     4 +-
 sys/lib/libsa/ustarfs.c                           |     7 +-
 sys/lib/libz/Makefile.inc                         |     6 +-
 sys/lkm/compat/Makefile                           |     4 +-
 sys/lkm/compat/Makefile.inc                       |    10 +-
 sys/lkm/compat/linux/Makefile                     |    12 +-
 sys/lkm/compat/osf1/Makefile                      |     4 +-
 sys/lkm/compat/pecoff/Makefile                    |    15 +
 sys/lkm/compat/pecoff/lkminit_emul.c              |    88 +
 sys/lkm/compat/svr4/Makefile                      |     2 +-
 sys/lkm/compat/svr4/Makefile.common               |     6 +-
 sys/lkm/exec/Makefile                             |     6 +-
 sys/lkm/exec/aout/Makefile                        |     4 +-
 sys/lkm/exec/elf/Makefile                         |     4 +-
 sys/lkm/exec/freebsd_aout/Makefile                |     4 +-
 sys/lkm/exec/freebsd_elf/Makefile                 |     4 +-
 sys/lkm/exec/hpux_aout/Makefile                   |     4 +-
 sys/lkm/exec/ibcs2_coff/Makefile                  |     4 +-
 sys/lkm/exec/ibcs2_elf/Makefile                   |     4 +-
 sys/lkm/exec/ibcs2_xout/Makefile                  |     4 +-
 sys/lkm/exec/linux_aout/Makefile                  |     4 +-
 sys/lkm/exec/linux_elf/Makefile                   |     4 +-
 sys/lkm/exec/m68k4k/Makefile                      |     4 +-
 sys/lkm/exec/netbsd32_aout/Makefile               |     4 +-
 sys/lkm/exec/netbsd32_elf/Makefile                |     4 +-
 sys/lkm/exec/osf1_ecoff/Makefile                  |     4 +-
 sys/lkm/exec/pecoff/Makefile                      |    25 +
 sys/lkm/exec/pecoff/lkminit_exec.c                |    85 +
 sys/lkm/exec/sunos32_aout/Makefile                |     4 +-
 sys/lkm/exec/sunos_aout/Makefile                  |     4 +-
 sys/lkm/exec/svr4_32_elf/Makefile                 |     4 +-
 sys/lkm/exec/svr4_elf/Makefile                    |     4 +-
 sys/lkm/exec/ultrix_ecoff/Makefile                |     4 +-
 sys/lkm/exec/vax1k/Makefile                       |     4 +-
 sys/lkm/netinet/if_ipl/mln_ipl.c                  |     8 +-
 sys/lkm/syscall/example/example_syscall.c         |     6 +-
 sys/lkm/vfs/miscfs/procfs/Makefile                |     7 +-
 sys/miscfs/fdesc/fdesc_vnops.c                    |    83 +-
 sys/miscfs/fdesc/files.fdesc                      |     6 +
 sys/miscfs/genfs/genfs_vnops.c                    |   357 +-
 sys/miscfs/kernfs/files.kernfs                    |     6 +
 sys/miscfs/nullfs/files.nullfs                    |     6 +
 sys/miscfs/overlay/files.overlay                  |     6 +
 sys/miscfs/portal/files.portal                    |     6 +
 sys/miscfs/procfs/files.procfs                    |    16 +
 sys/miscfs/procfs/procfs.h                        |     3 +-
 sys/miscfs/procfs/procfs_cmdline.c                |     6 +-
 sys/miscfs/procfs/procfs_fpregs.c                 |    55 +-
 sys/miscfs/procfs/procfs_mem.c                    |    96 +-
 sys/miscfs/procfs/procfs_regs.c                   |    55 +-
 sys/miscfs/procfs/procfs_vnops.c                  |     7 +-
 sys/miscfs/specfs/spec_vnops.c                    |     6 +-
 sys/miscfs/specfs/specdev.h                       |     4 +-
 sys/miscfs/umapfs/files.umapfs                    |     7 +
 sys/miscfs/union/files.union                      |     7 +
 sys/msdosfs/files.msdosfs                         |    10 +
 sys/msdosfs/msdosfs_denode.c                      |    35 +-
 sys/msdosfs/msdosfs_vfsops.c                      |    11 +-
 sys/msdosfs/msdosfs_vnops.c                       |     8 +-
 sys/net/bpf.c                                     |    23 +-
 sys/net/if.c                                      |   100 +-
 sys/net/if.h                                      |    15 +-
 sys/net/if_arc.h                                  |     4 +-
 sys/net/if_bridge.c                               |    12 +-
 sys/net/if_ethersubr.c                            |    23 +-
 sys/net/if_faith.c                                |    14 +-
 sys/net/if_fddisubr.c                             |     5 +-
 sys/net/if_gif.c                                  |    30 +-
 sys/net/if_gre.c                                  |   159 +-
 sys/net/if_hippisubr.c                            |    22 +-
 sys/net/if_ieee1394subr.c                         |    12 +-
 sys/net/if_ppp.c                                  |     8 +-
 sys/net/if_pppoe.c                                |    42 +-
 sys/net/if_pppoe.h                                |    40 +-
 sys/net/if_pppvar.h                               |     4 +-
 sys/net/if_sl.c                                   |    13 +-
 sys/net/if_sppp.h                                 |    40 +-
 sys/net/if_spppsubr.c                             |    26 +-
 sys/net/if_strip.c                                |    13 +-
 sys/net/if_types.h                                |     9 +-
 sys/net/if_vlan.c                                 |    10 +-
 sys/net/netisr.h                                  |     4 +-
 sys/net/ppp-comp.h                                |     4 +-
 sys/net/ppp_tty.c                                 |     6 +-
 sys/net/raw_cb.c                                  |     6 +-
 sys/net/raw_cb.h                                  |     5 +-
 sys/net/route.c                                   |     8 +-
 sys/net/route.h                                   |     8 +-
 sys/net/zlib.c                                    |    18 +-
 sys/netatalk/at_var.h                             |     5 +-
 sys/netatalk/ddp_usrreq.c                         |     6 +-
 sys/netatalk/ddp_var.h                            |     4 +-
 sys/netccitt/hd_input.c                           |     8 +-
 sys/netccitt/hd_var.h                             |    14 +-
 sys/netccitt/if_x25subr.c                         |     6 +-
 sys/netccitt/pk_output.c                          |     6 +-
 sys/netccitt/pk_var.h                             |     9 +-
 sys/netinet/fil.c                                 |   145 +-
 sys/netinet/icmp6.h                               |    17 +-
 sys/netinet/icmp_var.h                            |     4 +-
 sys/netinet/if_arp.c                              |   103 +-
 sys/netinet/if_atm.c                              |    22 +-
 sys/netinet/if_atm.h                              |     4 +-
 sys/netinet/if_ieee1394arp.c                      |    20 +-
 sys/netinet/igmp.c                                |     9 +-
 sys/netinet/igmp_var.h                            |     6 +-
 sys/netinet/in.c                                  |    36 +-
 sys/netinet/in.h                                  |    56 +-
 sys/netinet/in_cksum.c                            |     6 +-
 sys/netinet/in_gif.c                              |     6 +-
 sys/netinet/in_pcb.c                              |    45 +-
 sys/netinet/in_pcb.h                              |     6 +-
 sys/netinet/in_proto.c                            |    16 +-
 sys/netinet/in_var.h                              |     6 +-
 sys/netinet/ip_auth.c                             |    22 +-
 sys/netinet/ip_compat.h                           |   167 +-
 sys/netinet/ip_ecn.c                              |     6 +-
 sys/netinet/ip_encap.c                            |     4 +-
 sys/netinet/ip_fil.c                              |   108 +-
 sys/netinet/ip_fil.h                              |    72 +-
 sys/netinet/ip_flow.c                             |    10 +-
 sys/netinet/ip_frag.c                             |    16 +-
 sys/netinet/ip_ftp_pxy.c                          |    95 +-
 sys/netinet/ip_gre.c                              |    66 +-
 sys/netinet/ip_gre.h                              |     4 +-
 sys/netinet/ip_h323_pxy.c                         |   297 +
 sys/netinet/ip_icmp.c                             |    48 +-
 sys/netinet/ip_icmp.h                             |     4 +-
 sys/netinet/ip_input.c                            |    58 +-
 sys/netinet/ip_ipsec_pxy.c                        |     5 +-
 sys/netinet/ip_log.c                              |    81 +-
 sys/netinet/ip_mroute.c                           |   108 +-
 sys/netinet/ip_mroute.h                           |    16 +-
 sys/netinet/ip_nat.c                              |   291 +-
 sys/netinet/ip_nat.h                              |     8 +-
 sys/netinet/ip_netbios_pxy.c                      |    10 +-
 sys/netinet/ip_output.c                           |    16 +-
 sys/netinet/ip_proxy.c                            |    28 +-
 sys/netinet/ip_state.c                            |   294 +-
 sys/netinet/ip_state.h                            |    32 +-
 sys/netinet/ip_var.h                              |    11 +-
 sys/netinet/ipl.h                                 |     6 +-
 sys/netinet/raw_ip.c                              |     8 +-
 sys/netinet/tcp_debug.c                           |     8 +-
 sys/netinet/tcp_input.c                           |   251 +-
 sys/netinet/tcp_output.c                          |   122 +-
 sys/netinet/tcp_subr.c                            |   174 +-
 sys/netinet/tcp_timer.c                           |    28 +-
 sys/netinet/tcp_usrreq.c                          |    12 +-
 sys/netinet/tcp_var.h                             |    29 +-
 sys/netinet/udp_usrreq.c                          |    13 +-
 sys/netinet/udp_var.h                             |     6 +-
 sys/netinet6/ah_core.c                            |     8 +-
 sys/netinet6/ah_input.c                           |    55 +-
 sys/netinet6/ah_output.c                          |     6 +-
 sys/netinet6/esp_core.c                           |    10 +-
 sys/netinet6/esp_input.c                          |    16 +-
 sys/netinet6/esp_output.c                         |     8 +-
 sys/netinet6/frag6.c                              |   160 +-
 sys/netinet6/icmp6.c                              |    53 +-
 sys/netinet6/in6.c                                |  1606 +++++--
 sys/netinet6/in6.h                                |   108 +-
 sys/netinet6/in6_cksum.c                          |     8 +-
 sys/netinet6/in6_gif.c                            |    12 +-
 sys/netinet6/in6_ifattach.c                       |   689 +--
 sys/netinet6/in6_ifattach.h                       |     3 +-
 sys/netinet6/in6_pcb.c                            |    35 +-
 sys/netinet6/in6_pcb.h                            |     7 +-
 sys/netinet6/in6_prefix.c                         |  1188 -----
 sys/netinet6/in6_prefix.h                         |    91 -
 sys/netinet6/in6_proto.c                          |    26 +-
 sys/netinet6/in6_src.c                            |    11 +-
 sys/netinet6/in6_var.h                            |    85 +-
 sys/netinet6/ip6_forward.c                        |    16 +-
 sys/netinet6/ip6_input.c                          |   102 +-
 sys/netinet6/ip6_mroute.c                         |    48 +-
 sys/netinet6/ip6_output.c                         |   363 +-
 sys/netinet6/ip6_var.h                            |    14 +-
 sys/netinet6/ipcomp_core.c                        |    15 +-
 sys/netinet6/ipcomp_output.c                      |     6 +-
 sys/netinet6/ipsec.c                              |   547 +-
 sys/netinet6/ipsec.h                              |    24 +-
 sys/netinet6/mld6.c                               |    51 +-
 sys/netinet6/mld6_var.h                           |     4 +-
 sys/netinet6/nd6.c                                |   896 ++-
 sys/netinet6/nd6.h                                |   152 +-
 sys/netinet6/nd6_nbr.c                            |   228 +-
 sys/netinet6/nd6_rtr.c                            |  1685 +++++---
 sys/netinet6/raw_ip6.c                            |   102 +-
 sys/netinet6/udp6_output.c                        |     8 +-
 sys/netinet6/udp6_usrreq.c                        |     6 +-
 sys/netinet6/udp6_var.h                           |     6 +-
 sys/netisdn/i4b_ctl.c                             |    56 +-
 sys/netisdn/i4b_debug.h                           |     4 +-
 sys/netisdn/i4b_global.h                          |    10 +-
 sys/netisdn/i4b_i4bdrv.c                          |   249 +-
 sys/netisdn/i4b_iframe.c                          |    13 +-
 sys/netisdn/i4b_ioctl.h                           |   134 +-
 sys/netisdn/i4b_ipr.c                             |   246 +-
 sys/netisdn/i4b_isppp.c                           |   179 +-
 sys/netisdn/i4b_l1l2.c                            |    86 -
 sys/netisdn/i4b_l1l2.h                            |    90 +-
 sys/netisdn/i4b_l2.c                              |   125 +-
 sys/netisdn/i4b_l2.h                              |    56 +-
 sys/netisdn/i4b_l2fsm.c                           |   345 +-
 sys/netisdn/i4b_l2if.c                            |    95 +-
 sys/netisdn/i4b_l2timer.c                         |    24 +-
 sys/netisdn/i4b_l3.h                              |     8 +-
 sys/netisdn/i4b_l3fsm.c                           |    28 +-
 sys/netisdn/i4b_l3l4.h                            |   176 +-
 sys/netisdn/i4b_l4.c                              |   475 +-
 sys/netisdn/i4b_l4.h                              |    16 +-
 sys/netisdn/i4b_l4if.c                            |   202 +-
 sys/netisdn/i4b_l4mgmt.c                          |   154 +-
 sys/netisdn/i4b_l4timer.c                         |    10 +-
 sys/netisdn/i4b_lme.c                             |    12 +-
 sys/netisdn/i4b_q931.c                            |    55 +-
 sys/netisdn/i4b_rbch.c                            |   378 +-
 sys/netisdn/i4b_sframe.c                          |    28 +-
 sys/netisdn/i4b_tei.c                             |    30 +-
 sys/netisdn/i4b_tel.c                             |   189 +-
 sys/netisdn/i4b_trace.c                           |    87 +-
 sys/netisdn/i4b_uframe.c                          |    21 +-
 sys/netisdn/i4b_util.c                            |    12 +-
 sys/netiso/argo_debug.h                           |     4 +-
 sys/netiso/clnp_input.c                           |     5 +-
 sys/netiso/clnp_stat.h                            |    10 +-
 sys/netiso/cltp_usrreq.c                          |     8 +-
 sys/netiso/cltp_var.h                             |     6 +-
 sys/netiso/esis.c                                 |     7 +-
 sys/netiso/esis.h                                 |     7 +-
 sys/netiso/iso_pcb.c                              |     7 +-
 sys/netiso/iso_snpac.c                            |     8 +-
 sys/netiso/iso_var.h                              |     7 +-
 sys/netiso/tp_clnp.h                              |     6 +-
 sys/netiso/tp_ip.h                                |     4 +-
 sys/netiso/tp_pcb.c                               |     6 +-
 sys/netiso/tp_pcb.h                               |     4 +-
 sys/netiso/tp_stat.h                              |    15 +-
 sys/netiso/xebec/debug.h                          |     4 +-
 sys/netiso/xebec/llparse.c                        |    10 +-
 sys/netiso/xebec/llscan.c                         |     6 +-
 sys/netiso/xebec/main.c                           |    22 +-
 sys/netiso/xebec/malloc.c                         |     8 +-
 sys/netiso/xebec/procs.c                          |    20 +-
 sys/netiso/xebec/xebec.c                          |     4 +-
 sys/netkey/key.c                                  |   573 +-
 sys/netkey/key.h                                  |     5 +-
 sys/netkey/key_debug.c                            |    15 +-
 sys/netkey/key_var.h                              |    15 +-
 sys/netkey/keydb.c                                |    48 +-
 sys/netkey/keydb.h                                |     6 +-
 sys/netkey/keysock.c                              |    94 +-
 sys/netkey/keysock.h                              |     7 +-
 sys/netns/idp_var.h                               |     4 +-
 sys/netns/ns.c                                    |     5 +-
 sys/netns/ns.h                                    |    14 +-
 sys/netns/ns_error.c                              |     6 +-
 sys/netns/ns_error.h                              |     4 +-
 sys/netns/ns_input.c                              |     6 +-
 sys/netns/ns_pcb.h                                |     4 +-
 sys/netns/spp_debug.h                             |     6 +-
 sys/netns/spp_usrreq.c                            |    12 +-
 sys/netns/spp_var.h                               |     6 +-
 sys/netsmb/mchain.h                               |    54 +-
 sys/netsmb/smb_iod.c                              |     4 +-
 sys/nfs/files.nfs                                 |    28 +
 sys/nfs/nfs.h                                     |    15 +-
 sys/nfs/nfs_bio.c                                 |   101 +-
 sys/nfs/nfs_bootdhcp.c                            |    60 +-
 sys/nfs/nfs_node.c                                |    18 +-
 sys/nfs/nfs_nqlease.c                             |     8 +-
 sys/nfs/nfs_socket.c                              |    34 +-
 sys/nfs/nfs_subs.c                                |     6 +-
 sys/nfs/nfs_syscalls.c                            |    15 +-
 sys/nfs/nfs_var.h                                 |     3 +-
 sys/nfs/nfs_vnops.c                               |    20 +-
 sys/nfs/nfsm_subs.h                               |     5 +-
 sys/nfs/nfsrtt.h                                  |     6 +-
 sys/nfs/nqnfs.h                                   |     9 +-
 sys/ntfs/files.ntfs                               |    12 +
 sys/sys/Makefile                                  |     6 +-
 sys/sys/acct.h                                    |     4 +-
 sys/sys/ansi.h                                    |     6 +-
 sys/sys/bootblock.h                               |   401 +
 sys/sys/buf.h                                     |     9 +-
 sys/sys/cdefs_aout.h                              |     7 +-
 sys/sys/conf.h                                    |    16 +-
 sys/sys/disklabel.h                               |    19 +-
 sys/sys/dkbad.h                                   |     5 +-
 sys/sys/domain.h                                  |     8 +-
 sys/sys/endian.h                                  |    14 +-
 sys/sys/errno.h                                   |     5 +-
 sys/sys/exec.h                                    |    30 +-
 sys/sys/exec_elf.h                                |     5 +-
 sys/sys/filedesc.h                                |     5 +-
 sys/sys/lock.h                                    |     6 +-
 sys/sys/mbuf.h                                    |    53 +-
 sys/sys/mtio.h                                    |    76 +-
 sys/sys/namei.h                                   |     6 +-
 sys/sys/param.h                                   |    19 +-
 sys/sys/proc.h                                    |     5 +-
 sys/sys/ptrace.h                                  |    28 +-
 sys/sys/queue.h                                   |    19 +-
 sys/sys/select.h                                  |     3 +-
 sys/sys/sem.h                                     |     4 +-
 sys/sys/shm.h                                     |     3 +-
 sys/sys/signal.h                                  |    12 +-
 sys/sys/signalvar.h                               |    99 +-
 sys/sys/socketvar.h                               |     3 +-
 sys/sys/sockio.h                                  |    22 +-
 sys/sys/stat.h                                    |     4 +-
 sys/sys/syscall.h                                 |     4 +-
 sys/sys/syscallargs.h                             |    10 +-
 sys/sys/sysctl.h                                  |    21 +-
 sys/sys/systm.h                                   |    53 +-
 sys/sys/timex.h                                   |    10 +-
 sys/sys/types.h                                   |    20 +-
 sys/sys/uio.h                                     |     2 +-
 sys/sys/vmmeter.h                                 |     5 +-
 sys/ufs/ext2fs/ext2fs_balloc.c                    |     7 +-
 sys/ufs/ext2fs/ext2fs_lookup.c                    |     6 +-
 sys/ufs/ext2fs/ext2fs_readwrite.c                 |    10 +-
 sys/ufs/ffs/ffs_alloc.c                           |    24 +-
 sys/ufs/ffs/ffs_balloc.c                          |     6 +-
 sys/ufs/ffs/ffs_extern.h                          |     3 +-
 sys/ufs/ffs/ffs_softdep.c                         |    12 +-
 sys/ufs/ffs/ffs_subr.c                            |    59 +-
 sys/ufs/ffs/ffs_vfsops.c                          |   190 +-
 sys/ufs/ffs/ffs_vnops.c                           |    62 +-
 sys/ufs/ffs/fs.h                                  |     9 +-
 sys/ufs/files.ufs                                 |    54 +
 sys/ufs/lfs/lfs.h                                 |   106 +-
 sys/ufs/lfs/lfs_alloc.c                           |    65 +-
 sys/ufs/lfs/lfs_balloc.c                          |    10 +-
 sys/ufs/lfs/lfs_bio.c                             |    32 +-
 sys/ufs/lfs/lfs_cksum.c                           |     5 +-
 sys/ufs/lfs/lfs_debug.c                           |    35 +-
 sys/ufs/lfs/lfs_extern.h                          |    63 +-
 sys/ufs/lfs/lfs_inode.c                           |    33 +-
 sys/ufs/lfs/lfs_segment.c                         |   687 ++-
 sys/ufs/lfs/lfs_subr.c                            |    96 +-
 sys/ufs/lfs/lfs_syscalls.c                        |   126 +-
 sys/ufs/lfs/lfs_vfsops.c                          |   114 +-
 sys/ufs/lfs/lfs_vnops.c                           |    94 +-
 sys/ufs/ufs/inode.h                               |    17 +-
 sys/ufs/ufs/ufs_bmap.c                            |    13 +-
 sys/ufs/ufs/ufs_lookup.c                          |     5 +-
 sys/ufs/ufs/ufs_readwrite.c                       |    11 +-
 sys/ufs/ufs/ufs_vnops.c                           |    15 +-
 sys/uvm/uvm_amap.c                                |    16 +-
 sys/uvm/uvm_aobj.c                                |    62 +-
 sys/uvm/uvm_extern.h                              |     4 +-
 sys/uvm/uvm_fault.c                               |     9 +-
 sys/uvm/uvm_glue.c                                |     8 +-
 sys/uvm/uvm_loan.c                                |    12 +-
 sys/uvm/uvm_mmap.c                                |    10 +-
 sys/uvm/uvm_object.h                              |     5 +-
 sys/uvm/uvm_page.c                                |     6 +-
 sys/uvm/uvm_pager.c                               |    15 +-
 sys/uvm/uvm_pager.h                               |     5 +-
 sys/uvm/uvm_pdaemon.c                             |    13 +-
 sys/uvm/uvm_pglist.c                              |   211 +-
 sys/uvm/uvm_pmap.h                                |     6 +-
 sys/uvm/uvm_swap.c                                |   134 +-
 sys/uvm/uvm_swap.h                                |     6 +-
 sys/uvm/uvm_vnode.c                               |    29 +-
 1378 files changed, 96797 insertions(+), 44391 deletions(-)

diffs (truncated from 230939 to 300 lines):

diff -r 944786cb5c37 -r 261aba88b4e4 sys/arch/x86_64/x86_64/genassym.cf
--- a/sys/arch/x86_64/x86_64/genassym.cf        Sun Jun 23 17:33:32 2002 +0000
+++ b/sys/arch/x86_64/x86_64/genassym.cf        Sun Jun 23 17:43:33 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: genassym.cf,v 1.1 2001/06/19 01:58:46 fvdl Exp $
+#      $NetBSD: genassym.cf,v 1.1.2.1 2002/06/23 17:43:33 jdolecek Exp $
 
 #
 # Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -74,7 +74,7 @@
 #      @(#)genassym.c  5.11 (Berkeley) 5/10/91
 #
 
-if defined(_KERNEL) && !defined(_LKM)
+if defined(_KERNEL_OPT)
 include "opt_compat_netbsd32.h"
 endif
 
@@ -94,6 +94,7 @@
 include <machine/trap.h>
 include <machine/pmap.h>
 include <machine/vmparam.h>
+include <machine/cpu.h>
 
 if defined(COMPAT_NETBSD32)
 include <machine/netbsd32_machdep.h>
@@ -109,7 +110,12 @@
 define SRUN                    SRUN
 define SONPROC                 SONPROC
 
+define L3_SLOT_KERNBASE        pl3_pi(KERNBASE)
+define L2_SLOT_KERNBASE        pl2_pi(KERNBASE)
+define L1_SLOT_KERNBASE        pl1_pi(KERNBASE)
+
 define VM_MAXUSER_ADDRESS      (unsigned long long)VM_MAXUSER_ADDRESS
+define VM_MIN_KERNEL_ADDRESS   (unsigned long long)VM_MIN_KERNEL_ADDRESS
 
 define UVM_PAGE_IDLE_ZERO      offsetof(struct uvm, page_idle_zero)
 
@@ -123,8 +129,10 @@
 define P_MD_TSS_SEL            offsetof(struct proc, p_md.md_tss_sel)
 define P_MD_REGS               offsetof(struct proc, p_md.md_regs)
 define P_MD_SYSCALL            offsetof(struct proc, p_md.md_syscall)
+define P_MD_FLAGS              offsetof(struct proc, p_md.md_flags)
 
 define P_SYSTEM                P_SYSTEM
+define P_32                    P_32
 
 define M_DATA                  offsetof(struct mbuf, m_data)
 define M_LEN                   offsetof(struct mbuf, m_len)
@@ -139,17 +147,19 @@
 define PCB_CR3                 offsetof(struct pcb, pcb_cr3)
 define PCB_RBP                 offsetof(struct pcb, pcb_rbp)
 define PCB_RSP                 offsetof(struct pcb, pcb_rsp)
-define PCB_FS                  offsetof(struct pcb, pcb_fs)
-define PCB_GS                  offsetof(struct pcb, pcb_gs)
+define PCB_USERSP              offsetof(struct pcb, pcb_usersp)
+define PCB_RSP0                offsetof(struct pcb, pcb_tss.tss_rsp0)
 define PCB_CR0                 offsetof(struct pcb, pcb_cr0)
 define PCB_LDT_SEL             offsetof(struct pcb, pcb_ldt_sel)
 define PCB_ONFAULT             offsetof(struct pcb, pcb_onfault)
 
 define TF_CS                   offsetof(struct trapframe, tf_cs)
 define TF_RIP                  offsetof(struct trapframe, tf_rip)
+define TF_RSP                  offsetof(struct trapframe, tf_rsp)
+define TF_SS                   offsetof(struct trapframe, tf_ss)
 define TF_ERR                  offsetof(struct trapframe, tf_err)
 define TF_TRAPNO               offsetof(struct trapframe, tf_trapno)
-define TF_EFLAGS               offsetof(struct trapframe, tf_eflags)
+define TF_RFLAGS               offsetof(struct trapframe, tf_rflags)
 
 define FRAMESIZE               sizeof(struct trapframe)
 
@@ -160,7 +170,9 @@
 define SIGF_SCP                offsetof(struct sigframe, sf_scp)
 define SC_FS                   offsetof(struct sigcontext, sc_fs)
 define SC_GS                   offsetof(struct sigcontext, sc_gs)
-define SC_EFLAGS               offsetof(struct sigcontext, sc_eflags)
+define SC_RFLAGS               offsetof(struct sigcontext, sc_rflags)
+
+define CPU_INFO_SCRATCH        offsetof(struct cpu_info, ci_scratch)
 
 define IH_FUN                  offsetof(struct intrhand, ih_fun)
 define IH_ARG                  offsetof(struct intrhand, ih_arg)
diff -r 944786cb5c37 -r 261aba88b4e4 sys/arch/x86_64/x86_64/locore.S
--- a/sys/arch/x86_64/x86_64/locore.S   Sun Jun 23 17:33:32 2002 +0000
+++ b/sys/arch/x86_64/x86_64/locore.S   Sun Jun 23 17:43:33 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.S,v 1.1 2001/06/19 00:21:16 fvdl Exp $  */
+/*     $NetBSD: locore.S,v 1.1.2.1 2002/06/23 17:43:33 jdolecek Exp $  */
 
 /*
  * Copyright-o-rama!
@@ -207,6 +207,9 @@
        .space 512
 tmpstk:
 
+       .globl _C_LABEL(cpu_private)
+       .comm _C_LABEL(cpu_private),NBPG,NBPG
+
 /*
  * Some hackage to deal with 64bit symbols in 32 bit mode.
  * This may not be needed it things are cleaned up a little.
@@ -382,13 +385,26 @@
  *                           0          1       2      3
  */
 
+#if L2_SLOT_KERNBASE > 0
+#define TABLE_L2_ENTRIES (2 * (NKL2_KIMG_ENTRIES + 1))
+#else
+#define TABLE_L2_ENTRIES (NKL2_KIMG_ENTRIES + 1)
+#endif
+
+#if L3_SLOT_KERNBASE > 0
+#define TABLE_L3_ENTRIES (2 * NKL3_KIMG_ENTRIES)
+#else
+#define TABLE_L3_ENTRIES NKL3_KIMG_ENTRIES
+#endif
+
+
 #define PROC0_PML4_OFF 0
 #define PROC0_STK_OFF  (PROC0_PML4_OFF + NBPG)
 #define PROC0_PTP3_OFF (PROC0_STK_OFF + UPAGES * NBPG)
-#define PROC0_PTP2_OFF (PROC0_PTP3_OFF + NKL4_START_ENTRIES * NBPG)
-#define PROC0_PTP1_OFF (PROC0_PTP2_OFF + NKL3_START_ENTRIES * NBPG)
+#define PROC0_PTP2_OFF (PROC0_PTP3_OFF + NKL4_KIMG_ENTRIES * NBPG)
+#define PROC0_PTP1_OFF (PROC0_PTP2_OFF + TABLE_L3_ENTRIES * NBPG)
 #define TABLESIZE \
-  ((NKL4_START_ENTRIES + NKL3_START_ENTRIES + NKL2_START_ENTRIES + 1 + UPAGES) \
+  ((NKL4_KIMG_ENTRIES + TABLE_L3_ENTRIES + TABLE_L2_ENTRIES + 1 + UPAGES) \
     * NBPG)
 
        /* Find end of kernel image. */
@@ -435,14 +451,13 @@
         */
        GET_RELOC_ADDR(etext)
        movl    %ebp,%edx               /* should be $RELOC */
-       subl    $KERNBASE_LO,%edx
        addl    $PGOFSET,%edx
        andl    $~PGOFSET,%edx
 
        /*
         * Skip the first MB.
         */
-       movl    $KERNTEXTOFF_LO,%eax
+       movl    $(KERNTEXTOFF_LO - KERNBASE_LO),%eax
        movl    %eax,%ecx
        shrl    $(PGSHIFT-3),%ecx       /* ((n >> PGSHIFT) << 3) for # pdes */
        addl    %ecx,%ebx
@@ -471,28 +486,46 @@
        leal    (PROC0_PTP2_OFF)(%esi),%ebx
        leal    (PROC0_PTP1_OFF)(%esi),%eax
        orl     $(PG_V|PG_KW), %eax
-       movl    $NKL2_START_ENTRIES,%ecx
+       movl    $(NKL2_KIMG_ENTRIES+1),%ecx
        fillkpt
 
+#if L2_SLOT_KERNBASE > 0
+       /* If needed, set up level 2 entries for actual kernel mapping */
+       leal    (PROC0_PTP2_OFF+ L2_SLOT_KERNBASE*8)(%esi),%ebx
+       leal    (PROC0_PTP1_OFF)(%esi),%eax
+       orl     $(PG_V|PG_KW), %eax
+       movl    $(NKL2_KIMG_ENTRIES+1),%ecx
+       fillkpt
+#endif
+
        /* Set up level 3 pages */
        leal    (PROC0_PTP3_OFF)(%esi),%ebx
        leal    (PROC0_PTP2_OFF)(%esi),%eax
        orl     $(PG_V|PG_KW), %eax
-       movl    $NKL3_START_ENTRIES,%ecx
+       movl    $NKL3_KIMG_ENTRIES,%ecx
        fillkpt
 
+#if L3_SLOT_KERNBASE > 0
+       /* If needed, set up level 3 entries for actual kernel mapping */
+       leal    (PROC0_PTP3_OFF+ L3_SLOT_KERNBASE*8)(%esi),%ebx
+       leal    (PROC0_PTP2_OFF)(%esi),%eax
+       orl     $(PG_V|PG_KW), %eax
+       movl    $NKL3_KIMG_ENTRIES,%ecx
+       fillkpt
+#endif
+
        /* Set up top level entries for identity mapping */
        leal    (PROC0_PML4_OFF)(%esi),%ebx
        leal    (PROC0_PTP3_OFF)(%esi),%eax
        orl     $(PG_V|PG_KW), %eax
-       movl    $NKL3_START_ENTRIES,%ecx
+       movl    $NKL4_KIMG_ENTRIES,%ecx
        fillkpt
 
        /* Set up top level entries for actual kernel mapping */
-       leal    (PROC0_PML4_OFF + PDIR_SLOT_KERN*8)(%esi),%ebx
+       leal    (PROC0_PML4_OFF + L4_SLOT_KERNBASE*8)(%esi),%ebx
        leal    (PROC0_PTP3_OFF)(%esi),%eax
        orl     $(PG_V|PG_KW), %eax
-       movl    $NKL3_START_ENTRIES,%ecx
+       movl    $NKL4_KIMG_ENTRIES,%ecx
        fillkpt
 
        /* Install recursive top level PDE */
@@ -513,7 +546,7 @@
         * 1. Enable PAE (and SSE while here).
         */
        movl    %cr4,%eax
-       orl     $(CR4_PAE|CR4_OSFXSR),%eax
+       orl     $(CR4_PAE|CR4_OSFXSR|CR4_OSXMMEXCPT),%eax
        movl    %eax,%cr4
 
        /*
@@ -573,9 +606,28 @@
         * There's no need anymore for the identity mapping in low
         * memory, remove it.
         */
-       movq    $NKL4_START_ENTRIES,%rcx
+       movq    $KERNBASE,%r8
+
+#if L2_SLOT_KERNBASE > 0
+       movq    $(NKL2_KIMG_ENTRIES+1),%rcx
+       leaq    (PROC0_PTP2_OFF)(%rsi),%rbx
+       addq    %r8, %rbx
+1:     movq    $0,(%rbx)
+       addq    $8,%rbx
+       loop    1b
+#endif
+
+#if L3_SLOT_KERNBASE > 0
+       movq    $NKL3_KIMG_ENTRIES,%rcx
+       leaq    (PROC0_PTP3_OFF)(%rsi),%rbx
+       addq    %r8, %rbx
+1:     movq    $0,(%rbx)
+       addq    $8,%rbx
+       loop    1b
+#endif
+
+       movq    $NKL4_KIMG_ENTRIES,%rcx
        leaq    (PROC0_PML4_OFF)(%rsi),%rbx     # old, phys  address of PML4
-       movq    $KERNBASE,%r8
        addq    %r8, %rbx                       # new, virtual adress of PML4
 1:     movq    $0,(%rbx)
        addq    $8,%rbx
@@ -594,24 +646,16 @@
        movq    %rsi,PCB_CR3(%rax)      # pcb->pcb_cr3
        xorq    %rbp,%rbp               # mark end of frames
 
-       leaq    (TABLESIZE)(%rsi),%rdi  # skip past stack and page tables
+       xorw    %ax,%ax
+       movw    %ax,%gs
+       movw    %ax,%fs
+
+       /* XXX merge these */
+       movq    $VM_MIN_KERNEL_ADDRESS,%rdi
        call    _C_LABEL(init_x86_64)
 
-       /* Clear segment registers; always null in proc0. */
-       xorq    %rax,%rax
-       movq    $MSR_FSBASE,%rcx
-       wrmsr
-       movq    $MSR_GSBASE,%rcx
-       wrmsr
-
        call    _C_LABEL(main)
 
-NENTRY(proc_trampoline)
-       movq    %r13,%rdi
-       call    *%r12
-       INTRFASTEXIT
-       /* NOTREACHED */
-
 /*****************************************************************************/
 
 /*
@@ -632,9 +676,9 @@
        movq    %rax,%rdi
        pushq   %rax
        movq    $SYS___sigreturn14,%rax
-       int     $0x80
+       syscall
        movq    $SYS_exit,%rax
-       int     $0x80
+       syscall
        .globl  _C_LABEL(esigcode)
 _C_LABEL(esigcode):
 
@@ -966,12 +1010,6 @@
 
        movq    P_ADDR(%r13),%r13
 
-       /* Save segment registers. */
-       movl    %fs,%eax
-       movl    %gs,%ecx
-       movl    %eax,PCB_FS(%r13)
-       movl    %ecx,PCB_GS(%r13)
-
        /* Save stack pointers. */
        movq    %rsp,PCB_RSP(%r13)
        movq    %rbp,PCB_RBP(%r13)
@@ -1017,12 +1055,6 @@
        andl    $~0x0200,4(%rax,%rdx, 1)
        ltr     %dx




Home | Main Index | Thread Index | Old Index