April 11, 2022
2:49 p.m.
On Mon, Apr 11, 2022 at 03:32:23PM +0100, Peter Maydell wrote:
On Mon, 11 Apr 2022 at 15:22, Chan Kim <ckim@etri.re.kr> wrote:
What bus type is your driver written for?
That sounds very logical. In my case I added it to system bus.
What exactly do you mean by "system bus"?
I meant 'sysbus' in qemu code that I showed in the qemu code. And I think it's the CPU bus.
The 'sysbus' is just QEMU's abstraction for "devices mapped into memory at a fixed physical address", ie simple MMIO devices that aren't on a complex bus like PCI or USB or SPI.
So, a platform_device in Linux kernel terms, right?