1 /*
2  * Arm SCP/MCP Software
3  * Copyright (c) 2021, Arm Limited and Contributors. All rights reserved.
4  *
5  * SPDX-License-Identifier: BSD-3-Clause
6  *
7  * Description:
8  *     Framework internal header for Events as described in fwk_event.h.
9  */
10 
11 #ifndef FWK_INTERNAL_EVENT_H
12 #define FWK_INTERNAL_EVENT_H
13 
14 /*!
15  * \internal Event types.
16  */
17 enum fwk_event_type {
18 
19     /*!
20      * Event that includes 'params' and other information, usually
21      * queued in event/isr queues and represented by
22      * <tt> struct fwk_event' </tt>
23      */
24     FWK_EVENT_TYPE_STD,
25 
26     /*!
27      *  Light event does not include 'params' and few other attributes as
28      *  <tt> struct fwk_event </tt> type object and are only used to send
29      *  directional event to target module. The object of these types
30      *  are converted to \c FWK_EVENT_TYPE_STD type objects in a preallocated
31      *  <tt> struct fwk_event </tt> type event before processing by the
32      *  target module's <tt> process_event </tt> function.
33      */
34     FWK_EVENT_TYPE_LIGHT,
35 
36     /*! Count of Event types */
37     FWK_EVENT_TYPE_COUNT,
38 };
39 
40 #endif /* FWK_INTERNAL_EVENT_H */
41