1 /* SPDX-License-Identifier: BSD-2-Clause */ 2 /* 3 * Copyright (c) 2017, Linaro Limited 4 */ 5 6 #ifndef __PTA_BENCHMARK_H 7 #define __PTA_BENCHMARK_H 8 9 /* 10 * Interface to the benchmark pseudo-TA, which is used for registering 11 * timestamp buffers 12 */ 13 14 #define BENCHMARK_UUID \ 15 { 0x0b9a63b0, 0xb4c6, 0x4c85, \ 16 { 0xa2, 0x84, 0xa2, 0x28, 0xef, 0x54, 0x7b, 0x4e } } 17 18 /* 19 * Benchmark PTA supported commands 20 */ 21 #define BENCHMARK_CMD(id) (0xFA190000 | ((id) & 0xFFFF)) 22 #define BENCHMARK_CMD_ALLOCATE_BUF BENCHMARK_CMD(1) 23 #define BENCHMARK_CMD_GET_MEMREF BENCHMARK_CMD(2) 24 #define BENCHMARK_CMD_UNREGISTER BENCHMARK_CMD(3) 25 26 #endif /* __PTA_BENCHMARK_H */ 27