Re: [Qemu-devel] Developing custom device for ARM

2016-02-23 Thread Peter Maydell
On 23 February 2016 at 15:47, Igor R wrote: > I implemented a simple sys_bus device that only communicates through > port io. The purpose of this device is to be accessible via /dev/port > only, with no need for any additional kernel modules. > I Defined the memory region using memory_region_init_

[Qemu-devel] Developing custom device for ARM

2016-02-23 Thread Igor R
Hello, I implemented a simple sys_bus device that only communicates through port io. The purpose of this device is to be accessible via /dev/port only, with no need for any additional kernel modules. I Defined the memory region using memory_region_init_io and registered it using sysbus_add_io. I r