summaryrefslogtreecommitdiff
path: root/lcmodule/source/cnh1605205_ldr_network_layer/include/t_r15_network_layer.h
diff options
context:
space:
mode:
authorxmarvla <vlatko.markovic@seavus.com>2011-06-15 14:03:08 +0200
committerViktor Mladenovski <viktor.mladenovski@seavus.com>2011-08-17 22:06:38 +0200
commitc9d1f9613e3ac18d5dd3b9432646e289bb88cec9 (patch)
tree086b18dc26d75f052b840d818877efb79f5791ca /lcmodule/source/cnh1605205_ldr_network_layer/include/t_r15_network_layer.h
parent12da7d3751c8b7bd088587c8323123019680efff (diff)
Add support for M730 Platform
Added new command: System_StartCommRelay (For M730 platform). New state machine in Protrom Network Transmitter Handler. Small changes in Z protocol due to implementation of Communication Relay in Hassium Loaders. Add implementation for CriticalSection synchronization mechanism. ST-Ericsson ID: 325251 ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-10204 Depends-On: I0d34a2c4504a2b52ff5ab5efd2da36d8d1fa9816 Change-Id: I0d34a2c4504a2b52ff5ab5efd2da36d8d1fa9816 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/20944 Reviewed-by: QATOOLS Reviewed-by: Vlatko PISTOLOV <vlatko.pistolov@seavus.com> Tested-by: Vlatko PISTOLOV <vlatko.pistolov@seavus.com>
Diffstat (limited to 'lcmodule/source/cnh1605205_ldr_network_layer/include/t_r15_network_layer.h')
-rw-r--r--lcmodule/source/cnh1605205_ldr_network_layer/include/t_r15_network_layer.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lcmodule/source/cnh1605205_ldr_network_layer/include/t_r15_network_layer.h b/lcmodule/source/cnh1605205_ldr_network_layer/include/t_r15_network_layer.h
index bff1930..5e78ddd 100644
--- a/lcmodule/source/cnh1605205_ldr_network_layer/include/t_r15_network_layer.h
+++ b/lcmodule/source/cnh1605205_ldr_network_layer/include/t_r15_network_layer.h
@@ -16,6 +16,7 @@
* Includes
******************************************************************************/
#include "t_communication_service.h"
+#include "t_critical_section.h"
#include "t_r15_header.h"
#include "t_time_utilities.h"
@@ -273,8 +274,8 @@ typedef struct {
R15_OutboundState_t State;
/** Temporary pointer for handling PROTROM packet.*/
PacketMeta_t *Packet_p;
- /**< Boolean value for controling re-entry in transmiter fucntion. */
- boolean InLoad;
+ /**< Synchronization object to avoid parallel access in transmitter function. */
+ CriticalSection_t TxCriticalSection;
/** Error flag, purposed for error handling.*/
ErrorCode_e LCM_Error;
} R15_Outbound_t;