FreeCalypso > hg > freecalypso-sw
comparison rvinterf/include/etm.h @ 260:c146f38d2b5f
rvinterf subdir structure made a little more sensible
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Wed, 05 Feb 2014 04:02:13 +0000 |
parents | rvinterf/etm/etm.h@9f4f331ac24d |
children | 42719fa3e6af |
comparison
equal
deleted
inserted
replaced
259:35113b1964d3 | 260:c146f38d2b5f |
---|---|
1 /* | |
2 * This header file contains various definitions for talking to ETM. | |
3 */ | |
4 | |
5 #define ETM_USE_ID 0x001E0004 | |
6 | |
7 /* ETM Module IDs */ | |
8 enum { | |
9 ETM_TM3 = 0x00, // Use of old TM3 protocol | |
10 ETM_CORE = 0x01, | |
11 ETM_TMT = 0x02, // Pseudo module | |
12 ETM_SH = 0x03, // Pseudo module | |
13 ETM_TM3_MISC = 0x04, // Pseudo module - Target side | |
14 ETM_RF = 0x05, | |
15 ETM_IMEI = 0x06, | |
16 ETM_FFS2 = 0x07, | |
17 ETM_AUDIO = 0x08, | |
18 ETM_TPU = 0x09, // Not official part ETM | |
19 ETM_PWR = 0x0A, | |
20 ETM_BT = 0x0B, | |
21 ETM_L23 = 0x0C, | |
22 ETM_RESERVED10 = 0x0D, | |
23 ETM_RESERVED11 = 0x0E, | |
24 ETM_RESERVED12 = 0x0F, | |
25 | |
26 ETM_CUST = 0xC0, // Customize id | |
27 ETM_CUST1 = 0xC1, // Customize id | |
28 ETM_CUST2 = 0xC2, // Customize id | |
29 ETM_CUST3 = 0xC3, // Customize id | |
30 ETM_CUST4 = 0xC4, // Customize id | |
31 ETM_CUST5 = 0xC5, // Customize id | |
32 ETM_CUST6 = 0xC6, // Customize id | |
33 ETM_CUST7 = 0xC7, // Customize id | |
34 ETM_CUST8 = 0xC8, // Customize id | |
35 | |
36 ETM_TEST = 0xAA, // used for test of dll's | |
37 ETM_TASK = 0xEE, // ETM TASK in Target | |
38 | |
39 ETM_FFS1 = 0x70 | |
40 }; | |
41 | |
42 /* ETM_CORE opcodes */ | |
43 #define TMCORE_OPC_MEM 0x61 | |
44 #define TMCORE_OPC_ECHO 0x62 | |
45 #define TMCORE_OPC_RESET 0x63 | |
46 #define TMCORE_OPC_DEBUG 0x64 | |
47 #define TMCORE_OPC_VERSION 0x65 | |
48 #define TMCORE_OPC_CODEC_RD 0x66 | |
49 #define TMCORE_OPC_CODEC_WR 0x67 | |
50 #define TMCORE_OPC_DIEID 0x68 |