Source-Changes-HG archive

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

[src/trunk]: src Remove Darwin, MACH and Mach-O support.



details:   https://anonhg.NetBSD.org/src/rev/5d68fd00c449
branches:  trunk
changeset: 764530:5d68fd00c449
user:      joerg <joerg%NetBSD.org@localhost>
date:      Tue Apr 26 15:51:22 2011 +0000

description:
Remove Darwin, MACH and Mach-O support.

diffstat:

 sys/arch/bebox/include/darwin_machdep.h                             |     3 -
 sys/arch/bebox/include/macho_machdep.h                              |     3 -
 sys/arch/evbarm/conf/MPCSA_GENERIC                                  |     7 +-
 sys/arch/evbppc/include/macho_machdep.h                             |     3 -
 sys/arch/i386/conf/ALL                                              |    14 +-
 sys/arch/i386/conf/GENERIC                                          |     7 +-
 sys/arch/i386/conf/NET4501                                          |     6 +-
 sys/arch/i386/conf/XEN3_DOM0                                        |     5 +-
 sys/arch/i386/conf/XEN3_DOMU                                        |     5 +-
 sys/arch/i386/conf/files.i386                                       |    14 +-
 sys/arch/i386/i386/apmbios.c                                        |     5 +-
 sys/arch/i386/i386/darwin_commpage_machdep.S                        |   262 --
 sys/arch/i386/i386/darwin_machdep.c                                 |   117 -
 sys/arch/i386/i386/mach_machdep.c                                   |   268 --
 sys/arch/i386/i386/mach_sigcode.S                                   |   128 -
 sys/arch/i386/i386/mach_syscall.c                                   |   255 --
 sys/arch/i386/i386/machdep.c                                        |    12 +-
 sys/arch/i386/i386/macho_machdep.c                                  |   127 -
 sys/arch/i386/include/darwin_machdep.h                              |    95 -
 sys/arch/i386/include/macho_machdep.h                               |    87 -
 sys/arch/i386/include/segments.h                                    |     3 +-
 sys/arch/ibmnws/include/darwin_machdep.h                            |     3 -
 sys/arch/ibmnws/include/macho_machdep.h                             |     3 -
 sys/arch/macppc/conf/GENERIC                                        |     9 +-
 sys/arch/macppc/conf/MAMBO                                          |     7 +-
 sys/arch/macppc/conf/POWERMAC_G5                                    |     5 -
 sys/arch/macppc/include/darwin_machdep.h                            |     3 -
 sys/arch/macppc/include/macho_machdep.h                             |     3 -
 sys/arch/mvmeppc/include/darwin_machdep.h                           |     3 -
 sys/arch/mvmeppc/include/macho_machdep.h                            |     3 -
 sys/arch/ofppc/include/darwin_machdep.h                             |     3 -
 sys/arch/ofppc/include/macho_machdep.h                              |     3 -
 sys/arch/powerpc/conf/files.powerpc                                 |    14 +-
 sys/arch/powerpc/include/darwin_machdep.h                           |   102 -
 sys/arch/powerpc/include/mach_machdep.h                             |    75 -
 sys/arch/powerpc/include/macho_machdep.h                            |   178 -
 sys/arch/powerpc/powerpc/darwin_commpage_machdep.S                  |   345 --
 sys/arch/powerpc/powerpc/darwin_machdep.c                           |   293 --
 sys/arch/powerpc/powerpc/mach_machdep.c                             |   255 --
 sys/arch/powerpc/powerpc/mach_sigcode.S                             |    77 -
 sys/arch/powerpc/powerpc/mach_syscall.c                             |    91 -
 sys/arch/powerpc/powerpc/macho_machdep.c                            |    57 -
 sys/arch/powerpc/powerpc/syscall.c                                  |    28 +-
 sys/arch/prep/include/darwin_machdep.h                              |     3 -
 sys/arch/prep/include/macho_machdep.h                               |     3 -
 sys/arch/rs6000/include/darwin_machdep.h                            |     3 -
 sys/arch/rs6000/include/macho_machdep.h                             |     3 -
 sys/arch/sandpoint/include/darwin_machdep.h                         |     3 -
 sys/arch/sandpoint/include/macho_machdep.h                          |     3 -
 sys/arch/xen/conf/files.xen                                         |    14 +-
 sys/compat/darwin/Makefile                                          |    13 -
 sys/compat/darwin/darwin_attr.c                                     |   773 ------
 sys/compat/darwin/darwin_attr.h                                     |   220 -
 sys/compat/darwin/darwin_audit.c                                    |   172 -
 sys/compat/darwin/darwin_audit.h                                    |    68 -
 sys/compat/darwin/darwin_commpage.c                                 |   205 -
 sys/compat/darwin/darwin_commpage.h                                 |   101 -
 sys/compat/darwin/darwin_exec.c                                     |   438 ---
 sys/compat/darwin/darwin_exec.h                                     |    60 -
 sys/compat/darwin/darwin_ioctl.c                                    |   141 -
 sys/compat/darwin/darwin_ioctl.h                                    |    37 -
 sys/compat/darwin/darwin_ioframebuffer.c                            |   830 ------
 sys/compat/darwin/darwin_ioframebuffer.h                            |   137 -
 sys/compat/darwin/darwin_iohidsystem.c                              |   730 -----
 sys/compat/darwin/darwin_iohidsystem.h                              |   294 --
 sys/compat/darwin/darwin_iokit.c                                    |    34 -
 sys/compat/darwin/darwin_iokit.h                                    |    67 -
 sys/compat/darwin/darwin_ktrace.c                                   |    61 -
 sys/compat/darwin/darwin_mman.c                                     |   237 -
 sys/compat/darwin/darwin_mount.c                                    |   212 -
 sys/compat/darwin/darwin_mount.h                                    |    91 -
 sys/compat/darwin/darwin_proc.h                                     |   200 -
 sys/compat/darwin/darwin_ptrace.c                                   |    97 -
 sys/compat/darwin/darwin_ptrace.h                                   |    54 -
 sys/compat/darwin/darwin_route.c                                    |   277 --
 sys/compat/darwin/darwin_route.h                                    |   139 -
 sys/compat/darwin/darwin_signal.c                                   |   179 -
 sys/compat/darwin/darwin_signal.h                                   |    81 -
 sys/compat/darwin/darwin_socket.c                                   |   384 ---
 sys/compat/darwin/darwin_socket.h                                   |    77 -
 sys/compat/darwin/darwin_stat.c                                     |   135 -
 sys/compat/darwin/darwin_syscall.h                                  |   568 ----
 sys/compat/darwin/darwin_syscallargs.h                              |   915 -------
 sys/compat/darwin/darwin_syscalls.c                                 |   416 ---
 sys/compat/darwin/darwin_sysctl.c                                   |  1104 --------
 sys/compat/darwin/darwin_sysctl.h                                   |   219 -
 sys/compat/darwin/darwin_sysent.c                                   |  1082 --------
 sys/compat/darwin/darwin_thread.c                                   |   107 -
 sys/compat/darwin/darwin_types.h                                    |    48 -
 sys/compat/darwin/darwin_unistd.c                                   |    75 -
 sys/compat/darwin/files.darwin                                      |    29 -
 sys/compat/darwin/syscalls.conf                                     |    13 -
 sys/compat/darwin/syscalls.master                                   |   560 ----
 sys/compat/mach/Makefile                                            |    16 -
 sys/compat/mach/arch/powerpc/fasttraps/Makefile                     |    14 -
 sys/compat/mach/arch/powerpc/fasttraps/mach_fasttraps_cpu.c         |    72 -
 sys/compat/mach/arch/powerpc/fasttraps/mach_fasttraps_syscall.h     |    29 -
 sys/compat/mach/arch/powerpc/fasttraps/mach_fasttraps_syscallargs.h |    51 -
 sys/compat/mach/arch/powerpc/fasttraps/mach_fasttraps_syscalls.c    |    41 -
 sys/compat/mach/arch/powerpc/fasttraps/mach_fasttraps_sysent.c      |    60 -
 sys/compat/mach/arch/powerpc/fasttraps/mach_fasttraps_thread.c      |    83 -
 sys/compat/mach/arch/powerpc/fasttraps/syscalls.conf                |    13 -
 sys/compat/mach/arch/powerpc/fasttraps/syscalls.master              |    61 -
 sys/compat/mach/arch/powerpc/files.mach_powerpc                     |    10 -
 sys/compat/mach/arch/powerpc/ppccalls/Makefile                      |    14 -
 sys/compat/mach/arch/powerpc/ppccalls/mach_ppccalls_syscall.h       |    17 -
 sys/compat/mach/arch/powerpc/ppccalls/mach_ppccalls_syscallargs.h   |    38 -
 sys/compat/mach/arch/powerpc/ppccalls/mach_ppccalls_syscalls.c      |    42 -
 sys/compat/mach/arch/powerpc/ppccalls/mach_ppccalls_sysent.c        |    61 -
 sys/compat/mach/arch/powerpc/ppccalls/syscalls.conf                 |    13 -
 sys/compat/mach/arch/powerpc/ppccalls/syscalls.master               |    62 -
 sys/compat/mach/files.mach                                          |    27 -
 sys/compat/mach/mach_bootstrap.c                                    |    81 -
 sys/compat/mach/mach_bootstrap.h                                    |    52 -
 sys/compat/mach/mach_clock.c                                        |   135 -
 sys/compat/mach/mach_clock.h                                        |    64 -
 sys/compat/mach/mach_errno.c                                        |   176 -
 sys/compat/mach/mach_errno.h                                        |   106 -
 sys/compat/mach/mach_exception.c                                    |   530 ----
 sys/compat/mach/mach_exception.h                                    |   160 -
 sys/compat/mach/mach_exec.c                                         |   458 ---
 sys/compat/mach/mach_exec.h                                         |    78 -
 sys/compat/mach/mach_host.c                                         |   241 -
 sys/compat/mach/mach_host.h                                         |   184 -
 sys/compat/mach/mach_iokit.c                                        |  1211 ---------
 sys/compat/mach/mach_iokit.h                                        |   547 ----
 sys/compat/mach/mach_message.c                                      |  1230 ----------
 sys/compat/mach/mach_message.h                                      |   276 --
 sys/compat/mach/mach_misc.c                                         |   217 -
 sys/compat/mach/mach_notify.c                                       |   182 -
 sys/compat/mach/mach_notify.h                                       |    79 -
 sys/compat/mach/mach_port.c                                         |  1004 --------
 sys/compat/mach/mach_port.h                                         |   363 --
 sys/compat/mach/mach_semaphore.c                                    |   438 ---
 sys/compat/mach/mach_semaphore.h                                    |    91 -
 sys/compat/mach/mach_services.c                                     |   362 --
 sys/compat/mach/mach_services.h                                     |    99 -
 sys/compat/mach/mach_services.master                                |   481 ---
 sys/compat/mach/mach_services_names.c                               |   351 --
 sys/compat/mach/mach_syscall.h                                      |   110 -
 sys/compat/mach/mach_syscallargs.h                                  |   258 --
 sys/compat/mach/mach_syscalls.c                                     |   159 -
 sys/compat/mach/mach_sysctl.c                                       |    73 -
 sys/compat/mach/mach_sysctl.h                                       |    43 -
 sys/compat/mach/mach_sysent.c                                       |   289 --
 sys/compat/mach/mach_task.c                                         |   707 -----
 sys/compat/mach/mach_task.h                                         |   227 -
 sys/compat/mach/mach_thread.c                                       |   486 ---
 sys/compat/mach/mach_thread.h                                       |   249 --
 sys/compat/mach/mach_types.h                                        |   113 -
 sys/compat/mach/mach_vm.c                                           |   881 -------
 sys/compat/mach/mach_vm.h                                           |   391 ---
 sys/compat/mach/makemachservices.sh                                 |   133 -
 sys/compat/mach/syscalls.conf                                       |    14 -
 sys/compat/mach/syscalls.master                                     |   241 -
 sys/conf/files                                                      |    10 +-
 sys/kern/exec_macho.c                                               |   621 -----
 sys/sys/exec_macho.h                                                |   258 --
 sys/sys/sysctl.h                                                    |     6 +-
 usr.bin/kdump/kdump.c                                               |    17 +-
 usr.bin/kdump/setemul.c                                             |   113 +-
 usr.bin/kdump/setemul.h                                             |     5 +-
 162 files changed, 35 insertions(+), 29987 deletions(-)

