blob: fc87d4d0bc6f3e031734f5a70e56167e717e3b19 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
/*
* Copyright 2022 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef __EXTRA_USB_UPDATER_DAUNTLESS_EVENT_H
#define __EXTRA_USB_UPDATER_DAUNTLESS_EVENT_H
#include <stdint.h>
typedef struct {
uint64_t time;
uint32_t size;
uint32_t event_type;
uint8_t payload[0];
} dt_event_t;
union dt_entry_u {
uint8_t raw[256];
dt_event_t evt;
};
#endif // __EXTRA_USB_UPDATER_DAUNTLESS_EVENT_H
|