Have TBIA/TBIAP an argument refering to a global variable instead
of a compile time constant.
This commit is contained in:
parent
5987070300
commit
06b4feb7d6
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: locore.h,v 1.27 2000/03/27 05:23:42 nisimura Exp $ */
|
||||
/* $NetBSD: locore.h,v 1.28 2000/03/27 05:30:40 nisimura Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1996 The Board of Trustees of The Leland Stanford
|
||||
|
@ -180,7 +180,7 @@ extern mips_locore_jumpvec_t r4000_locore_vec;
|
|||
#define MachFlushICache mips1_FlushICache
|
||||
#define MachForceCacheUpdate mips1_ForceCacheUpdate
|
||||
#define MachSetPID mips1_SetPID
|
||||
#define MachTLBFlush() mips1_TBIAP(MIPS1_TLB_NUM_TLB_ENTRIES)
|
||||
#define MachTLBFlush() mips1_TBIAP(mips_num_tlb_entries)
|
||||
#define MachTLBFlushAddr mips1_TBIS
|
||||
#define MachTLBUpdate mips1_TLBUpdate
|
||||
#define wbflush() mips1_wbflush()
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: mips_machdep.c,v 1.71 2000/03/27 05:23:42 nisimura Exp $ */
|
||||
/* $NetBSD: mips_machdep.c,v 1.72 2000/03/27 05:30:41 nisimura Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
|
@ -52,7 +52,7 @@
|
|||
|
||||
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
|
||||
|
||||
__KERNEL_RCSID(0, "$NetBSD: mips_machdep.c,v 1.71 2000/03/27 05:23:42 nisimura Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: mips_machdep.c,v 1.72 2000/03/27 05:30:41 nisimura Exp $");
|
||||
|
||||
#include "opt_compat_netbsd.h"
|
||||
#include "opt_compat_ultrix.h"
|
||||
|
@ -439,7 +439,7 @@ mips_vector_init()
|
|||
switch (cpu_arch) {
|
||||
#ifdef MIPS1
|
||||
case 1:
|
||||
mips1_TBIA(MIPS1_TLB_NUM_TLB_ENTRIES);
|
||||
mips1_TBIA(mips_num_tlb_entries);
|
||||
mips1_vector_init();
|
||||
break;
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue