blob: 54f6420425ec0284a00ab1e2327e3d79b72907f3 [file] [log] [blame]
Gabor Ambrusa9f8d172023-08-14 22:32:08 +02001/* 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
11struct __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 */