diffs (truncated from 31073 to 300 lines):

diff -r 2e6681fff0dd -r 5d68fd00c449 sys/arch/bebox/include/darwin_machdep.h
--- a/sys/arch/bebox/include/darwin_machdep.h   Tue Apr 26 13:38:13 2011 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-/*     $NetBSD: darwin_machdep.h,v 1.1 2002/12/08 21:53:12 manu Exp $ */
-
-#include <powerpc/darwin_machdep.h>
diff -r 2e6681fff0dd -r 5d68fd00c449 sys/arch/bebox/include/macho_machdep.h
--- a/sys/arch/bebox/include/macho_machdep.h    Tue Apr 26 13:38:13 2011 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-/*     $NetBSD: macho_machdep.h,v 1.1 2002/10/30 18:31:39 matt Exp $   */
-
-#include <powerpc/macho_machdep.h>
diff -r 2e6681fff0dd -r 5d68fd00c449 sys/arch/evbarm/conf/MPCSA_GENERIC
--- a/sys/arch/evbarm/conf/MPCSA_GENERIC        Tue Apr 26 13:38:13 2011 +0000
+++ b/sys/arch/evbarm/conf/MPCSA_GENERIC        Tue Apr 26 15:51:22 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: MPCSA_GENERIC,v 1.19 2011/03/06 17:08:22 bouyer Exp $
+# $NetBSD: MPCSA_GENERIC,v 1.20 2011/04/26 15:51:22 joerg Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "GENERIC-$Revision: 1.19 $"
+#ident                 "GENERIC-$Revision: 1.20 $"
 
 maxusers       32              # estimated number of users
 
