mirror of
https://github.com/xemu-project/xemu.git
synced 2024-12-11 05:23:58 +00:00
4ef66fa718
This patch adds the interrupt controller of the lm32. Because the PIC is accessed through special control registers and opcodes, there are callbacks from the lm32 translation code to this model. Signed-off-by: Michael Walle <michael@walle.cc> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
12 lines
300 B
C
12 lines
300 B
C
#ifndef QEMU_HW_LM32_PIC_H
|
|
#define QEMU_HW_LM32_PIC_H
|
|
|
|
#include "qemu-common.h"
|
|
|
|
uint32_t lm32_pic_get_ip(DeviceState *d);
|
|
uint32_t lm32_pic_get_im(DeviceState *d);
|
|
void lm32_pic_set_ip(DeviceState *d, uint32_t ip);
|
|
void lm32_pic_set_im(DeviceState *d, uint32_t im);
|
|
|
|
#endif /* QEMU_HW_LM32_PIC_H */
|