• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revision069d7c5be3ecf870f97acd68b616c292fdb329fe (tree)
Zeit2020-04-06 00:38:55
AutorYoshinori Sato <ysato@user...>
CommiterYoshinori Sato

Log Message

fix EXT irq

Ändern Zusammenfassung

Diff

--- a/hw/intc/h8300h_intc.c
+++ b/hw/intc/h8300h_intc.c
@@ -59,10 +59,10 @@ static inline int pri(H8300HINTCState *intc, int irq)
5959
6060 static inline int ext_no(int irq)
6161 {
62- if (irq < 7 || irq > 12) {
62+ if (irq < 12 || irq > 17) {
6363 return -1;
6464 }
65- return irq - 7;
65+ return irq - 12;
6666 }
6767
6868 static void h8300hintc_set_irq(void *opaque, int n_IRQ, int level)
--- a/include/hw/h8300/h83069.h
+++ b/include/hw/h8300/h83069.h
@@ -40,7 +40,6 @@ typedef struct H83069State {
4040 uint8_t syscr_val;
4141
4242 MemoryRegion *sysmem;
43- bool kernel;
4443
4544 MemoryRegion iram;
4645 MemoryRegion iomem1;
@@ -48,6 +47,7 @@ typedef struct H83069State {
4847 MemoryRegion flash;
4948 MemoryRegion syscr;
5049 uint64_t input_freq;
50+ uint32_t sci_con;
5151 qemu_irq irq[NR_IRQS];
5252 } H83069State;
5353