@@ -119,9 +119,6 @@
 #options       COMPAT_IBCS2    # binary compatibility with SCO and ISC
 #options       COMPAT_LINUX    # binary compatibility with Linux
 #options       COMPAT_FREEBSD  # binary compatibility with FreeBSD
-#options       COMPAT_MACH     # binary compatibility with Mach binaries
-#options       COMPAT_DARWIN   # binary compatibility with Darwin binaries
-#options       EXEC_MACHO      # exec MACH-O binaries
 #options       COMPAT_NDIS     # NDIS network driver
 #options       COMPAT_PECOFF   # kernel support to run Win32 apps
 options        COMPAT_BSDPTY   # /dev/[pt]ty?? ptys.
diff -r 2e6681fff0dd -r 5d68fd00c449 sys/arch/evbppc/include/macho_machdep.h
--- a/sys/arch/evbppc/include/macho_machdep.h   Tue Apr 26 13:38:13 2011 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-/*     $NetBSD: macho_machdep.h,v 1.1 2002/12/09 12:16:09 scw Exp $    */
-
-#include <powerpc/macho_machdep.h>
diff -r 2e6681fff0dd -r 5d68fd00c449 sys/arch/i386/conf/ALL
--- a/sys/arch/i386/conf/ALL    Tue Apr 26 13:38:13 2011 +0000
+++ b/sys/arch/i386/conf/ALL    Tue Apr 26 15:51:22 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: ALL,v 1.303 2011/04/04 17:09:39 bouyer Exp $
+# $NetBSD: ALL,v 1.304 2011/04/26 15:51:22 joerg Exp $
 # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp
 #
 # ALL machine description file
