Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hp700/dev Use lci.
details: https://anonhg.NetBSD.org/src/rev/b651f3162cda
branches: trunk
changeset: 749420:b651f3162cda
user: skrll <skrll%NetBSD.org@localhost>
date: Sun Nov 29 10:15:07 2009 +0000
description:
Use lci.
diffstat:
sys/arch/hp700/dev/astro.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (19 lines):
diff -r e6e3115005c2 -r b651f3162cda sys/arch/hp700/dev/astro.c
--- a/sys/arch/hp700/dev/astro.c Sun Nov 29 10:09:54 2009 +0000
+++ b/sys/arch/hp700/dev/astro.c Sun Nov 29 10:15:07 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: astro.c,v 1.5 2009/05/08 09:33:57 skrll Exp $ */
+/* $NetBSD: astro.c,v 1.6 2009/11/29 10:15:07 skrll Exp $ */
/* $OpenBSD: astro.c,v 1.8 2007/10/06 23:50:54 krw Exp $ */
@@ -730,8 +730,7 @@
}
#endif
- mtsp(HPPA_SID_KERNEL, 1);
- __asm volatile("lci 0(%%sr1, %1), %0" : "=r" (ci) : "r" (va));
+ ci = lci(HPPA_SID_KERNEL, va);
tte = (pa & IOTTE_PAMASK) | ((ci >> 12) & IOTTE_CI);
tte |= IOTTE_V;
Home |
Main Index |
Thread Index |
Old Index