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