Source-Changes-HG archive

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

[src/trunk]: src/sys/arch make compile



details:   https://anonhg.NetBSD.org/src/rev/54df217b2f56
branches:  trunk
changeset: 552196:54df217b2f56
user:      cl <cl%NetBSD.org@localhost>
date:      Sun Sep 21 14:41:33 2003 +0000

description:
make compile

diffstat:

 sys/arch/sun2/sun2/genassym.cf |  3 ++-
 sys/arch/sun2/sun2/locore.s    |  4 ++--
 sys/arch/sun68k/include/bus.h  |  4 +++-
 sys/arch/sun68k/include/cpu.h  |  5 +++--
 4 files changed, 10 insertions(+), 6 deletions(-)

diffs (75 lines):

diff -r 3d8ad5df272e -r 54df217b2f56 sys/arch/sun2/sun2/genassym.cf
--- a/sys/arch/sun2/sun2/genassym.cf    Sun Sep 21 14:27:40 2003 +0000
+++ b/sys/arch/sun2/sun2/genassym.cf    Sun Sep 21 14:41:33 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: genassym.cf,v 1.3 2003/01/18 06:58:34 thorpej Exp $
+#      $NetBSD: genassym.cf,v 1.4 2003/09/21 14:41:33 cl Exp $
 
 #
 # Copyright (c) 1994, 1995 Gordon W. Ross
@@ -108,6 +108,7 @@
 # kernel-isms
 define KERNBASE                        KERNBASE
 define USPACE                          USPACE
+define PAGE_SIZE                       PAGE_SIZE
 define NBPG                            NBPG
 define NBSG                            NBSG
 
diff -r 3d8ad5df272e -r 54df217b2f56 sys/arch/sun2/sun2/locore.s
--- a/sys/arch/sun2/sun2/locore.s       Sun Sep 21 14:27:40 2003 +0000
+++ b/sys/arch/sun2/sun2/locore.s       Sun Sep 21 14:41:33 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.s,v 1.14 2003/08/07 16:29:53 agc Exp $  */
+/*     $NetBSD: locore.s,v 1.15 2003/09/21 14:41:33 cl Exp $   */
 
 /*
  * Copyright (c) 1980, 1990, 1993
@@ -176,7 +176,7 @@
        clrl    %sp@-                   | tf_stackadj
        lea     %sp@(-64),%sp           | tf_regs[16]
        lea     _C_LABEL(lwp0),%a0      | proc0.p_md.md_regs = 
-       movl    %a1,%a0@(P_MDREGS)      |   trapframe
+       movl    %a1,%a0@(L_MD_REGS)     |   trapframe
        jbsr    _C_LABEL(main)          | main(&trapframe)
        PANIC("main() returned")
 
diff -r 3d8ad5df272e -r 54df217b2f56 sys/arch/sun68k/include/bus.h
--- a/sys/arch/sun68k/include/bus.h     Sun Sep 21 14:27:40 2003 +0000
+++ b/sys/arch/sun68k/include/bus.h     Sun Sep 21 14:41:33 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus.h,v 1.5 2003/06/15 23:09:07 fvdl Exp $     */
+/*     $NetBSD: bus.h,v 1.6 2003/09/21 14:41:34 cl Exp $       */
 
 /*-
  * Copyright (c) 1996, 1997, 1998, 2001 The NetBSD Foundation, Inc.
@@ -81,6 +81,8 @@
 typedef u_long bus_addr_t;
 typedef u_long bus_size_t;
 
+#define        BUS_ADDR_PADDR(x)       ((x)&0xffffffff)
+
 /*
  * Access methods for bus resources and address space.
  */
diff -r 3d8ad5df272e -r 54df217b2f56 sys/arch/sun68k/include/cpu.h
--- a/sys/arch/sun68k/include/cpu.h     Sun Sep 21 14:27:40 2003 +0000
+++ b/sys/arch/sun68k/include/cpu.h     Sun Sep 21 14:41:33 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.h,v 1.5 2003/08/07 16:30:00 agc Exp $      */
+/*     $NetBSD: cpu.h,v 1.6 2003/09/21 14:41:34 cl Exp $       */
 
 /*
  * Copyright (c) 1982, 1990 The Regents of the University of California.
@@ -121,10 +121,11 @@
  */
 #define        cpu_number()                    0
 #define        cpu_wait(p)                     /* nothing */
-#define        cpu_proc_fork(p1, p2)           /* nothing */
 #define        cpu_swapin(p)                   /* nothing */
 #define        cpu_swapout(p)                  /* nothing */
 
+void   cpu_proc_fork __P((struct proc *, struct proc *));
+
 /*
  * Arguments to hardclock and gatherstats encapsulate the previous
  * machine state in an opaque clockframe.  On the sun68k, we use



Home | Main Index | Thread Index | Old Index