Source-Changes-HG archive

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

[src/trunk]: src/sys/arch The walnut port has been subsumed by the new evbppc...



details:   https://anonhg.NetBSD.org/src/rev/8b791c2e9b6d
branches:  trunk
changeset: 540313:8b791c2e9b6d
user:      scw <scw%NetBSD.org@localhost>
date:      Mon Dec 09 14:57:47 2002 +0000

description:
The walnut port has been subsumed by the new evbppc port.

diffstat:

 sys/arch/README                            |     3 +-
 sys/arch/walnut/Makefile                   |    32 -
 sys/arch/walnut/compile/mkimg.sh           |    35 -
 sys/arch/walnut/conf/INSTALL               |    24 -
 sys/arch/walnut/conf/Makefile.walnut.inc   |    14 -
 sys/arch/walnut/conf/WALNUT                |   257 ------
 sys/arch/walnut/conf/files.walnut          |    81 --
 sys/arch/walnut/conf/majors.walnut         |    56 -
 sys/arch/walnut/conf/std.walnut            |    15 -
 sys/arch/walnut/dev/ds1743.c               |   269 -------
 sys/arch/walnut/dev/ds1743reg.h            |    66 -
 sys/arch/walnut/dev/ibm405gp.c             |   139 ---
 sys/arch/walnut/dev/pbus.c                 |   204 -----
 sys/arch/walnut/dev/pbusvar.h              |    46 -
 sys/arch/walnut/dev/pckbc_pbus.c           |   151 ----
 sys/arch/walnut/dev/todclock.c             |   324 --------
 sys/arch/walnut/dev/todclockvar.h          |    55 -
 sys/arch/walnut/include/Makefile           |    24 -
 sys/arch/walnut/include/ansi.h             |     3 -
 sys/arch/walnut/include/aout_machdep.h     |     3 -
 sys/arch/walnut/include/asm.h              |     3 -
 sys/arch/walnut/include/bswap.h            |     4 -
 sys/arch/walnut/include/bus.h              |  1037 ----------------------------
 sys/arch/walnut/include/cdefs.h            |     3 -
 sys/arch/walnut/include/cpu.h              |    43 -
 sys/arch/walnut/include/darwin_machdep.h   |     3 -
 sys/arch/walnut/include/db_machdep.h       |     3 -
 sys/arch/walnut/include/dcr.h              |    43 -
 sys/arch/walnut/include/disklabel.h        |    52 -
 sys/arch/walnut/include/elf_machdep.h      |     3 -
 sys/arch/walnut/include/endian.h           |     3 -
 sys/arch/walnut/include/endian_machdep.h   |     3 -
 sys/arch/walnut/include/float.h            |     3 -
 sys/arch/walnut/include/fpu.h              |     3 -
 sys/arch/walnut/include/frame.h            |    94 --
 sys/arch/walnut/include/ieee.h             |     3 -
 sys/arch/walnut/include/ieeefp.h           |     3 -
 sys/arch/walnut/include/int_const.h        |     3 -
 sys/arch/walnut/include/int_fmtio.h        |     3 -
 sys/arch/walnut/include/int_limits.h       |     3 -
 sys/arch/walnut/include/int_mwgwtypes.h    |     3 -
 sys/arch/walnut/include/int_types.h        |     3 -
 sys/arch/walnut/include/intr.h             |   208 -----
 sys/arch/walnut/include/ipkdb.h            |     3 -
 sys/arch/walnut/include/kcore.h            |     3 -
 sys/arch/walnut/include/limits.h           |     3 -
 sys/arch/walnut/include/loadfile_machdep.h |    56 -
 sys/arch/walnut/include/lock.h             |     3 -
 sys/arch/walnut/include/macho_machdep.h    |     3 -
 sys/arch/walnut/include/math.h             |     3 -
 sys/arch/walnut/include/param.h            |   137 ---
 sys/arch/walnut/include/pcb.h              |     3 -
 sys/arch/walnut/include/pci_machdep.h      |    89 --
 sys/arch/walnut/include/pio.h              |     3 -
 sys/arch/walnut/include/pmap.h             |     3 -
 sys/arch/walnut/include/pmc.h              |     3 -
 sys/arch/walnut/include/powerpc.h          |    43 -
 sys/arch/walnut/include/proc.h             |     3 -
 sys/arch/walnut/include/profile.h          |     3 -
 sys/arch/walnut/include/psl.h              |    17 -
 sys/arch/walnut/include/pte.h              |     3 -
 sys/arch/walnut/include/ptrace.h           |     3 -
 sys/arch/walnut/include/reg.h              |     3 -
 sys/arch/walnut/include/reloc.h            |     3 -
 sys/arch/walnut/include/rnd.h              |     3 -
 sys/arch/walnut/include/rtc.h              |    61 -
 sys/arch/walnut/include/setjmp.h           |     3 -
 sys/arch/walnut/include/signal.h           |     3 -
 sys/arch/walnut/include/stdarg.h           |     3 -
 sys/arch/walnut/include/tlb.h              |     6 -
 sys/arch/walnut/include/trap.h             |     3 -
 sys/arch/walnut/include/types.h            |     5 -
 sys/arch/walnut/include/varargs.h          |     3 -
 sys/arch/walnut/include/vmparam.h          |   119 ---
 sys/arch/walnut/include/walnut.h           |   154 ----
 sys/arch/walnut/pci/pchb.c                 |   204 -----
 sys/arch/walnut/pci/pci_machdep.c          |   261 -------
 sys/arch/walnut/walnut/autoconf.c          |    90 --
 sys/arch/walnut/walnut/bus_dma.c           |   651 -----------------
 sys/arch/walnut/walnut/consinit.c          |   134 ---
 sys/arch/walnut/walnut/disksubr.c          |   311 --------
 sys/arch/walnut/walnut/genassym.cf         |    78 --
 sys/arch/walnut/walnut/locore.S            |   282 -------
 sys/arch/walnut/walnut/machdep.c           |   672 ------------------
 sys/arch/walnut/walnut/procfs_machdep.c    |    21 -
 85 files changed, 1 insertions(+), 6786 deletions(-)

