mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-27 01:11:06 +00:00
8d5005e03a
The driver is faily simple and does not support fancy features like TCP checksum offloading or vlan filtering, but it is fully capable of running every Genode network based scenario I've tried. Its currently known to work on virt_qemu arm platforms and x86_64. Fix #3825
55 lines
1.4 KiB
Plaintext
55 lines
1.4 KiB
Plaintext
<config verbose="true">
|
|
<parent-provides>
|
|
<service name="IRQ"/>
|
|
<service name="IO_MEM"/>
|
|
<service name="ROM"/>
|
|
<service name="PD"/>
|
|
<service name="RM"/>
|
|
<service name="CPU"/>
|
|
<service name="LOG"/>
|
|
<service name="Timer"/>
|
|
</parent-provides>
|
|
|
|
<default caps="100"/>
|
|
|
|
<service name="Nic">
|
|
<default-policy> <child name="virtio_mmio_nic"/> </default-policy> </service>
|
|
|
|
<start name="virtdev_rom">
|
|
<resource name="RAM" quantum="640K"/>
|
|
<provides> <service name="ROM"/> </provides>
|
|
<route> <any-service> <parent/> </any-service> </route>
|
|
<config>
|
|
<policy label_prefix="virtio_mmio_nic">
|
|
<device name="nic0"/>
|
|
</policy>
|
|
</config>
|
|
</start>
|
|
|
|
<start name="platform_drv">
|
|
<resource name="RAM" quantum="2M"/>
|
|
<provides> <service name="Platform"/> </provides>
|
|
<route>
|
|
<service name="ROM" label="config">
|
|
<child name="virtdev_rom"/>
|
|
</service>
|
|
<any-service> <parent/> </any-service>
|
|
</route>
|
|
</start>
|
|
|
|
<start name="virtio_mmio_nic">
|
|
<resource name="RAM" quantum="640K"/>
|
|
<provides> <service name="Nic"/> </provides>
|
|
<route>
|
|
<service name="Platform">
|
|
<child name="platform_drv"/>
|
|
</service>
|
|
<service name="CPU"> <parent/> </service>
|
|
<service name="LOG"> <parent/> </service>
|
|
<service name="PD"> <parent/> </service>
|
|
<service name="ROM"> <parent/> </service>
|
|
</route>
|
|
</start>
|
|
|
|
</config>
|