Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/ia64/stand/efi/libefi Avoid some RAW dependency com...
details: https://anonhg.NetBSD.org/src/rev/b3445816cfcb
branches: trunk
changeset: 451117:b3445816cfcb
user: scole <scole%NetBSD.org@localhost>
date: Tue May 07 02:05:17 2019 +0000
description:
Avoid some RAW dependency compilation warnings
diffstat:
sys/arch/ia64/stand/efi/libefi/exec.c | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r fa2fae254871 -r b3445816cfcb sys/arch/ia64/stand/efi/libefi/exec.c
--- a/sys/arch/ia64/stand/efi/libefi/exec.c Mon May 06 23:47:39 2019 +0000
+++ b/sys/arch/ia64/stand/efi/libefi/exec.c Tue May 07 02:05:17 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: exec.c,v 1.7 2016/08/04 18:07:43 scole Exp $ */
+/* $NetBSD: exec.c,v 1.8 2019/05/07 02:05:17 scole Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -192,13 +192,17 @@
__asm __volatile("mov cr.ifa=%0" :: "r"(IA64_RR_BASE(7)));
__asm __volatile("mov cr.itir=%0" :: "r"(28 << 2));
- __asm __volatile("ptr.i %0,%1" :: "r"(IA64_RR_BASE(7)), "r"(28<<2));
+ __asm __volatile("srlz.d;;");
+
__asm __volatile("ptr.d %0,%1" :: "r"(IA64_RR_BASE(7)), "r"(28<<2));
+ __asm __volatile("srlz.d;;");
+ __asm __volatile("itr.d dtr[%0]=%1;;" :: "r"(0), "r"(pte));
+ __asm __volatile("srlz.d;;");
+
+ __asm __volatile("ptr.i %0,%1;;" :: "r"(IA64_RR_BASE(7)), "r"(28<<2));
__asm __volatile("srlz.i;;");
__asm __volatile("itr.i itr[%0]=%1;;" :: "r"(0), "r"(pte));
__asm __volatile("srlz.i;;");
- __asm __volatile("itr.d dtr[%0]=%1;;" :: "r"(0), "r"(pte));
- __asm __volatile("srlz.i;;");
enter_kernel(fp->marks[MARK_ENTRY], bi);
Home |
Main Index |
Thread Index |
Old Index