CORDET Framework - C2 Implementation
|
Create one instance of the CrPsCmd3s3Start procedure. More...
Go to the source code of this file.
Macros | |
#define | CrPsCmd3s3Start_N1 (1) /* The identifier of action node N1 in procedure CrPsCmd3s3Start */ |
Make sure to include this header file only once. More... | |
#define | CrPsCmd3s3Start_N2 (2) /* The identifier of action node N2 in procedure CrPsCmd3s3Start */ |
#define | CrPsCmd3s3Start_N3 (3) /* The identifier of action node N3 in procedure CrPsCmd3s3Start */ |
#define | CrPsCmd3s3Start_N4 (4) /* The identifier of action node N4 in procedure CrPsCmd3s3Start */ |
#define | CrPsCmd3s3Start_N5 (5) /* The identifier of action node N5 in procedure CrPsCmd3s3Start */ |
#define | CrPsCmd3s3Start_N6 (6) /* The identifier of action node N6 in procedure CrPsCmd3s3Start */ |
#define | CrPsCmd3s3Start_N7 (7) /* The identifier of action node N7 in procedure CrPsCmd3s3Start */ |
#define | CrPsCmd3s3Start_N8 (8) /* The identifier of action node N8 in procedure CrPsCmd3s3Start */ |
Functions | |
FwPrDesc_t | CrPsCmd3s3StartCreate (void *prData) |
Create a new procedure descriptor. More... | |
void | CrPsCmd3s3StartN1 (FwPrDesc_t prDesc) |
Action for node N1. More... | |
void | CrPsCmd3s3StartN2 (FwPrDesc_t prDesc) |
Action for node N2. More... | |
void | CrPsCmd3s3StartN3 (FwPrDesc_t prDesc) |
Action for node N3. More... | |
void | CrPsCmd3s3StartN4 (FwPrDesc_t prDesc) |
Action for node N4. More... | |
void | CrPsCmd3s3StartN5 (FwPrDesc_t prDesc) |
Action for node N5. More... | |
void | CrPsCmd3s3StartN6 (FwPrDesc_t prDesc) |
Action for node N6. More... | |
void | CrPsCmd3s3StartN7 (FwPrDesc_t prDesc) |
Action for node N7. More... | |
void | CrPsCmd3s3StartN8 (FwPrDesc_t prDesc) |
Action for node N8. More... | |
FwPrBool_t | CrPsCmd3s3StartG1 (FwPrDesc_t prDesc) |
Guard on the Control Flow from DECISION1 to N2. More... | |
FwPrBool_t | CrPsCmd3s3StartG1E (FwPrDesc_t prDesc) |
Guard on the Control Flow from DECISION1 to DECISION2. More... | |
FwPrBool_t | CrPsCmd3s3StartG2 (FwPrDesc_t prDesc) |
Guard on the Control Flow from DECISION2 to N5. More... | |
FwPrBool_t | CrPsCmd3s3StartG2E (FwPrDesc_t prDesc) |
Guard on the Control Flow from DECISION2 to DECISION3. More... | |
FwPrBool_t | CrPsCmd3s3StartG3 (FwPrDesc_t prDesc) |
Guard on the Control Flow from DECISION3 to DECISION4. More... | |
FwPrBool_t | CrPsCmd3s3StartG3E (FwPrDesc_t prDesc) |
Guard on the Control Flow from DECISION3 to N4. More... | |
FwPrBool_t | CrPsCmd3s3StartG4 (FwPrDesc_t prDesc) |
Guard on the Control Flow from DECISION4 to N8. More... | |
FwPrBool_t | CrPsCmd3s3StartG4E (FwPrDesc_t prDesc) |
Guard on the Control Flow from DECISION4 to N7. More... | |
Create one instance of the CrPsCmd3s3Start procedure.
This header file declares the function to create one instance of the CrPsCmd3s3Start procedure. The procedure is configured with a set of function pointers representing the non-default actions and guards of the procedure. Some of these functions may also be declared in this header file in accordance with the configuration of the procedure in the FW Profile Editor. In the latter case, the user has to provide an implementation for these functions in a user-supplied body file.
This header file has been automatically generated by the FW Profile Editor. The procedure created by this file is shown in the figure below.
last modification: 22.01.2018
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
Definition in file CrPsCmd3s3StartCreate.h.
#define CrPsCmd3s3Start_N1 (1) /* The identifier of action node N1 in procedure CrPsCmd3s3Start */ |
Make sure to include this header file only once.
FW Profile function definitions Action node identifiers
Definition at line 43 of file CrPsCmd3s3StartCreate.h.
FwPrDesc_t CrPsCmd3s3StartCreate | ( | void * | prData | ) |
Create a new procedure descriptor.
This interface creates the procedure descriptor dynamically.
prData | the pointer to the procedure data. A value of NULL is legal (note that the default value of the pointer to the procedure data when the procedure is created is NULL). |
Create the procedure
Configure the procedure
Definition at line 65 of file CrPsCmd3s3StartCreate.c.
FwPrBool_t CrPsCmd3s3StartG1 | ( | FwPrDesc_t | prDesc | ) |
Guard on the Control Flow from DECISION1 to N2.
The i-th SID is not in the RDL
smDesc | the procedure descriptor |
Definition at line 220 of file CrPsCmd3s3StartFunc.c.
FwPrBool_t CrPsCmd3s3StartG1E | ( | FwPrDesc_t | prDesc | ) |
Guard on the Control Flow from DECISION1 to DECISION2.
Else
smDesc | the procedure descriptor |
Guard on the Control Flow from DECISION1 to DECISION2.
FW Profile function definitions CrPsCmd3s3Start function definitions Guard on the Control Flow from DECISION1 to DECISION2.
Definition at line 37 of file CrPsCmd3s3StartCreate.c.
FwPrBool_t CrPsCmd3s3StartG2 | ( | FwPrDesc_t | prDesc | ) |
Guard on the Control Flow from DECISION2 to N5.
The i-th SID is enabled in the RDL
smDesc | the procedure descriptor |
Definition at line 249 of file CrPsCmd3s3StartFunc.c.
FwPrBool_t CrPsCmd3s3StartG2E | ( | FwPrDesc_t | prDesc | ) |
Guard on the Control Flow from DECISION2 to DECISION3.
Else
smDesc | the procedure descriptor |
Definition at line 44 of file CrPsCmd3s3StartCreate.c.
FwPrBool_t CrPsCmd3s3StartG3 | ( | FwPrDesc_t | prDesc | ) |
Guard on the Control Flow from DECISION3 to DECISION4.
The i-th SID was the last SID in the command
smDesc | the procedure descriptor |
Definition at line 278 of file CrPsCmd3s3StartFunc.c.
FwPrBool_t CrPsCmd3s3StartG3E | ( | FwPrDesc_t | prDesc | ) |
Guard on the Control Flow from DECISION3 to N4.
Else
smDesc | the procedure descriptor |
Definition at line 51 of file CrPsCmd3s3StartCreate.c.
FwPrBool_t CrPsCmd3s3StartG4 | ( | FwPrDesc_t | prDesc | ) |
Guard on the Control Flow from DECISION4 to N8.
All SIDs in the command are invalid
smDesc | the procedure descriptor |
Definition at line 294 of file CrPsCmd3s3StartFunc.c.
FwPrBool_t CrPsCmd3s3StartG4E | ( | FwPrDesc_t | prDesc | ) |
Guard on the Control Flow from DECISION4 to N7.
Else
smDesc | the procedure descriptor |
Definition at line 58 of file CrPsCmd3s3StartCreate.c.
void CrPsCmd3s3StartN1 | ( | FwPrDesc_t | prDesc | ) |
Action for node N1.
Set i equal to 1
smDesc | the procedure descriptor |
Definition at line 63 of file CrPsCmd3s3StartFunc.c.
void CrPsCmd3s3StartN2 | ( | FwPrDesc_t | prDesc | ) |
Action for node N2.
Load invalid SID in data pool item verFailData
smDesc | the procedure descriptor |
Definition at line 94 of file CrPsCmd3s3StartFunc.c.
void CrPsCmd3s3StartN3 | ( | FwPrDesc_t | prDesc | ) |
Action for node N3.
Run Command Verification Failure Procedure to generate (1,4) report with failure code VER_ILL_SID
smDesc | the procedure descriptor |
Definition at line 105 of file CrPsCmd3s3StartFunc.c.
void CrPsCmd3s3StartN4 | ( | FwPrDesc_t | prDesc | ) |
Action for node N4.
Increment i
smDesc | the procedure descriptor |
Definition at line 121 of file CrPsCmd3s3StartFunc.c.
void CrPsCmd3s3StartN5 | ( | FwPrDesc_t | prDesc | ) |
Action for node N5.
Load the enabled SID in data pool verFailData
smDesc | the procedure descriptor |
Definition at line 149 of file CrPsCmd3s3StartFunc.c.
void CrPsCmd3s3StartN6 | ( | FwPrDesc_t | prDesc | ) |
Action for node N6.
Run Command Verification Failure Procedure to generate (1,4) report with failure code VER_ENABLED_SID
smDesc | the procedure descriptor |
Definition at line 160 of file CrPsCmd3s3StartFunc.c.
void CrPsCmd3s3StartN7 | ( | FwPrDesc_t | prDesc | ) |
Action for node N7.
Set action outcome to 'success'
smDesc | the procedure descriptor |
Definition at line 176 of file CrPsCmd3s3StartFunc.c.
void CrPsCmd3s3StartN8 | ( | FwPrDesc_t | prDesc | ) |
Action for node N8.
Set action outcome to 'failure' with failure code VER_S3S_START_FD
smDesc | the procedure descriptor |
Definition at line 196 of file CrPsCmd3s3StartFunc.c.