1 /* 2 * \file ss_key_value_names.h 3 * \brief OpenCSD : Names and Value Strings needed to interpret snapshot .ini data 4 * 5 * \copyright Copyright (c) 2015, ARM Limited. All Rights Reserved. 6 */ 7 8 /* 9 * Redistribution and use in source and binary forms, with or without modification, 10 * are permitted provided that the following conditions are met: 11 * 12 * 1. Redistributions of source code must retain the above copyright notice, 13 * this list of conditions and the following disclaimer. 14 * 15 * 2. Redistributions in binary form must reproduce the above copyright notice, 16 * this list of conditions and the following disclaimer in the documentation 17 * and/or other materials provided with the distribution. 18 * 19 * 3. Neither the name of the copyright holder nor the names of its contributors 20 * may be used to endorse or promote products derived from this software without 21 * specific prior written permission. 22 * 23 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS' AND 24 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 25 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 26 * IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 27 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 28 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 29 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 30 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 31 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 32 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 33 */ 34 35 #ifndef ARM_SS_KEY_VALUE_NAMES_H_INCLUDED 36 #define ARM_SS_KEY_VALUE_NAMES_H_INCLUDED 37 38 /*** Core Profile Prefixes ***/ 39 const char * const CPUprofileA("Cortex-A"); 40 const char * const CPUprofileR("Cortex-R"); 41 const char * const CPUprofileM("Cortex-M"); 42 43 /*** Trace Buffer formats ***/ 44 const char * const BuffFmtCS("coresight"); // coresight frame formatted. 45 46 /***ETM v4 ***/ 47 const char * const ETMv4Protocol("ETM4"); 48 const char * const ETMv4RegCfg("TRCCONFIGR"); 49 const char * const ETMv4RegIDR("TRCTRACEIDR"); 50 const char * const ETMv4RegAuth("TRCAUTHSTATUS"); 51 const char * const ETMv4RegIDR0("TRCIDR0"); 52 const char * const ETMv4RegIDR1("TRCIDR1"); 53 const char * const ETMv4RegIDR2("TRCIDR2"); 54 const char * const ETMv4RegIDR8("TRCIDR8"); 55 const char * const ETMv4RegIDR9("TRCIDR9"); 56 const char * const ETMv4RegIDR10("TRCIDR10"); 57 const char * const ETMv4RegIDR11("TRCIDR11"); 58 const char * const ETMv4RegIDR12("TRCIDR12"); 59 const char * const ETMv4RegIDR13("TRCIDR13"); 60 61 /*** ETE ***/ 62 const char *const ETEProtocol("ETE"); 63 const char *const ETERegDevArch("TRCDEVARCH"); 64 65 /*** ETMv3/PTM ***/ 66 const char * const ETMv3Protocol("ETM3"); 67 const char * const PTMProtocol("PTM1"); 68 const char * const PFTProtocol("PFT1"); 69 const char * const ETMv3PTMRegIDR("ETMIDR"); 70 const char * const ETMv3PTMRegCR("ETMCR"); 71 const char * const ETMv3PTMRegCCER("ETMCCER"); 72 const char * const ETMv3PTMRegTraceIDR("ETMTRACEIDR"); 73 74 /*** STM/ITM **/ 75 const char * const STMProtocol("STM"); 76 const char * const STMRegTCSR("STMTCSR"); 77 78 #endif // ARM_SS_KEY_VALUE_NAMES_H_INCLUDED 79 80 /* End of File ss_key_value_names.h */ 81