Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/pic Provide a pic_set_priority_psw in the case ...
details: https://anonhg.NetBSD.org/src/rev/dd164a931566
branches: trunk
changeset: 980725:dd164a931566
user: skrll <skrll%NetBSD.org@localhost>
date: Tue Feb 16 07:27:12 2021 +0000
description:
Provide a pic_set_priority_psw in the case that __HAVE_PIC_SET_PRIORITY
is not defined.
diffstat:
sys/arch/arm/pic/picvar.h | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 070872b75508 -r dd164a931566 sys/arch/arm/pic/picvar.h
--- a/sys/arch/arm/pic/picvar.h Tue Feb 16 06:06:58 2021 +0000
+++ b/sys/arch/arm/pic/picvar.h Tue Feb 16 07:27:12 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: picvar.h,v 1.27 2021/02/15 16:32:07 jmcneill Exp $ */
+/* $NetBSD: picvar.h,v 1.28 2021/02/16 07:27:12 skrll Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -184,7 +184,8 @@
void pic_set_priority_psw(struct cpu_info *, register_t, int);
#else
/* Using an inline causes catch-22 problems with cpu.h */
-#define pic_set_priority(ci, newipl) ((void)((ci)->ci_cpl = (newipl)))
+#define pic_set_priority(ci, newipl) ((void)((ci)->ci_cpl = (newipl)))
+#define pic_set_priority_psw(ci, psw, newipl) ((void)((ci)->ci_cpl = (newipl)))
#endif
#define PIC_IRQBASE_ALLOC (-2)
Home |
Main Index |
Thread Index |
Old Index