PERFORCE change 32745 for review
Juli Mallett
jmallett at FreeBSD.org
Sat Jun 7 05:11:56 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=32745
Change 32745 by jmallett at jmallett_dalek on 2003/06/07 05:10:57
GC SetPID code...
Affected files ...
.. //depot/projects/mips/sys/mips/include/locore.h#8 edit
.. //depot/projects/mips/sys/mips/mips/machdep.c#31 edit
.. //depot/projects/mips/sys/mips/mips/mips_subr.S#9 edit
Differences ...
==== //depot/projects/mips/sys/mips/include/locore.h#8 (text+ko) ====
@@ -31,7 +31,6 @@
struct tlb;
-void mips64_SetPID(int);
void mips64_TBIA(int);
void mips64_TBIAP(int);
void mips64_TBIS(vm_paddr_t);
@@ -66,7 +65,6 @@
* XXX Sprite coding-convention names used in 4.4bsd/pmax.
*/
typedef struct {
- void (*setTLBpid)(int pid);
void (*TBIA)(int);
void (*TBIAP)(int);
void (*TBIS)(vm_paddr_t);
@@ -82,7 +80,6 @@
extern mips_locore_jumpvec_t mips_locore_jumpvec;
extern long *mips_locoresw[];
-#define MachSetPID mips64_SetPID
#define MIPS_TBIA() mips64_TBIA(mips_num_tlb_entries)
#define MIPS_TBIAP() mips64_TBIAP(mips_num_tlb_entries)
#define MIPS_TBIS mips64_TBIS
==== //depot/projects/mips/sys/mips/mips/machdep.c#31 (text+ko) ====
@@ -578,7 +578,6 @@
*/
const mips_locore_jumpvec_t mips64_locore_vec =
{
- mips64_SetPID,
mips64_TBIA,
mips64_TBIAP,
mips64_TBIS,
==== //depot/projects/mips/sys/mips/mips/mips_subr.S#9 (text+ko) ====
@@ -180,33 +180,6 @@
/*--------------------------------------------------------------------------
*
- * mipsN_SetPID --
- *
- * Write the given pid into the TLB pid reg.
- *
- * mips3_SetPID(pid)
- * int pid;
- *
- * Results:
- * None.
- *
- * Side effects:
- * PID set in the entry hi register.
- *
- *--------------------------------------------------------------------------
- */
-LEAF(MIPSX(SetPID))
- _MTC0 a0, MIPS_COP_0_TLB_HI # Write the hi reg value
- COP0_SYNC
- /* XXX simonb: lose these nops for mips32/64? */
- nop # required for QED5230
- nop # required for QED5230
- j ra
- nop
-END(MIPSX(SetPID))
-
-/*--------------------------------------------------------------------------
- *
* mipsN_TLBUpdate --
*
* Update the TLB if highreg is found; otherwise, enter the data.
More information about the p4-projects
mailing list