diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2003-10-27 10:45:59 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2003-10-27 10:45:59 +0000 |
commit | cc83b58c5757473f91595b1ea332ad368318ee10 (patch) | |
tree | fe5291332da5ebee96226387525223eeba85e11f /sys/arch | |
parent | 802f03da12433fa239f9ffa1b7374fcb7cfe561b (diff) |
Be sure to flush the entire va space in cpu_switch().
This used to work because the cmmu code is suboptimal at the moment.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/mvme88k/mvme88k/process.S | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/mvme88k/mvme88k/process.S b/sys/arch/mvme88k/mvme88k/process.S index d90e7335668..075c8a9d5ec 100644 --- a/sys/arch/mvme88k/mvme88k/process.S +++ b/sys/arch/mvme88k/mvme88k/process.S @@ -1,4 +1,4 @@ -/* $OpenBSD: process.S,v 1.21 2003/08/13 08:52:44 miod Exp $ */ +/* $OpenBSD: process.S,v 1.22 2003/10/27 10:45:58 miod Exp $ */ /* * Copyright (c) 1996 Nivas Madhur * All rights reserved. @@ -257,8 +257,7 @@ ASLOCAL(Lswnochg) /* r2 = 1 : kernel ? user, r3 = address, r4 = size */ /* cmmu_flush_tlb(0, 0, 0xffff) */ bsr.n _C_LABEL(md_cmmu_flush_tlb) - or r4, r0, 0xffff /* cmmu_flush_tlb flushes entire tlb */ - /* for sizes > 4096 */ + sub r4, r0, 1 /* flush entire va space */ addu r31, r31,48 or.u r10, r0, hi16(_C_LABEL(curpcb)) ld r10, r10, lo16(_C_LABEL(curpcb)) |