@@ -17,7 +17,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "ALL-$Revision: 1.303 $"
+#ident                 "ALL-$Revision: 1.304 $"
 
 maxusers       64              # estimated number of users
 
@@ -150,9 +150,6 @@
 options        COMPAT_IBCS2    # binary compatibility with SCO and ISC
 options        COMPAT_LINUX    # binary compatibility with Linux
 options        COMPAT_FREEBSD  # binary compatibility with FreeBSD
-options        COMPAT_MACH     # binary compatibility with Mach binaries
-options        COMPAT_DARWIN   # binary compatibility with Darwin binaries
-options        EXEC_MACHO      # exec MACH-O binaries
 options        COMPAT_NDIS     # NDIS network driver
 options        COMPAT_PECOFF   # kernel support to run Win32 apps
 options        COMPAT_BSDPTY   # /dev/[pt]ty?? ptys.
@@ -1944,7 +1941,6 @@
 options DEBUG_COFF
 options DEBUG_CP0_ACCESS
 options DEBUG_CURSOR
-options DEBUG_DARWIN
 options DEBUG_DDB
 options DEBUG_DR
 options DEBUG_EMUL
@@ -1972,12 +1968,6 @@
 options DEBUG_LED
 options DEBUG_LINUX
 options DEBUG_LINUX_FUTEX
