Commit 0d429384 authored by yoogx's avatar yoogx
Browse files

* Complete integration of new GRSPW packet driver

	For openaadl/ocarina#144
parent 9b3033ac
......@@ -15,7 +15,7 @@ public
with ocarina_drivers_rasta_spacewire;
with ocarina_drivers_rtems_ne2000;
with ocarina_drivers_grspw_packet;
with ocarina_drivers_star_dundee_spacewire_brick;
with ocarina_drivers_udp_exarm;
......@@ -198,16 +198,20 @@ public
device implementation rasta_spacewire.pohic
properties
Deployment::Driver_Name => "spacewire_rasta";
Device_Driver => classifier (ocarina_drivers_rasta_spacewire::spacewire_driver.rasta);
Initialize_Entrypoint => classifier (ocarina_drivers_rasta_spacewire::spg_spacewire_init_rasta);
Device_Driver =>
classifier (ocarina_drivers_rasta_spacewire::spacewire_driver.rasta);
Initialize_Entrypoint =>
classifier (ocarina_drivers_rasta_spacewire::spg_spacewire_init_rasta);
Provided_Virtual_Bus_Class => (classifier (ocarina_buses::pohi.c));
end rasta_spacewire.pohic;
device implementation rasta_spacewire.grspw_pohic
properties
Deployment::Driver_Name => "spacewire_rasta";
Device_Driver => classifier (ocarina_drivers_grspw_packet::grspw_packet_driver.rasta);
Initialize_Entrypoint => classifier (ocarina_drivers_grspw_packet::spg_grspw_packet_init_rasta);
Deployment::Driver_Name => "grspw_spacewire";
Device_Driver =>
classifier (ocarina_drivers_grspw_packet::grspw_packet_driver.rasta);
Initialize_Entrypoint =>
classifier (ocarina_drivers_grspw_packet::spg_grspw_packet_init_rasta);
Provided_Virtual_Bus_Class => (classifier (ocarina_buses::pohi.c));
end rasta_spacewire.grspw_pohic;
......
package ocarina_drivers_grspw_packet
public
-- This driver works for RTEMS 5 (presumably RTEMS 4.11) based on
-- drvmgr driver subsystem, using GRSPW Packet driver.
--
-- See Chapter 18 of RCC 1.3 manual
with ocarina_buses;
with Deployment;
subprogram spg_grspw_packet_poller_rasta
properties
Source_Language => (C);
Source_Name => "__po_hi_c_driver_grspw_packet_rasta_poller";
Source_Text => ("grspw_api.c", "spwrouter_custom_config.c", "config.c", "grspw_pkt_lib.c");
Source_Name => "__po_hi_c_driver_drvmgr_grspw_poller";
Source_Text => ("grspw_api.c", "spwrouter_custom_config.c",
"po_hi_driver_drvmgr_common.c", "grspw_pkt_lib.c",
"po_hi_driver_rtems_drvmgr_spacewire.c");
end spg_grspw_packet_poller_rasta;
subprogram spg_grspw_packet_sender_rasta
properties
Source_Language => (C);
Source_Name => "__po_hi_c_driver_grspw_packet_rasta_sender";
Source_Text => ("grspw_api.c", "spwrouter_custom_config.c", "config.c", "grspw_pkt_lib.c");
Source_Name => "__po_hi_c_driver_drvmgr_grspw_sender";
Source_Text => ("grspw_api.c", "spwrouter_custom_config.c",
"po_hi_driver_drvmgr_common.c", "grspw_pkt_lib.c",
"po_hi_driver_rtems_drvmgr_spacewire.c");
end spg_grspw_packet_sender_rasta;
subprogram spg_grspw_packet_init_rasta
properties
Source_Language => (C);
Source_Name => "__po_hi_c_driver_grspw_packet_rasta_init";
Source_Text => ("grspw_api.c", "spwrouter_custom_config.c", "config.c", "grspw_pkt_lib.c");
Source_Name => "__po_hi_c_driver_drvmgr_grspw_init";
Source_Text => ("grspw_api.c", "spwrouter_custom_config.c",
"po_hi_driver_drvmgr_common.c", "grspw_pkt_lib.c",
"po_hi_driver_rtems_drvmgr_spacewire.c");
end spg_grspw_packet_init_rasta;
thread grspw_packet_poller
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment