mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +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>
11 lines
300 B
C
11 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 */
|