Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/cortex Rename lpi pic to gicv3-its when an ITS ...
details: https://anonhg.NetBSD.org/src/rev/665aaacbac25
branches: trunk
changeset: 461676:665aaacbac25
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sat Jun 29 13:30:59 2019 +0000
description:
Rename lpi pic to gicv3-its when an ITS is found
diffstat:
sys/arch/arm/cortex/gicv3_its.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r d81b5da5d955 -r 665aaacbac25 sys/arch/arm/cortex/gicv3_its.c
--- a/sys/arch/arm/cortex/gicv3_its.c Sat Jun 29 12:53:05 2019 +0000
+++ b/sys/arch/arm/cortex/gicv3_its.c Sat Jun 29 13:30:59 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gicv3_its.c,v 1.17 2019/06/23 16:19:51 jmcneill Exp $ */
+/* $NetBSD: gicv3_its.c,v 1.18 2019/06/29 13:30:59 jmcneill Exp $ */
/*-
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
#define _INTR_PRIVATE
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gicv3_its.c,v 1.17 2019/06/23 16:19:51 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gicv3_its.c,v 1.18 2019/06/29 13:30:59 jmcneill Exp $");
#include <sys/param.h>
#include <sys/kmem.h>
@@ -821,6 +821,7 @@
its->its_dmat = sc->sc_dmat;
its->its_base = its_base;
its->its_pic = &sc->sc_lpi;
+ snprintf(its->its_pic->pic_name, sizeof(its->its_pic->pic_name), "gicv3-its");
KASSERT(its->its_pic->pic_maxsources > 0);
its->its_pa = kmem_zalloc(sizeof(struct pci_attach_args *) * its->its_pic->pic_maxsources, KM_SLEEP);
its->its_targets = kmem_zalloc(sizeof(struct cpu_info *) * its->its_pic->pic_maxsources, KM_SLEEP);
Home |
Main Index |
Thread Index |
Old Index