MusicKit
0.0.0
|
00001 #ifndef __MK_dsp_memory_map_ap_H___ 00002 #define __MK_dsp_memory_map_ap_H___ 00003 /* dsp_memory_map_ap.h - 1.0 compatibility include file 00004 00005 The "DSPAP_" defined constants here have been replaced by the more generic 00006 "DSP_" defines. Instead of importing this file, you should change your 00007 source code, replacing "DSPAP_" by "DSP_". Import this file, if you must, 00008 after first importing dsp_memory_map.h (which is imported by dsp.h). 00009 00010 Note that the definitions are not valid until after you have booted the DSP 00011 (or at least called DSPSetSystem). If you must have the constants before 00012 booting, you can use the old 1.0 version of this file, 00013 dsp_memory_map_ap_1.0.h, but then your code will be compiled only for 8K 00014 words of DSP static RAM. 00015 00016 ------------------------------------------------------------------------------ 00017 00018 This include file contains definitions for Array Processing DSP Monitor 00019 memory addresses. Address names are of the form 00020 00021 DSPAP_{X,Y,P,L}{L,H}{I,E}_{USR,SYS} 00022 00023 where {X,Y,P,L} are the possible memory spaces in the DSP, {L,H} specifies 00024 lower or higher memory segment boundary, {I,E} specifies internal or 00025 external memory, and {USR,SYS} specifies user or system memory segments. 00026 For example, PHE_USR specifies the maximum address available to the user 00027 in external program memory. In general, the system occupies the lowest and 00028 highest address range in each space, with the user having all addresses in 00029 between. 00030 00031 Names of the form 'DSPAP_I_<name>' denote integer constants. 00032 Names of the form 'DSPAP_NB_<name>' denote buffer sizes. 00033 Names of the form 'DSPAP_N{X,Y,L,P}{I,E}_{USR,SYS}' denote memory segment sizes. 00034 00035 */ 00036 00037 /***** GLOBAL SYMBOLS *****/ 00038 #define DSPAP_DEGMON_FLAG DSP_DEGMON_FLAG 00039 #define DSPAP_DEGMON_FLAG2 DSP_DEGMON_FLAG2 00040 #define DSPAP_DEGMON_H DSP_DEGMON_H 00041 #define DSPAP_DEGMON_HCR DSP_DEGMON_HCR 00042 #define DSPAP_DEGMON_HPD2 DSP_DEGMON_HPD2 00043 #define DSPAP_DEGMON_IPR DSP_DEGMON_IPR 00044 #define DSPAP_DEGMON_L DSP_DEGMON_L 00045 #define DSPAP_DEGMON_N DSP_DEGMON_N 00046 #define DSPAP_DEGMON_PC DSP_DEGMON_PC 00047 #define DSPAP_DEGMON_RUN_LOC DSP_DEGMON_RUN_LOC 00048 #define DSPAP_DEGMON_SR DSP_DEGMON_SR 00049 #define DSPAP_DEGMON_SR2 DSP_DEGMON_SR2 00050 #define DSPAP_DEGMON_TRACER_LOC DSP_DEGMON_TRACER_LOC 00051 #define DSPAP_HE_USR DSP_HE_USR 00052 #define DSPAP_I_0DBU16 DSP_I_0DBU16 00053 #define DSPAP_I_0DBU24 DSP_I_0DBU24 00054 #define DSPAP_I_DEFIPR DSP_I_DEFIPR 00055 #define DSPAP_I_DEFOMR DSP_I_DEFOMR 00056 #define DSPAP_I_EPS DSP_I_EPS 00057 #define DSPAP_I_M12DBU16 DSP_I_M12DBU16 00058 #define DSPAP_I_M12DBU24 DSP_I_M12DBU24 00059 #define DSPAP_I_MAXPOS DSP_I_MAXPOS 00060 #define DSPAP_I_MINPOS DSP_I_MINPOS 00061 #define DSPAP_I_ONEHALF DSP_I_ONEHALF 00062 #define DSPAP_I_OUTY DSP_I_OUTY 00063 #define DSPAP_LE_USR DSP_LE_USR 00064 #define DSPAP_LHE_SEG DSP_LHE_SEG 00065 #define DSPAP_LHE_SYS DSP_LHE_SYS 00066 #define DSPAP_LHE_USG DSP_LHE_USG 00067 #define DSPAP_LHE_USR DSP_LHE_USR 00068 #define DSPAP_LHI_SYS DSP_LHI_SYS 00069 #define DSPAP_LHI_USR DSP_LHI_USR 00070 #define DSPAP_LLE_SEG DSP_LLE_SEG 00071 #define DSPAP_LLE_SYS DSP_LLE_SYS 00072 #define DSPAP_LLE_USG DSP_LLE_USG 00073 #define DSPAP_LLE_USR DSP_LLE_USR 00074 #define DSPAP_LLI_SYS DSP_LLI_SYS 00075 #define DSPAP_LLI_USR DSP_LLI_USR 00076 #define DSPAP_NAE_SYS DSP_NAE_SYS 00077 #define DSPAP_NB_DMA DSP_NB_DMA 00078 #define DSPAP_NB_DMA_R DSP_NB_DMA_R 00079 #define DSPAP_NB_DMA_W DSP_NB_DMA_W 00080 #define DSPAP_NB_DMQ DSP_NB_DMQ 00081 #define DSPAP_NB_HMS DSP_NB_HMS 00082 #define DSPAP_NB_TMQ DSP_NB_TMQ 00083 #define DSPAP_NE_USR DSP_NE_USR 00084 #define DSPAP_NLE_SEG DSP_NLE_SEG 00085 #define DSPAP_NLE_SYS DSP_NLE_SYS 00086 #define DSPAP_NLE_USG DSP_NLE_USG 00087 #define DSPAP_NLE_USR DSP_NLE_USR 00088 #define DSPAP_NLI_SYS DSP_NLI_SYS 00089 #define DSPAP_NLI_USR DSP_NLI_USR 00090 #define DSPAP_NPE_SEG DSP_NPE_SEG 00091 #define DSPAP_NPE_SYS DSP_NPE_SYS 00092 #define DSPAP_NPE_SYSEP DSP_NPE_SYSEP 00093 #define DSPAP_NPE_USG DSP_NPE_USG 00094 #define DSPAP_NPE_USR DSP_NPE_USR 00095 #define DSPAP_NPI_RAM DSP_NPI_RAM 00096 #define DSPAP_NPI_ROM DSP_NPI_ROM 00097 #define DSPAP_NPI_SYS DSP_NPI_SYS 00098 #define DSPAP_NPI_USR DSP_NPI_USR 00099 #define DSPAP_NXE_SEG DSP_NXE_SEG 00100 #define DSPAP_NXE_SYS DSP_NXE_SYS 00101 #define DSPAP_NXE_USG DSP_NXE_USG 00102 #define DSPAP_NXE_USR DSP_NXE_USR 00103 #define DSPAP_NXI_RAM DSP_NXI_RAM 00104 #define DSPAP_NXI_ROM DSP_NXI_ROM 00105 #define DSPAP_NXI_SYS DSP_NXI_SYS 00106 #define DSPAP_NXI_USR DSP_NXI_USR 00107 #define DSPAP_NYE_SEG DSP_NYE_SEG 00108 #define DSPAP_NYE_SYS DSP_NYE_SYS 00109 #define DSPAP_NYE_USG DSP_NYE_USG 00110 #define DSPAP_NYE_USR DSP_NYE_USR 00111 #define DSPAP_NYI_RAM DSP_NYI_RAM 00112 #define DSPAP_NYI_ROM DSP_NYI_ROM 00113 #define DSPAP_NYI_SYS DSP_NYI_SYS 00114 #define DSPAP_NYI_USR DSP_NYI_USR 00115 #define DSPAP_PHE_RAM DSP_PHE_RAM 00116 #define DSPAP_PHE_SEG DSP_PHE_SEG 00117 #define DSPAP_PHE_SYS DSP_PHE_SYS 00118 #define DSPAP_PHE_SYSEP DSP_PHE_SYSEP 00119 #define DSPAP_PHE_USG DSP_PHE_USG 00120 #define DSPAP_PHE_USR DSP_PHE_USR 00121 #define DSPAP_PHI_RAM DSP_PHI_RAM 00122 #define DSPAP_PHI_ROM DSP_PHI_ROM 00123 #define DSPAP_PHI_SYS DSP_PHI_SYS 00124 #define DSPAP_PHI_USR DSP_PHI_USR 00125 #define DSPAP_PLE_RAM DSP_PLE_RAM 00126 #define DSPAP_PLE_SEG DSP_PLE_SEG 00127 #define DSPAP_PLE_SYS DSP_PLE_SYS 00128 #define DSPAP_PLE_SYSEP DSP_PLE_SYSEP 00129 #define DSPAP_PLE_USG DSP_PLE_USG 00130 #define DSPAP_PLE_USR DSP_PLE_USR 00131 #define DSPAP_PLI_RAM DSP_PLI_RAM 00132 #define DSPAP_PLI_ROM DSP_PLI_ROM 00133 #define DSPAP_PLI_SYS DSP_PLI_SYS 00134 #define DSPAP_PLI_USR DSP_PLI_USR 00135 #define DSPAP_XHE_RAM DSP_XHE_RAM 00136 #define DSPAP_XHE_SEG DSP_XHE_SEG 00137 #define DSPAP_XHE_SYS DSP_XHE_SYS 00138 #define DSPAP_XHE_USG DSP_XHE_USG 00139 #define DSPAP_XHE_USR DSP_XHE_USR 00140 #define DSPAP_XHI_RAM DSP_XHI_RAM 00141 #define DSPAP_XHI_ROM DSP_XHI_ROM 00142 #define DSPAP_XHI_SYS DSP_XHI_SYS 00143 #define DSPAP_XHI_USR DSP_XHI_USR 00144 #define DSPAP_XLE_RAM DSP_XLE_RAM 00145 #define DSPAP_XLE_SEG DSP_XLE_SEG 00146 #define DSPAP_XLE_SYS DSP_XLE_SYS 00147 #define DSPAP_XLE_USG DSP_XLE_USG 00148 #define DSPAP_XLE_USR DSP_XLE_USR 00149 #define DSPAP_XLI_RAM DSP_XLI_RAM 00150 #define DSPAP_XLI_ROM DSP_XLI_ROM 00151 #define DSPAP_XLI_SYS DSP_XLI_SYS 00152 #define DSPAP_XLI_USR DSP_XLI_USR 00153 #define DSPAP_YHE_RAM DSP_YHE_RAM 00154 #define DSPAP_YHE_SEG DSP_YHE_SEG 00155 #define DSPAP_YHE_SYS DSP_YHE_SYS 00156 #define DSPAP_YHE_USG DSP_YHE_USG 00157 #define DSPAP_YHE_USR DSP_YHE_USR 00158 #define DSPAP_YHI_RAM DSP_YHI_RAM 00159 #define DSPAP_YHI_ROM DSP_YHI_ROM 00160 #define DSPAP_YHI_SYS DSP_YHI_SYS 00161 #define DSPAP_YHI_USR DSP_YHI_USR 00162 #define DSPAP_YLE_RAM DSP_YLE_RAM 00163 #define DSPAP_YLE_SEG DSP_YLE_SEG 00164 #define DSPAP_YLE_SYS DSP_YLE_SYS 00165 #define DSPAP_YLE_USG DSP_YLE_USG 00166 #define DSPAP_YLE_USR DSP_YLE_USR 00167 #define DSPAP_YLI_RAM DSP_YLI_RAM 00168 #define DSPAP_YLI_ROM DSP_YLI_ROM 00169 #define DSPAP_YLI_SYS DSP_YLI_SYS 00170 #define DSPAP_YLI_USR DSP_YLI_USR 00171 #define DSPAP_NPE_SYSEP_FREE DSP_NPE_SYSEP_FREE 00172 #define DSPAP_SYS_REV DSP_SYS_REV 00173 #define DSPAP_SYS_VER DSP_SYS_VER 00174 00175 /***** X SYMBOLS *****/ 00176 #define DSPAP_X_ABORT_A1 DSP_X_ABORT_A1 00177 #define DSPAP_X_ABORT_DMASTAT DSP_X_ABORT_DMASTAT 00178 #define DSPAP_X_ABORT_HCR DSP_X_ABORT_HCR 00179 #define DSPAP_X_ABORT_HSR DSP_X_ABORT_HSR 00180 #define DSPAP_X_ABORT_M_IO DSP_X_ABORT_M_IO 00181 #define DSPAP_X_ABORT_RUNSTAT DSP_X_ABORT_RUNSTAT 00182 #define DSPAP_X_ABORT_R_HMS DSP_X_ABORT_R_HMS 00183 #define DSPAP_X_ABORT_R_I1 DSP_X_ABORT_R_I1 00184 #define DSPAP_X_ABORT_R_IO DSP_X_ABORT_R_IO 00185 #define DSPAP_X_ABORT_SP DSP_X_ABORT_SP 00186 #define DSPAP_X_ABORT_SR DSP_X_ABORT_SR 00187 #define DSPAP_X_ABORT_X0 DSP_X_ABORT_X0 00188 #define DSPAP_X_DMASTAT DSP_X_DMASTAT 00189 #define DSPAP_X_DMA_R_M DSP_X_DMA_R_M 00190 #define DSPAP_X_DMA_W_M DSP_X_DMA_W_M 00191 #define DSPAP_X_DMQRP DSP_X_DMQRP 00192 #define DSPAP_X_DMQWP DSP_X_DMQWP 00193 #define DSPAP_X_DSPMSG_A1 DSP_X_DSPMSG_A1 00194 #define DSPAP_X_DSPMSG_B0 DSP_X_DSPMSG_B0 00195 #define DSPAP_X_DSPMSG_B1 DSP_X_DSPMSG_B1 00196 #define DSPAP_X_DSPMSG_B2 DSP_X_DSPMSG_B2 00197 #define DSPAP_X_DSPMSG_M_O DSP_X_DSPMSG_M_O 00198 #define DSPAP_X_DSPMSG_R_O DSP_X_DSPMSG_R_O 00199 #define DSPAP_X_DSPMSG_X0 DSP_X_DSPMSG_X0 00200 #define DSPAP_X_DSPMSG_X1 DSP_X_DSPMSG_X1 00201 #define DSPAP_X_HMSRP DSP_X_HMSRP 00202 #define DSPAP_X_HMSWP DSP_X_HMSWP 00203 #define DSPAP_X_SAVED_A0 DSP_X_SAVED_A0 00204 #define DSPAP_X_SAVED_A1 DSP_X_SAVED_A1 00205 #define DSPAP_X_SAVED_A2 DSP_X_SAVED_A2 00206 #define DSPAP_X_SAVED_B0 DSP_X_SAVED_B0 00207 #define DSPAP_X_SAVED_B1 DSP_X_SAVED_B1 00208 #define DSPAP_X_SAVED_B2 DSP_X_SAVED_B2 00209 #define DSPAP_X_SAVED_HOST_RCV1 DSP_X_SAVED_HOST_RCV1 00210 #define DSPAP_X_SAVED_HOST_RCV2 DSP_X_SAVED_HOST_RCV2 00211 #define DSPAP_X_SAVED_HOST_XMT1 DSP_X_SAVED_HOST_XMT1 00212 #define DSPAP_X_SAVED_HOST_XMT2 DSP_X_SAVED_HOST_XMT2 00213 #define DSPAP_X_SAVED_M_HMS DSP_X_SAVED_M_HMS 00214 #define DSPAP_X_SAVED_M_I1 DSP_X_SAVED_M_I1 00215 #define DSPAP_X_SAVED_M_I2 DSP_X_SAVED_M_I2 00216 #define DSPAP_X_SAVED_M_O DSP_X_SAVED_M_O 00217 #define DSPAP_X_SAVED_N_HMS DSP_X_SAVED_N_HMS 00218 #define DSPAP_X_SAVED_N_I1 DSP_X_SAVED_N_I1 00219 #define DSPAP_X_SAVED_N_I2 DSP_X_SAVED_N_I2 00220 #define DSPAP_X_SAVED_N_O DSP_X_SAVED_N_O 00221 #define DSPAP_X_SAVED_REGISTERS DSP_X_SAVED_REGISTERS 00222 #define DSPAP_X_SAVED_R_HMS DSP_X_SAVED_R_HMS 00223 #define DSPAP_X_SAVED_R_I1 DSP_X_SAVED_R_I1 00224 #define DSPAP_X_SAVED_R_I2 DSP_X_SAVED_R_I2 00225 #define DSPAP_X_SAVED_R_O DSP_X_SAVED_R_O 00226 #define DSPAP_X_SAVED_X0 DSP_X_SAVED_X0 00227 #define DSPAP_X_SAVED_X1 DSP_X_SAVED_X1 00228 #define DSPAP_X_SAVED_Y0 DSP_X_SAVED_Y0 00229 #define DSPAP_X_SAVED_Y1 DSP_X_SAVED_Y1 00230 #define DSPAP_X_SCRATCH1 DSP_X_SCRATCH1 00231 #define DSPAP_X_SCRATCH2 DSP_X_SCRATCH2 00232 #define DSPAP_X_START DSP_X_START 00233 #define DSPAP_X_XHM_R_I1 DSP_X_XHM_R_I1 00234 #define DSPAP_X_ZERO DSP_X_ZERO 00235 00236 /***** Y SYMBOLS *****/ 00237 #define DSPAP_YB_DMA_W DSP_YB_DMA_W 00238 #define DSPAP_YB_DMA_W0 DSP_YB_DMA_W0 00239 #define DSPAP_YB_DMA_W2 DSP_YB_DMA_W2 00240 #define DSPAP_YB_DMQ DSP_YB_DMQ 00241 #define DSPAP_YB_DMQ0 DSP_YB_DMQ0 00242 #define DSPAP_YB_HMS DSP_YB_HMS 00243 #define DSPAP_YB_HMS0 DSP_YB_HMS0 00244 #define DSPAP_YB_TMQ DSP_YB_TMQ 00245 #define DSPAP_YB_TMQ0 DSP_YB_TMQ0 00246 #define DSPAP_YB_TMQ2 DSP_YB_TMQ2 00247 #define DSPAP_Y_RUNSTAT DSP_Y_RUNSTAT 00248 #define DSPAP_Y_ZERO DSP_Y_ZERO 00249 00250 /***** L SYMBOLS *****/ 00251 #define DSPAP_L_STATUS DSP_L_STATUS 00252 #define DSPAP_L_ZERO DSP_L_ZERO 00253 00254 #endif