PERFORCE change 29914 for review
Juli Mallett
jmallett at FreeBSD.org
Sun Apr 27 19:28:07 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=29914
Change 29914 by jmallett at jmallett_dalek on 2003/04/27 19:27:18
s/cpu_prid/cpu_id/ for NetBSD compat.
Affected files ...
.. //depot/projects/mips/sys/mips/include/md_var.h#6 edit
.. //depot/projects/mips/sys/mips/mips/locore.S#3 edit
.. //depot/projects/mips/sys/mips/mips/machdep.c#13 edit
Differences ...
==== //depot/projects/mips/sys/mips/include/md_var.h#6 (text+ko) ====
@@ -31,6 +31,9 @@
extern vm_offset_t kstack0;
extern vm_paddr_t kstack0_phys;
+extern int cpu_id;
+extern int fpu_id;
+
void cpu_halt(void);
void cpu_reset(void);
void mips_init(void);
==== //depot/projects/mips/sys/mips/mips/locore.S#3 (text+ko) ====
@@ -90,7 +90,7 @@
# coprocessor 1.
mfc0 t0, MIPS_COP_0_PRID
cfc1 t1, MIPS_FPU_ID
- sw t0, cpu_prid
+ sw t0, cpu_id
sw t1, fpu_id
# Call the platform-specific startup code.
==== //depot/projects/mips/sys/mips/mips/machdep.c#13 (text+ko) ====
@@ -40,7 +40,7 @@
#include <machine/md_var.h>
int cold = 1;
-int cpu_prid, fpu_id;
+int cpu_id, fpu_id;
struct pcpu pcpu0;
More information about the p4-projects
mailing list