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 Increase the size of is_irq from 8- to 16-b...



details:   https://anonhg.NetBSD.org/src/rev/0de13f3df889
branches:  trunk
changeset: 993388:0de13f3df889
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat Sep 08 11:54:26 2018 +0000

description:
Increase the size of is_irq from 8- to 16-bits to allow for > 256 IRQs per pic.

diffstat:

 sys/arch/arm/pic/picvar.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 44fa93d8fcbd -r 0de13f3df889 sys/arch/arm/pic/picvar.h
--- a/sys/arch/arm/pic/picvar.h Sat Sep 08 09:02:50 2018 +0000
+++ b/sys/arch/arm/pic/picvar.h Sat Sep 08 11:54:26 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: picvar.h,v 1.18 2018/07/16 10:13:34 jmcneill Exp $     */
+/*     $NetBSD: picvar.h,v 1.19 2018/09/08 11:54:26 jmcneill Exp $     */
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -114,7 +114,7 @@
        struct pic_softc *is_pic;               /* owning PIC */
        uint8_t is_type;                        /* IST_xxx */
        uint8_t is_ipl;                         /* IPL_xxx */
-       uint8_t is_irq;                         /* local to pic */
+       uint16_t is_irq;                        /* local to pic */
        uint8_t is_iplidx;
        bool is_mpsafe;
        char is_source[16];



Home | Main Index | Thread Index | Old Index