cpu: Fix qemu_get_cpu() to return NULL if CPU not found
[qemu.git] / hw / lm32_pic.h
blob555680304ed5c17f0702e591e06e4717b0c963ed
1 #ifndef QEMU_HW_LM32_PIC_H
2 #define QEMU_HW_LM32_PIC_H
4 #include "qemu-common.h"
6 uint32_t lm32_pic_get_ip(DeviceState *d);
7 uint32_t lm32_pic_get_im(DeviceState *d);
8 void lm32_pic_set_ip(DeviceState *d, uint32_t ip);
9 void lm32_pic_set_im(DeviceState *d, uint32_t im);
11 void lm32_do_pic_info(Monitor *mon, const QDict *qdict);
12 void lm32_irq_info(Monitor *mon, const QDict *qdict);
14 #endif /* QEMU_HW_LM32_PIC_H */