diffs (truncated from 7137 to 300 lines):

diff -r a4127d2a6e6d -r 8b791c2e9b6d sys/arch/README
--- a/sys/arch/README   Mon Dec 09 14:45:59 2002 +0000
+++ b/sys/arch/README   Mon Dec 09 14:57:47 2002 +0000
@@ -1,4 +1,4 @@
-$NetBSD: README,v 1.27 2002/12/09 12:29:17 scw Exp $
+$NetBSD: README,v 1.28 2002/12/09 14:57:47 scw Exp $
 
 acorn26:       Acorn ARM2- and ARM3-based machines (arm, 20000509)
 acorn32:       Acorn computers Ltd. ARM 6/7/SA based machines (arm, 20011118)
@@ -55,7 +55,6 @@
 sun2:          Sun m68010 based machines (m68k, 20010328)
 sun3:          Sun m680[23]0 based machines (m68k, 19930625)
 vax:           Digital Equipment Corp. VAX machines (vax, 19940802)
-walnut:                IBM's PowerPC 405GP Reference Board (powerpc, 20010613)
 x68k:          Sharp X68000, X68030 (m68k, 19960505)
 x86_64:                AMD's x86 64 bit architecture on the simics simulator (x86_64, 20010619)
 
diff -r a4127d2a6e6d -r 8b791c2e9b6d sys/arch/walnut/Makefile
--- a/sys/arch/walnut/Makefile  Mon Dec 09 14:45:59 2002 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-#      $NetBSD: Makefile,v 1.1 2001/06/13 06:01:50 simonb Exp $
-
-ETAGS?= etags
-
-SUBDIR=        include
-
-SWALNUT=       walnut/*.[ch] include/*.h dev/*.[ch] pci/*.[ch]
-AWALNUT=       walnut/*.[sS]
-
-SPPC=          ../powerpc/ibm4xx/*.[ch] ../powerpc/powerpc/*.[ch] \
-               ../powerpc/include/*.h ../powerpc/include/ibm4xx/*.h \
-               ../powerpc/fpu/*.[ch]
-APPC=          ../powerpc/ibm4xx/*.[sS] ../powerpc/powerpc/*.[sS]
-LPPC=          ../../lib/libkern/arch/powerpc/*.[chsS] \
-               ../../lib/libkern/*.[ch] \
-               ../../lib/libsa/*.[ch]
-
-SYSDIR=                ../..
-.include "../../kern/Make.tags.inc"
-
-.ifmake TAGS
-COMM!=  find ${SYSDIR} -name "arch" -prune -o -name "*.[ch]" -print 
-.endif
-
-TAGS: ${SWALNUT} ${COMM} ${SPPC} ${COMM} ${ASPARC64}
-       @echo Making TAGS...
-       @${ETAGS} ${SWALNUT} ${COMM} ${SPPC} ${COMM} "--regex=/^GLOBAL(\(.*\))/\1/" \
-               "--regex=/^_C_LABEL(\(.*\)):/\1/" "--regex=/^\(.*\):/\1/" \
-               "--regex=/^ENTRY(\(.*\)):/\1/" "--regex=/^ASENTRY(\(.*\)):/\1/" \
-               ${APPC} ${AWALNUT}
-
-.include <bsd.subdir.mk>
diff -r a4127d2a6e6d -r 8b791c2e9b6d sys/arch/walnut/compile/mkimg.sh
--- a/sys/arch/walnut/compile/mkimg.sh  Mon Dec 09 14:45:59 2002 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-#!/bin/sh
-# $NetBSD: mkimg.sh,v 1.2 2001/09/17 15:57:00 reinoud Exp $
-
-# Convert a kernel to an tftp image loadable by the walnut IBM openbios.
-
-if [ $# -ne 2 ] ; then
-       echo usage: $0 kernel image 1>&2
-       exit 1
-fi
-
-kernel=$1; shift
-output=$1; shift
-
-: ${OBJDUMP=objdump}
-: ${OBJCOPY=objcopy}
-
-start=`${OBJDUMP} -f ${kernel} | awk '/start address/ { print $NF }'`
-start=`printf "%d" $start`
-${OBJCOPY} -O binary ${kernel} ${kernel}.bin.$$
-size=`/bin/ls -l ${kernel}.bin.$$ | awk '{ printf "%d", ( $5 + 511 ) / 512 }'`
-
-printf "%d\n%d\n0\n%d\n0\n0\n0\n" $start $size $start |
-    awk 'BEGIN { printf "\x00\x52\x50\x4f" }
-       {
-               printf "%c", $0 / 256 / 256 / 256 ;
-               printf "%c", $0 / 256 / 256 ;
-               printf "%c", $0 / 256 ;
-               printf "%c", $0 ;
-       }
-    ' > ${output}
-
-cat ${kernel}.bin.$$ >> ${output}
-
-rm -f ${kernel}.bin.$$
-exit
diff -r a4127d2a6e6d -r 8b791c2e9b6d sys/arch/walnut/conf/INSTALL
--- a/sys/arch/walnut/conf/INSTALL      Mon Dec 09 14:45:59 2002 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-#      $NetBSD: INSTALL,v 1.4 2002/10/15 21:54:24 jdolecek Exp $
-
-include "arch/walnut/conf/WALNUT"
-
-#ident                 "INSTALL-$Revision: 1.4 $"
-
-# DEBUG options turned on:
-
-#options       LOCKDEBUG
-options        DIAGNOSTIC
-#makeoptions   DEBUG="-g"
-options        DEBUG
-#options       SYSCALL_DEBUG
-options                PIPE_SOCKETPAIR         # smaller, but slower pipe(2)
-options        MALLOC_NOINLINE         # Not inlining MALLOC saves memory
-options        VNODE_OP_NOINLINE       # Not inlining vnode op calls saves mem
-
-# Enable the hooks used for initializing the root memory-disk.
-options        MEMORY_DISK_HOOKS
-options        MEMORY_DISK_IS_ROOT     # force root on memory disk
-options        MEMORY_DISK_SERVER=0    # no userspace memory disk support
-## The ramdisk size must be kept in sync manually with the size of
-## the `ramdisk' image (which is built in distrib/walnut/ramdisk/ramdisk).
-options        MEMORY_DISK_ROOT_SIZE=16384     # size of memory disk, in blocks
diff -r a4127d2a6e6d -r 8b791c2e9b6d sys/arch/walnut/conf/Makefile.walnut.inc
--- a/sys/arch/walnut/conf/Makefile.walnut.inc  Mon Dec 09 14:45:59 2002 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-#      $NetBSD: Makefile.walnut.inc,v 1.6 2002/11/25 02:56:20 thorpej Exp $
-
-MKIMG?=        ${THISPPC}/compile/mkimg.sh
-CFLAGS+=-mcpu=403
-AFLAGS+=-mcpu=403
-TEXTADDR?=     25000
-.ifdef DBSYM
-SYSTEM_LD_TAIL_EXTRA+=; echo ${DBSYM} $@; ${DBSYM} $@
-.endif
-
-SYSTEM_LD_TAIL_EXTRA+=; \
-       echo ${MKIMG} netbsd netbsd.img ; \
-       OBJDUMP=${OBJDUMP}; OBJCOPY=${OBJCOPY}; export OBJDUMP OBJCOPY; \
-               ${MKIMG} $@ $@.img
diff -r a4127d2a6e6d -r 8b791c2e9b6d sys/arch/walnut/conf/WALNUT
--- a/sys/arch/walnut/conf/WALNUT       Mon Dec 09 14:45:59 2002 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,257 +0,0 @@
-#      $NetBSD: WALNUT,v 1.27 2002/10/14 18:39:41 elric Exp $
-#
-#      GENERIC -- everything that's currently supported
-#
-
-include                "arch/walnut/conf/std.walnut"
-
-#options       INCLUDE_CONFIG_FILE     # embed config file in kernel binary
-
-#ident                 "WALNUT"
-
-maxusers       32
-
-#options       UVMHIST
-#options       UVMHIST_PRINT
-
-# Options for necessary to use MD
-#options       MEMORY_DISK_HOOKS
-#options       MEMORY_DISK_IS_ROOT     # force root on memory disk
-#options       MEMORY_DISK_SERVER=0    # no userspace memory disk support
-#options       MEMORY_DISK_ROOT_SIZE=16384     # size of memory disk, in blocks
-
-
-#options       UCONSOLE        # users can use TIOCCONS (for xconsole)
-#options       INSECURE        # disable kernel security levels
-#options       NTP             # NTP phase/frequency locked loop
-options        KTRACE          # system call tracing via ktrace(1)
-
-options        SYSVMSG         # System V message queues
-options        SYSVSEM         # System V semaphores
-options        SYSVSHM         # System V shared memory
-#options       SHMMAXPGS=1024  # 1024 pages is the default
-
-#options       LKM             # loadable kernel modules
-
-options        USERCONF        # userconf(4) support
-#options       PIPE_SOCKETPAIR # smaller, but slower pipe(2)
-
-# Diagnostic/debugging support options
-#options       DIAGNOSTIC      # cheap kernel consistency checks
-#options       DEBUG           # expensive debugging checks/support
-options        DDB             # in-kernel debugger
-options        DDB_HISTORY_SIZE=512    # enable history editing in DDB
-options        TRAP_PANICWAIT
-options        SYMTAB_SPACE=300000     # size for embedded symbol table
-
-makeoptions    DEBUG="-g"      # compile full symbol table
-
-# Compatibility options
-#options       COMPAT_09       # NetBSD 0.9,
-#options       COMPAT_10       # NetBSD 1.0,
-#options       COMPAT_11       # NetBSD 1.1,
-#options       COMPAT_12       # NetBSD 1.2,
-options        COMPAT_13       # NetBSD 1.3,
-options        COMPAT_14       # NetBSD 1.4,
-options        COMPAT_43       # and 4.3BSD
-#options       COMPAT_386BSD_MBRPART # recognize old partition ID
-#options       TCP_COMPAT_42   # 4.2BSD TCP/IP bug compat. Not recommended.
-
-# File systems
-file-system    FFS             # UFS
-file-system    EXT2FS          # second extended file system (linux)
-file-system    LFS             # log-structured file system
-file-system    MFS             # memory file system
-file-system    NFS             # Network File System client
-file-system    CD9660          # ISO 9660 + Rock Ridge file system
-file-system    MSDOSFS         # MS-DOS file system
-file-system    FDESC           # /dev/fd
-file-system    KERNFS          # /kern
-file-system    NULLFS          # loopback file system
-file-system    OVERLAY         # overlay file system
-file-system    PORTAL          # portal filesystem (still experimental)
-file-system    PROCFS          # /proc
-file-system    UMAPFS          # NULLFS + uid and gid remapping
-file-system    UNION           # union file system
-
-# File system options
-options        QUOTA           # UFS quotas
-#options       FFS_EI          # FFS Endian Independant support
-options        SOFTDEP         # FFS soft updates support.
-options        NFSSERVER       # Network File System server
-options        EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
-                               # immutable) behave as system flags.
-
-options        NFS_BOOT_DHCP   # Support DHCP NFS root
-
-# Networking options
-#options       GATEWAY         # packet forwarding
-options        INET            # IP + ICMP + TCP + UDP
-options        INET6           # IPV6
-#options       IPSEC           # IP security
-#options       IPSEC_ESP       # IP security (encryption part; define w/IPSEC)
-#options       IPSEC_DEBUG     # debug for IP security
-#options       MROUTING        # IP multicast routing
-#options        DIRECTED_BROADCAST      # allow broadcasts through routers
-#options       NS              # XNS
-#options       NSIP            # XNS tunneling over IP
-options        ISO,TPIP        # OSI
-#options       EON             # OSI tunneling over IP
-#options       CCITT,LLC,HDLC  # X.25
-#options       NETATALK        # AppleTalk networking protocols
-options        PPP_BSDCOMP     # BSD-Compress compression support for PPP
-options        PPP_DEFLATE     # Deflate compression support for PPP
-options        PPP_FILTER      # Active filter support for PPP (requires bpf)
-options        PFIL_HOOKS      # pfil(9) packet filter hooks
-options        IPFILTER_LOG    # ipmon(8) log support
-#options       TCP_DEBUG       # Record last TCP_NDEBUG packets with SO_DEBUG
-options        NMBCLUSTERS=1024
-
-# These options enable verbose messages for several subsystems.
-# Warning, these may compile large string tables into the kernel!
-options        PCIVERBOSE      # verbose PCI device autoconfig messages
-options        MIIVERBOSE      # verbose PHY autoconfig messages
-#options       PCI_CONFIG_DUMP # verbosely dump PCI config space
-options        SCSIVERBOSE     # human readable SCSI error messages
-options        PCI_NETBSD_CONFIGURE    # Do not rely on BIOS/whatever to configure PCI devices
-#options       PCI_CONFIGURE_VERBOSE   # Show PCI config information
-
-# wscons options
-#options       WSEMUL_SUN              # sun terminal emulation
-#options       WSEMUL_VT100            # VT100 / VT220 emulation
-
-# Kernel root file system and dump configuration.
-config         netbsd  root on ? type ?
-
-#
-# Device configuration
-#
-
-plb0 at root                           # Processor Local Bus
-
-cpu0   at plb?
-
-ecc0   at plb? irq 16                  # On-chip ECC controller
-
-opb*   at plb?                         # On-chip Peripheral Bus
-
-wdog*  at opb?                         # Watchdog timer
-
-com*   at opb? addr ? irq ?            # UARTs
-
-emac0  at opb? addr ? irq ?            # Ethernet Media Access Controller
-options        EMAC_EVENT_COUNTERS
-
-pchb0  at plb?                         # PCI-Host bridges
-
-pci*   at pchb?
-ppb*   at pci? dev ? function ?        # PCI-PCI bridges
-
-fpa*   at pci? dev ? function ?        # DEC PCI FDDI (DEFPA) Controller
-ep*    at pci? dev ? function ?        # 3Com 3c59x
-epic*  at pci? dev ? function ?        # SMC EPIC/100 Ethernet
-ex*    at pci? dev ? function ?        # 3Com 90x[B]
-fxp*   at pci? dev ? function ?        # Intel EtherExpress PRO 10+/100B
-ne*    at pci? dev ? function ?        # NE2000-compatible Ethernet
-rtk*   at pci? dev ? function ?        # Realtek 8129/8139
-sip*   at pci? dev ? function ?        # SiS 900/7016 Ethernet
-tlp*   at pci? dev ? function ?        # DECchip 21x4x and clones



Home | Main Index | Thread Index | Old Index