mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-31 00:24:51 +00:00
os: replace pkg/pc_nic by pkg/nic_uplink
This enables the combination of the nic_uplink component with any driver pkg featuring a runtime file. This is already the case of the pc_nic driver. This is a preparatory step for issue #4420.
This commit is contained in:
parent
6ba0574950
commit
940a1912fa
2
repos/os/recipes/pkg/nic_uplink/README
Normal file
2
repos/os/recipes/pkg/nic_uplink/README
Normal file
@ -0,0 +1,2 @@
|
||||
|
||||
Component for bridging an uplink client with a NIC client
|
1
repos/os/recipes/pkg/nic_uplink/archives
Normal file
1
repos/os/recipes/pkg/nic_uplink/archives
Normal file
@ -0,0 +1 @@
|
||||
_/src/nic_uplink
|
14
repos/os/recipes/pkg/nic_uplink/runtime
Normal file
14
repos/os/recipes/pkg/nic_uplink/runtime
Normal file
@ -0,0 +1,14 @@
|
||||
<runtime ram="1M" caps="100" binary="nic_uplink">
|
||||
|
||||
<requires> <timer/> </requires>
|
||||
|
||||
<provides> <nic/> <uplink/> </provides>
|
||||
|
||||
<content>
|
||||
<rom label="ld.lib.so"/>
|
||||
<rom label="nic_uplink"/>
|
||||
</content>
|
||||
|
||||
<config/>
|
||||
|
||||
</runtime>
|
@ -1,2 +0,0 @@
|
||||
|
||||
Runtime for using the PC NIC driver with the NIC Uplink adapter
|
@ -1,3 +0,0 @@
|
||||
_/src/nic_uplink
|
||||
_/src/pc_nic_drv
|
||||
_/src/init
|
@ -1,66 +0,0 @@
|
||||
<runtime ram="25M" caps="600" binary="init">
|
||||
|
||||
<requires> <timer/> <platform/> </requires>
|
||||
|
||||
<provides> <nic/> </provides>
|
||||
|
||||
<content>
|
||||
<rom label="ld.lib.so"/>
|
||||
<rom label="nic_uplink"/>
|
||||
<rom label="pc_nic_drv"/>
|
||||
<rom label="init"/>
|
||||
</content>
|
||||
|
||||
<config>
|
||||
|
||||
<parent-provides>
|
||||
<service name="ROM"/>
|
||||
<service name="PD"/>
|
||||
<service name="RM"/>
|
||||
<service name="CPU"/>
|
||||
<service name="LOG"/>
|
||||
<service name="Timer"/>
|
||||
<service name="Platform"/>
|
||||
</parent-provides>
|
||||
|
||||
<service name="Nic">
|
||||
<default-policy> <child name="nic_uplink"/> </default-policy>
|
||||
</service>
|
||||
|
||||
<start name="nic_uplink" caps="100">
|
||||
<resource name="RAM" quantum="1M"/>
|
||||
<provides>
|
||||
<service name="Uplink"/>
|
||||
<service name="Nic"/>
|
||||
</provides>
|
||||
<config/>
|
||||
<route>
|
||||
<service name="Timer"> <parent/> </service>
|
||||
<service name="PD"> <parent/> </service>
|
||||
<service name="ROM"> <parent/> </service>
|
||||
<service name="LOG"> <parent/> </service>
|
||||
<service name="CPU"> <parent/> </service>
|
||||
</route>
|
||||
</start>
|
||||
|
||||
<start name="nic_drv" caps="300">
|
||||
<binary name="pc_nic_drv"/>
|
||||
<resource name="RAM" quantum="20M"/>
|
||||
<resource name="CPU" quantum="10"/>
|
||||
<config/>
|
||||
<route>
|
||||
<service name="Uplink"> <child name="nic_uplink"/> </service>
|
||||
<service name="ROM"> <parent/> </service>
|
||||
<service name="PD"> <parent/> </service>
|
||||
<service name="RM"> <parent/> </service>
|
||||
<service name="CPU"> <parent/> </service>
|
||||
<service name="LOG"> <parent/> </service>
|
||||
<service name="Timer"> <parent/> </service>
|
||||
<service name="Platform"> <parent label="nic"/> </service>
|
||||
</route>
|
||||
<config> <report mac_address="yes"/> </config>
|
||||
</start>
|
||||
|
||||
</config>
|
||||
|
||||
</runtime>
|
Loading…
x
Reference in New Issue
Block a user