Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Apr 2003 19:28:04 -0700 (PDT)
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 29914 for review
Message-ID:  <200304280228.h3S2S4kK038870@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=29914

Change 29914 by jmallett@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;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304280228.h3S2S4kK038870>