From dd29c7fb0189cb2415bee3f411afcfcf9290e466 Mon Sep 17 00:00:00 2001 From: Jia Liu Date: Fri, 20 Jul 2012 15:50:46 +0800 Subject: target-or32: Add PIC support Add OpenRISC Programmable Interrupt Controller support. Signed-off-by: Jia Liu Signed-off-by: Blue Swirl --- target-openrisc/cpu.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'target-openrisc') diff --git a/target-openrisc/cpu.h b/target-openrisc/cpu.h index 51013f3..419c31a 100644 --- a/target-openrisc/cpu.h +++ b/target-openrisc/cpu.h @@ -355,6 +355,9 @@ int cpu_openrisc_handle_mmu_fault(CPUOpenRISCState *env, #define cpu_handle_mmu_fault cpu_openrisc_handle_mmu_fault #ifndef CONFIG_USER_ONLY +/* hw/openrisc_pic.c */ +void cpu_openrisc_pic_init(OpenRISCCPU *cpu); + void cpu_openrisc_mmu_init(OpenRISCCPU *cpu); int cpu_openrisc_get_phys_nommu(OpenRISCCPU *cpu, target_phys_addr_t *physical, -- cgit v1.1