-options DEBUG_MACH
-options DEBUG_MACHFB 
-options DEBUG_MACHO
-options DEBUG_MACH_MSG
-options DEBUG_MACH_RIGHT
-options DEBUG_MACH_VM
 options DEBUG_MEMLOAD
 options DEBUG_MEMORY_LIST
 options DEBUG_MEMSIZE
diff -r 2e6681fff0dd -r 5d68fd00c449 sys/arch/i386/conf/GENERIC
--- a/sys/arch/i386/conf/GENERIC        Tue Apr 26 13:38:13 2011 +0000
+++ b/sys/arch/i386/conf/GENERIC        Tue Apr 26 15:51:22 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.1029 2011/04/04 17:09:39 bouyer Exp $
+# $NetBSD: GENERIC,v 1.1030 2011/04/26 15:51:22 joerg Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "GENERIC-$Revision: 1.1029 $"
+#ident                 "GENERIC-$Revision: 1.1030 $"
 
 maxusers       64              # estimated number of users
 
@@ -151,9 +151,6 @@
 #options       COMPAT_IBCS2    # binary compatibility with SCO and ISC
 #options       COMPAT_LINUX    # binary compatibility with Linux
 #options       COMPAT_FREEBSD  # binary compatibility with FreeBSD
-#options       COMPAT_MACH     # binary compatibility with Mach binaries
-#options       COMPAT_DARWIN   # binary compatibility with Darwin binaries
-#options       EXEC_MACHO      # exec MACH-O binaries
 #options       COMPAT_NDIS     # NDIS network driver
 #options       COMPAT_PECOFF   # kernel support to run Win32 apps
 options        COMPAT_BSDPTY   # /dev/[pt]ty?? ptys.
diff -r 2e6681fff0dd -r 5d68fd00c449 sys/arch/i386/conf/NET4501
--- a/sys/arch/i386/conf/NET4501        Tue Apr 26 13:38:13 2011 +0000
+++ b/sys/arch/i386/conf/NET4501        Tue Apr 26 15:51:22 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: NET4501,v 1.73 2011/03/06 17:08:26 bouyer Exp $
+# $NetBSD: NET4501,v 1.74 2011/04/26 15:51:22 joerg Exp $
 #
 # NET4501 -- kernel configuration for a Soekris Engineering net4501
 # single-board computer.
