Gabor Ambrus | a9f8d17 | 2023-08-14 22:32:08 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: BSD-3-Clause */ |
2 | /* | ||||
3 | * Copyright (c) 2023, Arm Limited and Contributors. All rights reserved. | ||||
4 | */ | ||||
5 | |||||
6 | #ifndef LOG_PROTO_H | ||||
7 | #define LOG_PROTO_H | ||||
8 | |||||
9 | #include <stdint.h> | ||||
10 | |||||
11 | struct __attribute__ ((__packed__)) log_request { | ||||
12 | uint64_t msg_length; | ||||
13 | char msg[]; | ||||
14 | }; | ||||
15 | |||||
16 | /* Opcodes */ | ||||
17 | #define TS_LOG_OPCODE_BASE (0x0100) | ||||
18 | #define TS_LOG_OPCODE_PUTS (TS_LOG_OPCODE_BASE + 1) | ||||
19 | |||||
20 | #endif /* LOG_PROTO_H */ |