FreeCalypso > hg > fc-magnetite
changeset 147:e63a3f1e12f0
src/cs/riviera/rvm/rvm_use_id_list.h: tab fix
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 09 Oct 2016 06:15:32 +0000 |
parents | fb95e3f83dc5 |
children | 34ee53b81f33 |
files | src/cs/riviera/rvm/rvm_use_id_list.h |
diffstat | 1 files changed, 90 insertions(+), 90 deletions(-) [+] |
line wrap: on
line diff
--- a/src/cs/riviera/rvm/rvm_use_id_list.h Sun Oct 09 06:06:04 2016 +0000 +++ b/src/cs/riviera/rvm/rvm_use_id_list.h Sun Oct 09 06:15:32 2016 +0000 @@ -1,5 +1,5 @@ /** - * @file rvm_use_id_list.h + * @file rvm_use_id_list.h * * List of common SWE USE IDs. * @@ -8,17 +8,17 @@ * Development SWE as well as customer SWE should use the rvm_ext_use_id_list.h * file for their USE IDs. * - * @author David Lamy-Charrier (d-lamy@ti.com) - * @version 0.1 + * @author David Lamy-Charrier (d-lamy@ti.com) + * @version 0.1 */ /* * Revision History: * - * Date Author Modification - * ------------------------------------------------------------------- - * 10/25/2001 David Lamy-Charrier Create. - * 11/20/2001 Vincent Oberle Added BUILD_MESSAGE_OFFSET. + * Date Author Modification + * ------------------------------------------------------------------- + * 10/25/2001 David Lamy-Charrier Create. + * 11/20/2001 Vincent Oberle Added BUILD_MESSAGE_OFFSET. * * (C) Copyright 2001 by Texas Instruments Incorporated, All Rights Reserved */ @@ -40,37 +40,37 @@ /** * Macro for building the message offset from the USE ID. */ -#define BUILD_MESSAGE_OFFSET(useid) ( (useid & 0xFFFF0000) + \ - ((((useid & 0xAAAA) ? 1 : 0) + \ - ((useid & 0xCCCC) ? 2 : 0) + \ - ((useid & 0xF0F0) ? 4 : 0) + \ - ((useid & 0xFF00) ? 8 : 0)) << 12) ) +#define BUILD_MESSAGE_OFFSET(useid) ( (useid & 0xFFFF0000) + \ + ((((useid & 0xAAAA) ? 1 : 0) + \ + ((useid & 0xCCCC) ? 2 : 0) + \ + ((useid & 0xF0F0) ? 4 : 0) + \ + ((useid & 0xFF00) ? 8 : 0)) << 12) ) -#define RIVIERA_USE_ID_CLUSTER_1 (1) +#define RIVIERA_USE_ID_CLUSTER_1 (1) -#define DRIVERS_USE_ID_CLUSTER_1 (10) +#define DRIVERS_USE_ID_CLUSTER_1 (10) -#define BLUETOOTH_USE_ID_CLUSTER_1 (20) +#define BLUETOOTH_USE_ID_CLUSTER_1 (20) -#define SERVICES_USE_ID_CLUSTER_1 (30) -#define SERVICES_USE_ID_CLUSTER_2 (31) +#define SERVICES_USE_ID_CLUSTER_1 (30) +#define SERVICES_USE_ID_CLUSTER_2 (31) -#define TEST_USE_ID_CLUSTER_1 (40) +#define TEST_USE_ID_CLUSTER_1 (40) -#define CONDAT_USE_ID_CLUSTER_1 (50) +#define CONDAT_USE_ID_CLUSTER_1 (50) -#define JAVA_USE_ID_CLUSTER_1 (60) +#define JAVA_USE_ID_CLUSTER_1 (60) -#define TCPIP_USE_ID_CLUSTER_1 (70) +#define TCPIP_USE_ID_CLUSTER_1 (70) -#define OBIGO_USE_ID_CLUSTER_1 (80) -#define OBIGO_USE_ID_CLUSTER_2 (81) +#define OBIGO_USE_ID_CLUSTER_1 (80) +#define OBIGO_USE_ID_CLUSTER_2 (81) #define WIDCOMM_BT_USE_ID_CLUSTER_1 (90) /** - * @name Widcomm cluster + * @name Widcomm cluster * * Riviera insfrastructure */ @@ -83,45 +83,45 @@ #define BTUI_USE_ID BUILD_USE_ID( 0, WIDCOMM_BT_USE_ID_CLUSTER_1, 0x0010) #define RPC_USE_ID BUILD_USE_ID( 0, WIDCOMM_BT_USE_ID_CLUSTER_1, 0x0020) /** - * @name Riviera cluster + * @name Riviera cluster * * Riviera insfrastructure */ /*@{*/ /* this one is only used for trace purpose */ -#define RVM_USE_ID BUILD_USE_ID( 0, RIVIERA_USE_ID_CLUSTER_1, 0x0001) +#define RVM_USE_ID BUILD_USE_ID( 0, RIVIERA_USE_ID_CLUSTER_1, 0x0001) -#define RVT_USE_ID BUILD_USE_ID( 0, RIVIERA_USE_ID_CLUSTER_1, 0x0002) +#define RVT_USE_ID BUILD_USE_ID( 0, RIVIERA_USE_ID_CLUSTER_1, 0x0002) -#define TI_PRF_USE_ID BUILD_USE_ID( 0, RIVIERA_USE_ID_CLUSTER_1, 0x0004) +#define TI_PRF_USE_ID BUILD_USE_ID( 0, RIVIERA_USE_ID_CLUSTER_1, 0x0004) /*@}*/ /** - * @name Driver cluster + * @name Driver cluster * * Drivers */ /*@{*/ -#define R2D_USE_ID BUILD_USE_ID( 0, DRIVERS_USE_ID_CLUSTER_1, 0x0001) +#define R2D_USE_ID BUILD_USE_ID( 0, DRIVERS_USE_ID_CLUSTER_1, 0x0001) -#define RTC_USE_ID BUILD_USE_ID( 0, DRIVERS_USE_ID_CLUSTER_1, 0x0002) +#define RTC_USE_ID BUILD_USE_ID( 0, DRIVERS_USE_ID_CLUSTER_1, 0x0002) -#define FFS_USE_ID BUILD_USE_ID( 0, DRIVERS_USE_ID_CLUSTER_1, 0x0004) +#define FFS_USE_ID BUILD_USE_ID( 0, DRIVERS_USE_ID_CLUSTER_1, 0x0004) -#define KPD_USE_ID BUILD_USE_ID( 0, DRIVERS_USE_ID_CLUSTER_1, 0x0008) +#define KPD_USE_ID BUILD_USE_ID( 0, DRIVERS_USE_ID_CLUSTER_1, 0x0008) -#define SPI_USE_ID BUILD_USE_ID( 0, DRIVERS_USE_ID_CLUSTER_1, 0x0010) +#define SPI_USE_ID BUILD_USE_ID( 0, DRIVERS_USE_ID_CLUSTER_1, 0x0010) /* Replacing PWR_USE_ID */ -#define LCC_USE_ID BUILD_USE_ID( 0, DRIVERS_USE_ID_CLUSTER_1, 0x0020) +#define LCC_USE_ID BUILD_USE_ID( 0, DRIVERS_USE_ID_CLUSTER_1, 0x0020) -#define RGUI_USE_ID BUILD_USE_ID( 0, DRIVERS_USE_ID_CLUSTER_1, 0x0040) +#define RGUI_USE_ID BUILD_USE_ID( 0, DRIVERS_USE_ID_CLUSTER_1, 0x0040) /*@}*/ @@ -129,147 +129,147 @@ /** - * @name Bluetooth cluster + * @name Bluetooth cluster * * Bluetooth related SWE */ /*@{*/ -#define HCI_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0001) +#define HCI_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0001) -#define L2CAP_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0002) +#define L2CAP_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0002) -#define BTCTRL_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0004) +#define BTCTRL_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0004) -#define RFC_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0008) +#define RFC_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0008) -#define SPP_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0010) +#define SPP_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0010) -#define HS_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0020) +#define HS_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0020) -#define HSG_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0040) +#define HSG_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0040) -#define SDP_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0080) +#define SDP_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0080) -#define DUN_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0100) +#define DUN_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0100) -#define FAX_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0200) +#define FAX_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0200) -#define OBX_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0400) +#define OBX_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0400) -#define OPP_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0800) +#define OPP_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0800) -#define FTP_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x1000) +#define FTP_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x1000) -#define SYN_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x2000) +#define SYN_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x2000) /*@}*/ /** - * @name Services cluster + * @name Services cluster * * Services */ /*@{*/ -#define EXPL_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0001) +#define EXPL_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0001) -#define AUDIO_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0002) +#define AUDIO_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0002) -#define ETM_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0004) +#define ETM_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0004) -#define DAR_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0008) +#define DAR_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0008) -#define MKS_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0010) +#define MKS_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0010) -#define MPM_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0020) +#define MPM_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0020) -#define LLS_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0040) +#define LLS_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0040) -#define ATP_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0080) +#define ATP_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0080) -#define ATP_UART_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0100) +#define ATP_UART_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0100) -#define MDC_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0200) +#define MDC_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0200) -#define TTY_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0400) +#define TTY_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0400) -#define DCM_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0800) +#define DCM_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0800) -#define DCFG_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x1000) +#define DCFG_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x1000) -#define MMS_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x1000) +#define MMS_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x1000) /*@}*/ /** - * @name Services cluster - 2 + * @name Services cluster - 2 * * Services */ /*@{*/ -#define MFW_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_2, 0x0001) +#define MFW_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_2, 0x0001) -#define SMBS_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_2, 0x0002) +#define SMBS_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_2, 0x0002) -#define AUDIO_BGD_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_2, 0x0004) +#define AUDIO_BGD_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_2, 0x0004) -#define IMG_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_2, 0x0008) +#define IMG_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_2, 0x0008) -#define MDL_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_2, 0x0010) +#define MDL_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_2, 0x0010) /*@}*/ /** - * @name Test cluster + * @name Test cluster * * Tests related SWEs */ /*@{*/ -#define RTEST_USE_ID BUILD_USE_ID( 0, TEST_USE_ID_CLUSTER_1, 0x0001) +#define RTEST_USE_ID BUILD_USE_ID( 0, TEST_USE_ID_CLUSTER_1, 0x0001) /* maybe put in another cluster */ -#define TUT_USE_ID BUILD_USE_ID( 0, TEST_USE_ID_CLUSTER_1, 0x0002) +#define TUT_USE_ID BUILD_USE_ID( 0, TEST_USE_ID_CLUSTER_1, 0x0002) /*@}*/ /** - * @name J2ME cluster + * @name J2ME cluster * * Java related SWEs */ /*@{*/ -#define KIL_USE_ID BUILD_USE_ID( 0, JAVA_USE_ID_CLUSTER_1, 0x0001) +#define KIL_USE_ID BUILD_USE_ID( 0, JAVA_USE_ID_CLUSTER_1, 0x0001) -#define KGC_USE_ID BUILD_USE_ID( 0, JAVA_USE_ID_CLUSTER_1, 0x0002) +#define KGC_USE_ID BUILD_USE_ID( 0, JAVA_USE_ID_CLUSTER_1, 0x0002) -#define KCL_USE_ID BUILD_USE_ID( 0, JAVA_USE_ID_CLUSTER_1, 0x0004) +#define KCL_USE_ID BUILD_USE_ID( 0, JAVA_USE_ID_CLUSTER_1, 0x0004) -#define KMM_USE_ID BUILD_USE_ID( 0, JAVA_USE_ID_CLUSTER_1, 0x0008) +#define KMM_USE_ID BUILD_USE_ID( 0, JAVA_USE_ID_CLUSTER_1, 0x0008) -#define KNM_USE_ID BUILD_USE_ID( 0, JAVA_USE_ID_CLUSTER_1, 0x0010) +#define KNM_USE_ID BUILD_USE_ID( 0, JAVA_USE_ID_CLUSTER_1, 0x0010) -#define UVM_USE_ID BUILD_USE_ID( 0, JAVA_USE_ID_CLUSTER_1, 0x0020) +#define UVM_USE_ID BUILD_USE_ID( 0, JAVA_USE_ID_CLUSTER_1, 0x0020) -#define KZP_USE_ID BUILD_USE_ID( 0, JAVA_USE_ID_CLUSTER_1, 0x0040) +#define KZP_USE_ID BUILD_USE_ID( 0, JAVA_USE_ID_CLUSTER_1, 0x0040) -#define KPG_USE_ID BUILD_USE_ID( 0, JAVA_USE_ID_CLUSTER_1, 0x0080) +#define KPG_USE_ID BUILD_USE_ID( 0, JAVA_USE_ID_CLUSTER_1, 0x0080) -#define JTM_USE_ID BUILD_USE_ID( 0, JAVA_USE_ID_CLUSTER_1, 0x0100) +#define JTM_USE_ID BUILD_USE_ID( 0, JAVA_USE_ID_CLUSTER_1, 0x0100) /*@}*/ /** - * @name Stack TCP/IP cluster + * @name Stack TCP/IP cluster * * Stack TCP/IP. */ @@ -286,13 +286,13 @@ /** - * @name Condat cluster + * @name Condat cluster * * Condat related SWEs */ /*@{*/ -#define CONDAT_FRM_USE_ID BUILD_USE_ID( 0, CONDAT_USE_ID_CLUSTER_1, 0x0001) +#define CONDAT_FRM_USE_ID BUILD_USE_ID( 0, CONDAT_USE_ID_CLUSTER_1, 0x0001) /*@}*/ @@ -300,7 +300,7 @@ /** - * @name Obigo cluster + * @name Obigo cluster * * Obigo related SWE's */ @@ -338,7 +338,7 @@ /** - * @name Obigo second cluster + * @name Obigo second cluster * * Obigo related test SWE's */