@@ -10,7 +10,7 @@
 
 #options       INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "NET4501-$Revision: 1.73 $"
+#ident                 "NET4501-$Revision: 1.74 $"
 
 maxusers       32              # estimated number of users
 
@@ -97,8 +97,6 @@
 #options       COMPAT_IBCS2    # binary compatibility with SCO and ISC
 #options       COMPAT_LINUX    # binary compatibility with Linux
 #options       COMPAT_FREEBSD  # binary compatibility with FreeBSD
-#options       COMPAT_MACH     # binary compatibility with Mach binaries
-#options       EXEC_MACHO      # exec MACH-O binaries
 #options       COMPAT_PECOFF   # kernel support to run Win32 apps
 options        COMPAT_BSDPTY   # /dev/[pt]ty?? ptys.
 
diff -r 2e6681fff0dd -r 5d68fd00c449 sys/arch/i386/conf/XEN3_DOM0
--- a/sys/arch/i386/conf/XEN3_DOM0      Tue Apr 26 13:38:13 2011 +0000
+++ b/sys/arch/i386/conf/XEN3_DOM0      Tue Apr 26 15:51:22 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: XEN3_DOM0,v 1.48 2011/04/18 01:36:25 jym Exp $
+#      $NetBSD: XEN3_DOM0,v 1.49 2011/04/26 15:51:22 joerg Exp $
 #
 #      XEN3_0: Xen 3.0 domain0 kernel
 
@@ -94,9 +94,6 @@
 options        COMPAT_IBCS2    # binary compatibility with SCO and ISC
 options        COMPAT_LINUX    # binary compatibility with Linux
 options        COMPAT_FREEBSD  # binary compatibility with FreeBSD
-#options       COMPAT_MACH     # binary compatibility with Mach binaries
-#options       COMPAT_DARWIN   # binary compatibility with Darwin binaries
-#options       EXEC_MACHO      # exec MACH-O binaries
 #options       COMPAT_PECOFF   # kernel support to run Win32 apps
 options        COMPAT_BSDPTY   # /dev/[pt]ty?? ptys.
 
diff -r 2e6681fff0dd -r 5d68fd00c449 sys/arch/i386/conf/XEN3_DOMU
--- a/sys/arch/i386/conf/XEN3_DOMU      Tue Apr 26 13:38:13 2011 +0000
+++ b/sys/arch/i386/conf/XEN3_DOMU      Tue Apr 26 15:51:22 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: XEN3_DOMU,v 1.31 2011/04/18 01:36:25 jym Exp $
+# $NetBSD: XEN3_DOMU,v 1.32 2011/04/26 15:51:23 joerg Exp $
 
 include        "arch/xen/conf/std.xen"
 
@@ -80,9 +80,6 @@
 options        COMPAT_IBCS2    # binary compatibility with SCO and ISC
 options        COMPAT_LINUX    # binary compatibility with Linux
 options        COMPAT_FREEBSD  # binary compatibility with FreeBSD
-#options       COMPAT_MACH     # binary compatibility with Mach binaries
-#options       COMPAT_DARWIN   # binary compatibility with Darwin binaries
-#options       EXEC_MACHO      # exec MACH-O binaries
 #options       COMPAT_PECOFF   # kernel support to run Win32 apps
 options        COMPAT_BSDPTY   # /dev/[pt]ty?? ptys.
 
diff -r 2e6681fff0dd -r 5d68fd00c449 sys/arch/i386/conf/files.i386
--- a/sys/arch/i386/conf/files.i386     Tue Apr 26 13:38:13 2011 +0000
+++ b/sys/arch/i386/conf/files.i386     Tue Apr 26 15:51:22 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.i386,v 1.357 2011/04/10 20:36:48 christos Exp $
+#      $NetBSD: files.i386,v 1.358 2011/04/26 15:51:23 joerg Exp $
 #
 # new style config file for i386 architecture
 #
