46 #include "Application_Resource_Configuration.h"
88 //--------------------------------------------------------------------------
99 //--------------------------------------------------------------------------
int BOOL
Boolean datatype definition.
Definition: Defines.h:124
#define NULL
Definition: Defines.h:388
unsigned long long U64
Binary 64-Bit unsigned integer datatype defenition.
Definition: Defines.h:213
void VOID
Datatypesess datatype definition.
Definition: Defines.h:105
unsigned long U32
Binary 32-Bit unsigned integer datatype defenition.
Definition: Defines.h:203
unsigned short U16
Binary 16-Bit unsigned integer datatype defenition.
Definition: Defines.h:193
char C8
ASCII 8-Bit char datatype defenition.
Definition: Defines.h:156
Event database header file.
Event manager base class header file.
#define EVENT_MANAGER_BUFFER_SIZE
Definition: Event_Manager_Base.h:58
#define EVENT_MANAGER_BUFFERS_COUNT
Definition: Event_Manager_Base.h:59
Communication protocol base class header file.
SPI NAND FLASH memory chip S25FL512 hardware driver class header file.
SPI connected memory base class header file.
System date and time calss implementation.
Event manager class.
Definition: Event_Manager.h:70
BOOL Half_Devision_Method_Searching(U64 u64_Event_Index, TEvent_Manager_Base::TEvent_Generic_Record **struct_Event_Record)
Half division method event searching.
Definition: Event_Manager.cpp:1847
BOOL Start_Operation()
This method set module in operation mode.
Definition: Event_Manager.cpp:2274
U64 Get_First_Event_Index()
Method get index of the first event record.
Definition: Event_Manager.cpp:930
U64 u64_Selected_Event_Index
Actual selected event index.
Definition: Event_Manager.h:618
VOID Execute()
Event manager background execution method.
Definition: Event_Manager.cpp:490
U32 Get_Event_Buffer_Size()
Method get event buffer size.
Definition: Event_Manager.cpp:906
U64 u64_Current_Program_Page_Address
Current address for programing.
Definition: Event_Manager.h:630
VOID Verify_Database()
Verify database method.
Definition: Event_Manager.cpp:229
BOOL Get_Event_Record_By_Index(U64 u64_Event_Index, TEvent_Manager_Base::TEvent_Generic_Record **struct_Event_Record)
Method search event record by event index.
Definition: Event_Manager.cpp:1762
TEvent_Manager_Base::TEvent_Generic_Record struct_Selected_Event_Record
Current event record. Store current event data for VDC tool functionality.
Definition: Event_Manager.h:621
U16 u16_Offset_For_Max_Event_Index
Storage page index with maximal event index in flash.
Definition: Event_Manager.h:600
VOID Init()
Event manager initialisation method.
Definition: Event_Manager.cpp:92
VOID Create(U32 u32_Event_ID)
Method for creating event with determine event index.
Definition: Event_Manager.cpp:334
U16 u16_Storage_Block_Index
Storage block index variable, used to store actual block index by data flush FSM.
Definition: Event_Manager.h:591
TEvent_Descriptor * struct_Event_Descriptors_List
Event descriptors list storage mapped directly to the section.
Definition: Event_Manager.h:636
U32 Calculate_Database_Hash()
Calculate event descriptor database hash description.
Definition: Event_Manager.cpp:1403
U32 Get_Event_Record_Size()
Method get event buffer size.
Definition: Event_Manager.cpp:918
U32 Get_Database_Size_In_Bytes()
Get event database size in bytes method.
Definition: Event_Manager.cpp:2232
BOOL Get_Min_Max_Flash_Index()
Search first and last event index in flash.
Definition: Event_Manager.cpp:1464
U32 Get_OS_Status()
This method return OS status.
Definition: Event_Manager.cpp:2262
TEvent_Buffer struct_Event_Buffer[EVENT_MANAGER_BUFFERS_COUNT]
Event buffers.
Definition: Event_Manager.h:576
U64 u64_Last_Global_Event_Index
Last global event index detected in the system.
Definition: Event_Manager.h:612
BOOL Verify_Event_Descriptor_Database()
Verify event desriptor database method.
Definition: Event_Manager.cpp:2141
U32 u32_Last_Flushed_Buffer_Index
Last flushed buffer index.
Definition: Event_Manager.h:579
BOOL Get_Event_Description_By_Event_ID(U32 u32_Event_ID, C8 **c8_Event_Description)
Method get pointer to event description by given event ID.
Definition: Event_Manager.cpp:1354
U32 u32_Database_Hash
Event manager database derscriptor hash.
Definition: Event_Manager.h:585
U32 u32_Current_Buffer_Index
Storage Current buffer index.
Definition: Event_Manager.h:603
U32 Get_Database_Hash()
Method get event database descriptor hash.
Definition: Event_Manager.cpp:894
U64 u64_First_Global_Event_Index
First global event index detected in the system.
Definition: Event_Manager.h:609
U32 u32_Dropped_Event_Counter
Counter of dropped events caused by buffer overflow.
Definition: Event_Manager.h:648
U32 u32_Duplicated_Event_Descriptor_Record_Counter
Duplicated event descriptor record counter.
Definition: Event_Manager.h:642
TOS_Status_Structure struct_OS_Status
Container for OS status.
Definition: Event_Manager.h:639
VOID Show_Boot_Information(TProtocol_Base *object_Protocol)
Method show boot information message method.
Definition: Event_Manager.cpp:162
TEvent_Manager_Base::TEvent_Generic_Record struct_Flash_Event_Record
Flash data record storage.
Definition: Event_Manager.h:627
U16 u16_Page_Index_With_Min_Event_Index
Storage page index with manimal event index in flash.
Definition: Event_Manager.h:597
TData_Flush_FSM
Event data flush FSM state definition.
Definition: Event_Manager.h:446
@ enum_Erase_Block
Erase block state.
Definition: Event_Manager.h:461
@ enum_Empty_Block_Test
Testing for block is empty state.
Definition: Event_Manager.h:458
@ enum_Flush_Buffer
Data flish state.
Definition: Event_Manager.h:452
@ enum_Idle
Idle state.
Definition: Event_Manager.h:449
@ enum_Search_Good_Block
Looking for next good block stete.
Definition: Event_Manager.h:455
U64 u64_Current_Event_Index_In_Flash
Last event index in flash memory.
Definition: Event_Manager.h:633
BOOL Format_Event_Storage()
Erasing flash memory.
Definition: Event_Manager.cpp:261
U64 u64_Current_Global_Event_Index
Current global event index detected in the system.
Definition: Event_Manager.h:615
U16 u16_Page_Index_With_Max_Event_Index
Storage page index variable, used to store actual page index by data flush FSM.
Definition: Event_Manager.h:594
U64 u64_Last_Flushed_Event_Index
Last global event index detected in the Flash.
Definition: Event_Manager.h:582
U64 Get_Last_Event_Index()
Method get index of the last event record.
Definition: Event_Manager.cpp:942
BOOL Set_Selected_Event_Index(U64 u64_Selected_Event_New_Index)
Method set index of the currently selected even.
Definition: Event_Manager.cpp:966
VOID Create_Header_Event(TEvent_Manager_Base::TEvent_Header_Record **struct_Event_Record)
Method for creating event header.
Definition: Event_Manager.cpp:411
BOOL Get_Selected_Event(TEvent_Manager_Base::TEvent_Generic_Record **struct_Event_Record)
Method get selected event.
Definition: Event_Manager.cpp:1042
VOID Create_Data_Event(U64 u64_Relative_Event_Index, TEvent_Manager_Base::TEvent_Payload_Record **struct_Event_Record)
Method for creating event header.
Definition: Event_Manager.cpp:450
U64 Get_Selected_Event_Index()
Method get index of the currently selected event.
Definition: Event_Manager.cpp:954
VOID Done()
Event manager finalisation method.
Definition: Event_Manager.cpp:151
U32 Get_Previous_Buffer_Index(U32 u32_Buffer_Index)
Get previous buffer index.
Definition: Event_Manager.cpp:1100
U32 u32_Requested_Event_Counter
Counter for requested events.
Definition: Event_Manager.h:645
TS25FL512 * object_SPI_Memory
Pointer to event memory object.
Definition: Event_Manager.h:573
U32 u32_Current_Number_Buffer_Index
Storage current number of buffer index.
Definition: Event_Manager.h:606
BOOL Assign_Memory(TS25FL512 *object_Memory_Pointer)
Memory type assignment method.
Definition: Event_Manager.cpp:187
VOID Increment_Buffer_Index()
Increment event buffer method.
Definition: Event_Manager.cpp:300
U32 Get_Database_Record_Count()
Method get event database descriptor hash.
Definition: Event_Manager.cpp:2247
TData_Flush_FSM enum_Data_Flush_FSM_State
Event data flish FSM state variable.
Definition: Event_Manager.h:588
U32 Get_Current_Buffer_Index()
Method get current buffer index.
Definition: Event_Manager.cpp:1087
VOID Send_Event_Description(TProtocol_Base *object_Protocol, U32 enum_Event_ID)
Method send event desctiption over protocol.
Definition: Event_Manager.cpp:1299
BOOL bool_Selected_Event_Valid
Selected event validity flag.
Definition: Event_Manager.h:624
VOID Send_Information(TProtocol_Base *object_Protocol)
Method send diagnostic information about event manager.
Definition: Event_Manager.cpp:1139
Definition: Protocol_Base.h:57
NAND memory hardware driver.
Definition: S25FL512.h:62
Event descriptor structure.
Definition: Event_Database.h:241
Event buffer structure definition.
Definition: Event_Manager.h:467
BOOL bool_Flush_Request
Data buffer flush request.
Definition: Event_Manager.h:473
Consolidated generic event data record.
Definition: Event_Manager_Base.h:193
Event payload data record, 64 bytes.
Definition: Event_Manager_Base.h:154
OS parameter status structure.
Definition: Defines.h:855