mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-29 18:18:54 +00:00
e4ae817e82
Enable "-device ramfb" to use in Qemu. Also add drivers interactive using this framebuffer for the "virt_qemu" platform. issue #4254
67 lines
1.8 KiB
Plaintext
67 lines
1.8 KiB
Plaintext
<config>
|
|
<parent-provides>
|
|
<service name="IRQ"/>
|
|
<service name="IO_MEM"/>
|
|
<service name="ROM"/>
|
|
<service name="PD"/>
|
|
<service name="CPU"/>
|
|
<service name="LOG"/>
|
|
<service name="Timer"/>
|
|
<service name="Capture"/>
|
|
<service name="Event"/>
|
|
</parent-provides>
|
|
|
|
<default caps="100"/>
|
|
|
|
<start name="platform_drv">
|
|
<resource name="RAM" quantum="2M"/>
|
|
<provides> <service name="Platform"/> </provides>
|
|
<route> <any-service> <parent/> </any-service> </route>
|
|
<config>
|
|
|
|
<!-- device resource declarations -->
|
|
<device name="fw-cfg" type="qemu,fw-cfg-mmio">
|
|
<io_mem address="0x9020000" size="0x1000"/>
|
|
</device>
|
|
|
|
<!-- policy part, who owns which devices -->
|
|
<policy label="fb_drv -> " info="yes">
|
|
<device name="fw-cfg"/>
|
|
</policy>
|
|
</config>
|
|
</start>
|
|
|
|
<start name="fb_drv">
|
|
<binary name="ram_fb_drv"/>
|
|
<resource name="RAM" quantum="8M"/>
|
|
<route>
|
|
<service name="Platform">
|
|
<child name="platform_drv"/>
|
|
</service>
|
|
<service name="ROM"> <parent/> </service>
|
|
<service name="PD"> <parent/> </service>
|
|
<service name="CPU"> <parent/> </service>
|
|
<service name="LOG"> <parent/> </service>
|
|
<service name="Timer"> <parent/> </service>
|
|
<service name="Capture"> <parent/> </service>
|
|
</route>
|
|
</start>
|
|
|
|
<start name="event_filter" caps="90">
|
|
<resource name="RAM" quantum="1280K"/>
|
|
<provides> <service name="Event"/> </provides>
|
|
<route>
|
|
<service name="ROM" label="config">
|
|
<parent label="event_filter.config"/>
|
|
</service>
|
|
<service name="ROM"> <parent/> </service>
|
|
<service name="PD"> <parent/> </service>
|
|
<service name="CPU"> <parent/> </service>
|
|
<service name="LOG"> <parent/> </service>
|
|
<service name="Timer"> <parent/> </service>
|
|
<service name="Event"> <parent/> </service>
|
|
</route>
|
|
</start>
|
|
|
|
</config>
|