@@ -360,18 +360,6 @@
 file   arch/i386/i386/svr4_sigcode.S           compat_svr4
 file   arch/i386/i386/svr4_syscall.c           compat_svr4
 
-# MACH binary compatibility (COMPAT_MACH)
-include        "compat/mach/files.mach"
-file   arch/i386/i386/mach_machdep.c           compat_mach | compat_darwin
-file   arch/i386/i386/mach_sigcode.S           compat_mach | compat_darwin
-file   arch/i386/i386/mach_syscall.c           compat_mach | compat_darwin
-file   arch/i386/i386/darwin_commpage_machdep.S compat_darwin
-file   arch/i386/i386/macho_machdep.c          exec_macho
-
-# DARWIN binary compatibility (COMPAT_DARWIN)
-include        "compat/darwin/files.darwin"
-file   arch/i386/i386/darwin_machdep.c         compat_darwin
-
 # iBCS-2 binary compatibility (COMPAT_IBCS2)
 include        "compat/ibcs2/files.ibcs2"
 file   arch/i386/i386/ibcs2_machdep.c          compat_ibcs2
diff -r 2e6681fff0dd -r 5d68fd00c449 sys/arch/i386/i386/apmbios.c
--- a/sys/arch/i386/i386/apmbios.c      Tue Apr 26 13:38:13 2011 +0000
+++ b/sys/arch/i386/i386/apmbios.c      Tue Apr 26 15:51:22 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: apmbios.c,v 1.17 2010/04/28 19:17:03 dyoung Exp $ */
+/*     $NetBSD: apmbios.c,v 1.18 2011/04/26 15:51:23 joerg Exp $ */
 
 /*-
  * Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -30,10 +30,9 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: apmbios.c,v 1.17 2010/04/28 19:17:03 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: apmbios.c,v 1.18 2011/04/26 15:51:23 joerg Exp $");
 
 #include "opt_apm.h"
-#include "opt_compat_mach.h"   /* Needed to get the right segment def */
 
 #ifdef APM_NOIDLE
 #error APM_NOIDLE option deprecated; use APM_NO_IDLE instead
diff -r 2e6681fff0dd -r 5d68fd00c449 sys/arch/i386/i386/darwin_commpage_machdep.S
--- a/sys/arch/i386/i386/darwin_commpage_machdep.S      Tue Apr 26 13:38:13 2011 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,262 +0,0 @@
-/*     $NetBSD: darwin_commpage_machdep.S,v 1.8 2008/04/28 20:23:24 martin Exp $ */
-
-/*-
- * Copyright (c) 2004 The NetBSD Foundation, Inc.
- * All rights reserved.
- *
- * This code is derived from software contributed to The NetBSD Foundation
- * by Christos Zoulas.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
- * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include <machine/asm.h>
-__KERNEL_RCSID(0, "$NetBSD: darwin_commpage_machdep.S,v 1.8 2008/04/28 20:23:24 martin Exp $");
-
-#include <compat/darwin/darwin_syscall.h>
-
-       .globl  _C_LABEL(darwin_commpage_bzero)
-_C_LABEL(darwin_commpage_bzero):
-       movl    8(%esp),%ecx
-       xor     %eax,%eax
-       cmpl    $0x0f,%ecx              /* avoid mispredicted branch... */
-
-       pushl   %edi
-       movl    8(%esp),%edi
-
-       cld                             /* set fill direction forward */
-
-       /*
-        * if the string is too short, it's really not worth the overhead
-        * of aligning to word boundries, etc.  So we jump to a plain
-        * unaligned set.
-        *
-        * NB aligning the transfer is actually pointless on my athlon 700,
-        * It does make a difference to a PII though.
-        *
-        * The PII, PIII and PIV all seem to have a massive performance



Home | Main Index | Thread Index | Old Index