comparison rvinterf/include/etm.h @ 810:c535e7438c25

rvinterf/include/etm.h: debug sub-opcode definitions
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 10 May 2021 00:56:23 +0000
parents e7502631a0f9
children 214d4c1c7387
comparison
equal deleted inserted replaced
809:c30c2f6a55c2 810:c535e7438c25
47 #define TMCORE_OPC_VERSION 0x65 47 #define TMCORE_OPC_VERSION 0x65
48 #define TMCORE_OPC_CODEC_RD 0x66 48 #define TMCORE_OPC_CODEC_RD 0x66
49 #define TMCORE_OPC_CODEC_WR 0x67 49 #define TMCORE_OPC_CODEC_WR 0x67
50 #define TMCORE_OPC_DIEID 0x68 50 #define TMCORE_OPC_DIEID 0x68
51 51
52 /* TMCORE_OPC_DEBUG sub-opcodes */
53 #define TMDBG_OPC_ALLOC_BUF 0x00
54 #define TMDBG_OPC_FREE_BUF 0x01
55 #define TMDBG_OPC_TRACE_MASK 0x02
56 #define TMDBG_OPC_RVF_DUMP 0x03
57 /* FreeCalypso additions */
58 #define TMDBG_OPC_PWR_CYCLE 0x04
59 #define TMDBG_OPC_PWR_PRESS 0x05
60 #define TMDBG_OPC_PWR_RELEASE 0x06
61 #define TMDBG_OPC_PHONE_ON 0x07
62
52 #define MAX_MEMREAD_BYTES 238 63 #define MAX_MEMREAD_BYTES 238
53 #define MAX_MEMREAD_16BIT 119 64 #define MAX_MEMREAD_16BIT 119