Date: Mon, 22 Apr 2013 08:28:53 +0000 (UTC) From: Damjan Marion <dmarion@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r249762 - head/sys/arm/arm Message-ID: <201304220828.r3M8SrUc063330@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dmarion Date: Mon Apr 22 08:28:53 2013 New Revision: 249762 URL: http://svnweb.freebsd.org/changeset/base/249762 Log: Initialize GIC_PMRR register on ARM GIC. Provided by: Thomas Skibo Modified: head/sys/arm/arm/gic.c Modified: head/sys/arm/arm/gic.c ============================================================================== --- head/sys/arm/arm/gic.c Mon Apr 22 06:47:27 2013 (r249761) +++ head/sys/arm/arm/gic.c Mon Apr 22 08:28:53 2013 (r249762) @@ -134,6 +134,9 @@ gic_init_secondary(void) /* Enable CPU interface */ gic_c_write_4(GICC_CTLR, 1); + /* Set priority mask register. */ + gic_c_write_4(GICC_PMR, 0xff); + /* Enable interrupt distribution */ gic_d_write_4(GICD_CTLR, 0x01); @@ -199,6 +202,9 @@ arm_gic_attach(device_t dev) /* Enable CPU interface */ gic_c_write_4(GICC_CTLR, 1); + /* Set priority mask register. */ + gic_c_write_4(GICC_PMR, 0xff); + /* Enable interrupt distribution */ gic_d_write_4(GICD_CTLR, 0x01);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304220828.r3M8SrUc063330>