FreeCalypso > hg > freecalypso-tools
changeset 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 | c30c2f6a55c2 |
children | 4c7f3778dc24 |
files | rvinterf/include/etm.h |
diffstat | 1 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/rvinterf/include/etm.h Sat Mar 27 18:48:36 2021 +0000 +++ b/rvinterf/include/etm.h Mon May 10 00:56:23 2021 +0000 @@ -49,5 +49,16 @@ #define TMCORE_OPC_CODEC_WR 0x67 #define TMCORE_OPC_DIEID 0x68 +/* TMCORE_OPC_DEBUG sub-opcodes */ +#define TMDBG_OPC_ALLOC_BUF 0x00 +#define TMDBG_OPC_FREE_BUF 0x01 +#define TMDBG_OPC_TRACE_MASK 0x02 +#define TMDBG_OPC_RVF_DUMP 0x03 +/* FreeCalypso additions */ +#define TMDBG_OPC_PWR_CYCLE 0x04 +#define TMDBG_OPC_PWR_PRESS 0x05 +#define TMDBG_OPC_PWR_RELEASE 0x06 +#define TMDBG_OPC_PHONE_ON 0x07 + #define MAX_MEMREAD_BYTES 238 #define MAX_MEMREAD_16BIT 119