summaryrefslogtreecommitdiff
path: root/chip/ish/aontaskfw/ish_aontask.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/ish/aontaskfw/ish_aontask.c')
-rw-r--r--chip/ish/aontaskfw/ish_aontask.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/chip/ish/aontaskfw/ish_aontask.c b/chip/ish/aontaskfw/ish_aontask.c
index 374497b1ba..4bfd6fcab4 100644
--- a/chip/ish/aontaskfw/ish_aontask.c
+++ b/chip/ish/aontaskfw/ish_aontask.c
@@ -85,8 +85,8 @@ static void pmu_wakeup_isr(void)
* Indicate completion of servicing the interrupt to IOAPIC first
* then indicate completion of servicing the interrupt to LAPIC
*/
- REG32(IOAPIC_EOI_REG) = ISH_PMU_WAKEUP_VEC;
- REG32(LAPIC_EOI_REG) = 0x0;
+ IOAPIC_EOI_REG = ISH_PMU_WAKEUP_VEC;
+ LAPIC_EOI_REG = 0x0;
__asm__ volatile ("iret;");
@@ -105,8 +105,8 @@ static void reset_prep_isr(void)
* Indicate completion of servicing the interrupt to IOAPIC first
* then indicate completion of servicing the interrupt to LAPIC
*/
- REG32(IOAPIC_EOI_REG) = ISH_RESET_PREP_VEC;
- REG32(LAPIC_EOI_REG) = 0x0;
+ IOAPIC_EOI_REG = ISH_RESET_PREP_VEC;
+ LAPIC_EOI_REG = 0x0;
handle_reset(ISH_PM_STATE_RESET_PREP);