* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/*
- * @File:
- *
+ * @File:
+ *
* @Abstract: internal data and structure definitions for WMI service
- *
- * @Notes:
+ *
+ * @Notes:
*/
#ifndef WMI_INTERNAL_H_
#endif /* WMI_DEBUG */
#define EVT_PKT_IN_USE (1 << 0)
-#define EVT_PKT_IS_FREE(e) !((e)->Flags & EVT_PKT_IN_USE)
+#define EVT_PKT_IS_FREE(e) !((e)->Flags & EVT_PKT_IN_USE)
#define EVT_MARK_FREE(e) (e)->Flags &= ~EVT_PKT_IN_USE;
#define EVT_MARK_INUSE(e) (e)->Flags |= EVT_PKT_IN_USE
#define IS_EVT_CLASS_BUFFERED(ec) ((ec) != WMI_EVT_CLASS_DIRECT_BUFFER)
typedef struct _WMI_POOL_STATE {
int MaxAllocation; /* maximum allocations allowed for this pool */
int CurrentAllocation; /* current allocations outstanding */
-} WMI_POOL_STATE;
+} WMI_POOL_STATE;
typedef struct _WMI_SVC_CONTEXT {
htc_handle_t HtcHandle;
- pool_handle_t PoolHandle;
+ pool_handle_t PoolHandle;
int PendingEvents; /* no. of pending events */
HTC_SERVICE WMIControlService; /* registered control service */
HTC_ENDPOINT_ID ControlEp; /* endpoint assigned to us */
WMI_DISPATCH_TABLE *pDispatchHead; /* dispatch list head ptr */
- WMI_DISPATCH_TABLE *pDispatchTail; /* dispatch list tail ptr */
+ WMI_DISPATCH_TABLE *pDispatchTail; /* dispatch list tail ptr */
// Left a door for extension the structure
void *pReserved;