Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sh3/sh3 use PSL_IMASK macro
details: https://anonhg.NetBSD.org/src/rev/46523cbd0ade
branches: trunk
changeset: 480213:46523cbd0ade
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Fri Jan 07 00:13:24 2000 +0000
description:
use PSL_IMASK macro
diffstat:
sys/arch/sh3/sh3/vm_machdep.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r de46fa7c5134 -r 46523cbd0ade sys/arch/sh3/sh3/vm_machdep.c
--- a/sys/arch/sh3/sh3/vm_machdep.c Fri Jan 07 00:00:37 2000 +0000
+++ b/sys/arch/sh3/sh3/vm_machdep.c Fri Jan 07 00:13:24 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vm_machdep.c,v 1.4 1999/12/04 21:21:27 ragge Exp $ */
+/* $NetBSD: vm_machdep.c,v 1.5 2000/01/07 00:13:24 msaitoh Exp $ */
/*-
* Copyright (c) 1995 Charles M. Hannum. All rights reserved.
@@ -144,7 +144,7 @@
sf->sf_pr = (int) proc_trampoline;
tf = (struct trapframe *)(sf+1);
- tf->tf_ssr |= 0x000000f0; /* disable external interrupt */
+ tf->tf_ssr |= PSL_IMASK; /* disable external interrupt */
}
void
Home |
Main Index |
Thread Index |
Old Index