mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-30 12:04:07 +00:00
Initialize GIC_PMRR register on ARM GIC.
Provided by: Thomas Skibo
This commit is contained in:
parent
c4091add1f
commit
10443bc3c3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=249762
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user