diff options
author | Laurent Vivier <laurent@vivier.eu> | 2021-03-12 22:41:42 +0100 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2021-03-15 21:02:14 +0100 |
commit | 87855593903fdc1809d6f6c2ac7f344c31cea799 (patch) | |
tree | e811d340c4e0336fa19e6226e56ba39552cad8ea /hw/intc/trace-events | |
parent | 8c6df16ff6080365642b0583514dd03d6a7729d6 (diff) | |
download | qemu-87855593903fdc1809d6f6c2ac7f344c31cea799.zip qemu-87855593903fdc1809d6f6c2ac7f344c31cea799.tar.gz qemu-87855593903fdc1809d6f6c2ac7f344c31cea799.tar.bz2 |
hw/intc: add goldfish-pic
Implement the goldfish pic device as defined in
https://android.googlesource.com/platform/external/qemu/+/master/docs/GOLDFISH-VIRTUAL-HARDWARE.TXT
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210312214145.2936082-3-laurent@vivier.eu>
Diffstat (limited to 'hw/intc/trace-events')
-rw-r--r-- | hw/intc/trace-events | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/hw/intc/trace-events b/hw/intc/trace-events index 45ddaf4..c9ab172 100644 --- a/hw/intc/trace-events +++ b/hw/intc/trace-events @@ -239,3 +239,11 @@ xive_end_source_read(uint8_t end_blk, uint32_t end_idx, uint64_t addr) "END 0x%x # pnv_xive.c pnv_xive_ic_hw_trigger(uint64_t addr, uint64_t val) "@0x%"PRIx64" val=0x%"PRIx64 + +# goldfish_pic.c +goldfish_irq_request(void *dev, int idx, int irq, int level) "pic: %p goldfish-irq.%d irq: %d level: %d" +goldfish_pic_read(void *dev, int idx, unsigned int addr, unsigned int size, uint64_t value) "pic: %p goldfish-irq.%d reg: 0x%02x size: %d value: 0x%"PRIx64 +goldfish_pic_write(void *dev, int idx, unsigned int addr, unsigned int size, uint64_t value) "pic: %p goldfish-irq.%d reg: 0x%02x size: %d value: 0x%"PRIx64 +goldfish_pic_reset(void *dev, int idx) "pic: %p goldfish-irq.%d" +goldfish_pic_realize(void *dev, int idx) "pic: %p goldfish-irq.%d" +goldfish_pic_instance_init(void *dev) "pic: %p goldfish-irq" |