Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm Due to changes in ../sys/proc.h ``cpu_wait(p)''...



details:   https://anonhg.NetBSD.org/src/rev/bca8ba83e432
branches:  trunk
changeset: 504299:bca8ba83e432
user:      reinoud <reinoud%NetBSD.org@localhost>
date:      Tue Feb 27 00:16:48 2001 +0000

description:
Due to changes in ../sys/proc.h ``cpu_wait(p)'' is now a function due to the
prototype defined it in ... added it to arm/vm_machdep.c since all ARM machines
are still single processor anyway

diffstat:

 sys/arch/arm/arm/vm_machdep_arm.c |  15 +++++++++++++--
 sys/arch/arm/include/cpu.h        |   5 +----
 2 files changed, 14 insertions(+), 6 deletions(-)

diffs (55 lines):

diff -r b780a05f9cac -r bca8ba83e432 sys/arch/arm/arm/vm_machdep_arm.c
--- a/sys/arch/arm/arm/vm_machdep_arm.c Mon Feb 26 23:02:56 2001 +0000
+++ b/sys/arch/arm/arm/vm_machdep_arm.c Tue Feb 27 00:16:48 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vm_machdep_arm.c,v 1.1 2001/02/13 22:54:25 bjh21 Exp $ */
+/*     $NetBSD: vm_machdep_arm.c,v 1.2 2001/02/27 00:16:48 reinoud Exp $       */
 
 /*
  * Copyright (c) 1994-1998 Mark Brinicombe.
@@ -37,7 +37,7 @@
 
 #include <sys/param.h>
 
-__KERNEL_RCSID(0, "$NetBSD: vm_machdep_arm.c,v 1.1 2001/02/13 22:54:25 bjh21 Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm_machdep_arm.c,v 1.2 2001/02/27 00:16:48 reinoud Exp $");
 
 #include <sys/core.h>
 #include <sys/exec.h>
@@ -50,6 +50,17 @@
 #include <machine/reg.h>
 
 /*
+ * Since all ARM machines are single processors now, we'll implement
+ * cpu_wait() here now -> empty
+ */
+
+void
+cpu_wait(struct proc *p)
+{
+       /* nothing */
+};
+
+/*
  * Dump the machine specific segment at the start of a core dump.
  */
 
diff -r b780a05f9cac -r bca8ba83e432 sys/arch/arm/include/cpu.h
--- a/sys/arch/arm/include/cpu.h        Mon Feb 26 23:02:56 2001 +0000
+++ b/sys/arch/arm/include/cpu.h        Tue Feb 27 00:16:48 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.h,v 1.3 2001/02/25 21:31:13 bjh21 Exp $    */
+/*     $NetBSD: cpu.h,v 1.4 2001/02/27 00:16:48 reinoud Exp $  */
 
 /*
  * Copyright (c) 1994-1996 Mark Brinicombe.
@@ -139,9 +139,6 @@
 #endif /* _KERNEL */
 #endif /* ! _LOCORE */
 
-#define cpu_wait(p)    /* nothing */
-#define        cpu_number()    0
-
 /*
  * Notify the current process (p) that it has a signal pending,
  * process as soon as possible.



Home | Main Index | Thread Index | Old Index