--- nono/vm/sio.cpp 2026/04/29 17:05:17 1.1.1.11 +++ nono/vm/sio.cpp 2026/04/29 17:05:24 1.1.1.12 @@ -135,10 +135,10 @@ SIODevice::ResetChannel(MPSCCChan& chan) ResetChannelCommon(chan); } -uint64 +busdata SIODevice::Read(uint32 offset) { - uint64 data; + busdata data; switch (offset) { case 0: @@ -156,10 +156,11 @@ SIODevice::Read(uint32 offset) default: VMPANIC("corrupted offset=%d", offset); } + // XXX wait? return data; } -uint64 +busdata SIODevice::Write(uint32 offset, uint32 data) { switch (offset) { @@ -178,10 +179,11 @@ SIODevice::Write(uint32 offset, uint32 d default: VMPANIC("corrupted offset=%d", offset); } + // XXX wait? return 0; } -uint64 +busdata SIODevice::Peek(uint32 offset) { uint64 data;