v4.18.0
This commit is contained in:
committed by
GitHub
parent
e2190aeda8
commit
01e4c7f5a7
@@ -15,6 +15,8 @@ extern "C" {
|
||||
#include "status.h"
|
||||
#include "stdfloat.h"
|
||||
|
||||
#pragma pack(push, 1)
|
||||
|
||||
/**
|
||||
* @brief The d2h event manager structures relevant in the host
|
||||
*/
|
||||
@@ -59,6 +61,7 @@ typedef enum {
|
||||
HEALTH_MONITOR_CLOCK_CHANGED_EVENT_ID,
|
||||
HW_INFER_MANAGER_INFER_DONE,
|
||||
CONTEXT_SWITCH_RUN_TIME_ERROR,
|
||||
START_UPDATE_CACHE_OFFSET_ID,
|
||||
|
||||
D2H_EVENT_ID_COUNT /* Must be last*/
|
||||
} D2H_EVENT_ID_t;
|
||||
@@ -157,6 +160,12 @@ typedef struct {
|
||||
|
||||
#define D2H_EVENT_CONTEXT_SWITCH_RUN_TIME_ERROR_EVENT_PARAMETER_COUNT (5)
|
||||
|
||||
typedef struct {
|
||||
uint64_t cache_id_bitmask;
|
||||
} D2H_EVENT_start_update_cache_offset_message_t;
|
||||
|
||||
#define D2H_EVENT_START_UPDATE_CACHE_OFFSET_PARAMETER_COUNT (1)
|
||||
|
||||
/* D2H_EVENT__message_parameters_t should be in the same order as hailo_notification_message_parameters_t */
|
||||
typedef union {
|
||||
D2H_EVENT_rx_error_event_message_t rx_error_event;
|
||||
@@ -170,6 +179,7 @@ typedef union {
|
||||
D2H_EVENT_health_monitor_clock_changed_event_message_t health_monitor_clock_changed_event;
|
||||
D2H_EVENT_hw_infer_mamager_infer_done_message_t hw_infer_manager_infer_done_event;
|
||||
D2H_EVENT_context_switch_run_time_error_event_message_t context_switch_run_time_error_event;
|
||||
D2H_EVENT_start_update_cache_offset_message_t start_update_cache_offset_event;
|
||||
} D2H_EVENT__message_parameters_t;
|
||||
|
||||
typedef struct {
|
||||
@@ -187,6 +197,8 @@ typedef struct {
|
||||
uint8_t buffer[D2H_EVENT_MAX_SIZE];
|
||||
} D2H_event_buffer_t;
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
/**********************************************************************
|
||||
* Public Functions
|
||||
**********************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user