MusicKit
0.0.0
|
00001 #ifndef __MK_dsp_memory_map_ap_1.0_H___ 00002 #define __MK_dsp_memory_map_ap_1.0_H___ 00003 /* $Id$ 00004 Written by dspmsg from system symbols. 00005 00006 This include file contains definitions for Array Processing memory 00007 addresses. These definitions depend heavily on 00008 /usr/local/lib/dsp/smsrc/config.asm, and they tend to change every time the 00009 DSP system code is modified. Use of these constants should be avoided 00010 whenever possible in C software. At the very least, their use should be 00011 confined to a single interface module. 00012 00013 Address names are of the form 00014 00015 DSPAP_{X,Y,P,L}{L,H}{I,E}_{USR,SYS} 00016 00017 where {X,Y,P,L} are the possible memory spaces in the DSP, {L,H} specifies 00018 lower or higher memory segment boundary, {I,E} specifies internal or 00019 external memory, and {USR,SYS} specifies user or system memory segments. 00020 For example, PHE_USR specifies the maximum address available to the user 00021 in external program memory. In general, the system occupies the lowest and 00022 highest address range in each space, with the user having all addresses in 00023 between. 00024 00025 Names of the form 'DSPAP_I_<name>' denote integer constants. 00026 Names of the form 'DSPAP_NB_<name>' denote buffer sizes. 00027 Names of the form 'DSPAP_N{X,Y,L,P}{I,E}_{USR,SYS}' denote memory segment sizes. 00028 00029 */ 00030 00031 /***** GLOBAL SYMBOLS *****/ 00032 #define DSPAP_DEGMON_FLAG 0x000035 00033 #define DSPAP_DEGMON_FLAG2 0x000037 00034 #define DSPAP_DEGMON_H 0x00007f 00035 #define DSPAP_DEGMON_HCR 0x00003b 00036 #define DSPAP_DEGMON_HPD2 0x000036 00037 #define DSPAP_DEGMON_IPR 0x00003a 00038 #define DSPAP_DEGMON_L 0x000034 00039 #define DSPAP_DEGMON_N 0x00004c 00040 #define DSPAP_DEGMON_PC 0x000039 00041 #define DSPAP_DEGMON_RUN_LOC 0x000047 00042 #define DSPAP_DEGMON_SR 0x000038 00043 #define DSPAP_DEGMON_SR2 0x00003c 00044 #define DSPAP_DEGMON_TRACER_LOC 0x000059 00045 #define DSPAP_HE_USR 0x003b15 00046 #define DSPAP_I_0DBU16 0x003187 00047 #define DSPAP_I_0DBU24 0x031999 00048 #define DSPAP_I_DEFIPR 0x00243c 00049 #define DSPAP_I_DEFOMR 0x000006 00050 #define DSPAP_I_EPS 0x000001 00051 #define DSPAP_I_M12DBU16 0x000c66 00052 #define DSPAP_I_M12DBU24 0x0c6666 00053 #define DSPAP_I_MAXPOS 0x7fffff 00054 #define DSPAP_I_MINPOS 0x000001 00055 #define DSPAP_I_ONEHALF 0x400000 00056 #define DSPAP_I_OUTY 0x00ffff 00057 #define DSPAP_LE_USR 0x002000 00058 #define DSPAP_LHE_SEG 0x00afff 00059 #define DSPAP_LHE_SYS 0x003f37 00060 #define DSPAP_LHE_USG 0x00ab15 00061 #define DSPAP_LHE_USR 0x003b15 00062 #define DSPAP_LHI_SYS 0x000001 00063 #define DSPAP_LHI_USR 0x0000ff 00064 #define DSPAP_LLE_SEG 0x00a000 00065 #define DSPAP_LLE_SYS 0x003f38 00066 #define DSPAP_LLE_USG 0x00a000 00067 #define DSPAP_LLE_USR 0x003b16 00068 #define DSPAP_LLI_SYS 0x000000 00069 #define DSPAP_LLI_USR 0x0000f6 00070 #define DSPAP_NAE_SYS 0x0004ea 00071 #define DSPAP_NB_DMA 0x000000 00072 #define DSPAP_NB_DMA_R 0x000000 00073 #define DSPAP_NB_DMA_W 0x000000 00074 #define DSPAP_NB_DMQ 0x000020 00075 #define DSPAP_NB_HMS 0x000040 00076 #define DSPAP_NB_TMQ 0x000038 00077 #define DSPAP_NE_USR 0x001b16 00078 #define DSPAP_NLE_SEG 0x001000 00079 #define DSPAP_NLE_SYS 0x000000 00080 #define DSPAP_NLE_USG 0x000b16 00081 #define DSPAP_NLE_USR 0x000000 00082 #define DSPAP_NLI_SYS 0x000002 00083 #define DSPAP_NLI_USR 0x00000a 00084 #define DSPAP_NPE_SEG 0x002000 00085 #define DSPAP_NPE_SYS 0x000352 00086 #define DSPAP_NPE_SYSEP 0x0000c8 00087 #define DSPAP_NPE_USG 0x000000 00088 #define DSPAP_NPE_USR 0x000000 00089 #define DSPAP_NPI_RAM 0x000200 00090 #define DSPAP_NPI_ROM 0x000000 00091 #define DSPAP_NPI_SYS 0x000000 00092 #define DSPAP_NPI_USR 0x000180 00093 #define DSPAP_NXE_SEG 0x001000 00094 #define DSPAP_NXE_SYS 0x000038 00095 #define DSPAP_NXE_USG 0x000b16 00096 #define DSPAP_NXE_USR 0x001b16 00097 #define DSPAP_NXI_RAM 0x000100 00098 #define DSPAP_NXI_ROM 0x000100 00099 #define DSPAP_NXI_SYS 0x000000 00100 #define DSPAP_NXI_USR 0x0000f4 00101 #define DSPAP_NYE_SEG 0x001000 00102 #define DSPAP_NYE_SYS 0x000098 00103 #define DSPAP_NYE_USG 0x001000 00104 #define DSPAP_NYE_USR 0x000000 00105 #define DSPAP_NYI_RAM 0x000100 00106 #define DSPAP_NYI_ROM 0x000100 00107 #define DSPAP_NYI_SYS 0x000000 00108 #define DSPAP_NYI_USR 0x0000f4 00109 #define DSPAP_PHE_RAM 0x003fff 00110 #define DSPAP_PHE_SEG 0x00bfff 00111 #define DSPAP_PHE_SYS 0x003e67 00112 #define DSPAP_PHE_SYSEP 0x003fff 00113 #define DSPAP_PHE_USG 0x009fff 00114 #define DSPAP_PHE_USR 0x001fff 00115 #define DSPAP_PHI_RAM 0x0001ff 00116 #define DSPAP_PHI_ROM 0x0001ff 00117 #define DSPAP_PHI_SYS 0x00007f 00118 #define DSPAP_PHI_USR 0x0001ff 00119 #define DSPAP_PLE_RAM 0x002000 00120 #define DSPAP_PLE_SEG 0x00a000 00121 #define DSPAP_PLE_SYS 0x003b16 00122 #define DSPAP_PLE_SYSEP 0x003f38 00123 #define DSPAP_PLE_USG 0x00a000 00124 #define DSPAP_PLE_USR 0x002000 00125 #define DSPAP_PLI_RAM 0x000000 00126 #define DSPAP_PLI_ROM 0x000200 00127 #define DSPAP_PLI_SYS 0x000080 00128 #define DSPAP_PLI_USR 0x000080 00129 #define DSPAP_XHE_RAM 0x003fff 00130 #define DSPAP_XHE_SEG 0x00afff 00131 #define DSPAP_XHE_SYS 0x003e9f 00132 #define DSPAP_XHE_USG 0x00ab15 00133 #define DSPAP_XHE_USR 0x003b15 00134 #define DSPAP_XHI_RAM 0x0000ff 00135 #define DSPAP_XHI_ROM 0x0001ff 00136 #define DSPAP_XHI_SYS 0x000001 00137 #define DSPAP_XHI_USR 0x0000f5 00138 #define DSPAP_XLE_RAM 0x002000 00139 #define DSPAP_XLE_SEG 0x00a000 00140 #define DSPAP_XLE_SYS 0x003e68 00141 #define DSPAP_XLE_USG 0x00a000 00142 #define DSPAP_XLE_USR 0x002000 00143 #define DSPAP_XLI_RAM 0x000000 00144 #define DSPAP_XLI_ROM 0x000100 00145 #define DSPAP_XLI_SYS 0x000000 00146 #define DSPAP_XLI_USR 0x000002 00147 #define DSPAP_YHE_RAM 0x003fff 00148 #define DSPAP_YHE_SEG 0x00afff 00149 #define DSPAP_YHE_SYS 0x003f37 00150 #define DSPAP_YHE_USG 0x00afff 00151 #define DSPAP_YHE_USR 0x003b15 00152 #define DSPAP_YHI_RAM 0x0000ff 00153 #define DSPAP_YHI_ROM 0x0001ff 00154 #define DSPAP_YHI_SYS 0x000001 00155 #define DSPAP_YHI_USR 0x0000f5 00156 #define DSPAP_YLE_RAM 0x002000 00157 #define DSPAP_YLE_SEG 0x00a000 00158 #define DSPAP_YLE_SYS 0x003ea0 00159 #define DSPAP_YLE_USG 0x00a000 00160 #define DSPAP_YLE_USR 0x003b16 00161 #define DSPAP_YLI_RAM 0x000000 00162 #define DSPAP_YLI_ROM 0x000100 00163 #define DSPAP_YLI_SYS 0x000000 00164 #define DSPAP_YLI_USR 0x000002 00165 #define DSPAP_NPE_SYSEP_FREE 0x0001a8 00166 #define DSPAP_SYS_REV 0x000011 00167 #define DSPAP_SYS_VER 0x000001 00168 00169 /***** X SYMBOLS *****/ 00170 #define DSPAP_X_ABORT_A1 0x003e97 00171 #define DSPAP_X_ABORT_DMASTAT 0x003e95 00172 #define DSPAP_X_ABORT_HCR 0x003e9a 00173 #define DSPAP_X_ABORT_HSR 0x003e9b 00174 #define DSPAP_X_ABORT_M_IO 0x003e9f 00175 #define DSPAP_X_ABORT_RUNSTAT 0x003e94 00176 #define DSPAP_X_ABORT_R_HMS 0x003e9c 00177 #define DSPAP_X_ABORT_R_I1 0x003e9d 00178 #define DSPAP_X_ABORT_R_IO 0x003e9e 00179 #define DSPAP_X_ABORT_SP 0x003e98 00180 #define DSPAP_X_ABORT_SR 0x003e99 00181 #define DSPAP_X_ABORT_X0 0x003e96 00182 #define DSPAP_X_DMASTAT 0x000001 00183 #define DSPAP_X_DMA_R_M 0x003e74 00184 #define DSPAP_X_DMA_W_M 0x003e75 00185 #define DSPAP_X_DMQRP 0x003e90 00186 #define DSPAP_X_DMQWP 0x003e91 00187 #define DSPAP_X_DSPMSG_A1 0x003e70 00188 #define DSPAP_X_DSPMSG_B0 0x003e6f 00189 #define DSPAP_X_DSPMSG_B1 0x003e6e 00190 #define DSPAP_X_DSPMSG_B2 0x003e6d 00191 #define DSPAP_X_DSPMSG_M_O 0x003e72 00192 #define DSPAP_X_DSPMSG_R_O 0x003e71 00193 #define DSPAP_X_DSPMSG_X0 0x003e6c 00194 #define DSPAP_X_DSPMSG_X1 0x003e6b 00195 #define DSPAP_X_HMSRP 0x003e69 00196 #define DSPAP_X_HMSWP 0x003e6a 00197 #define DSPAP_X_SAVED_A0 0x003e85 00198 #define DSPAP_X_SAVED_A1 0x003e84 00199 #define DSPAP_X_SAVED_A2 0x003e83 00200 #define DSPAP_X_SAVED_B0 0x003e88 00201 #define DSPAP_X_SAVED_B1 0x003e87 00202 #define DSPAP_X_SAVED_B2 0x003e86 00203 #define DSPAP_X_SAVED_HOST_RCV1 0x003e89 00204 #define DSPAP_X_SAVED_HOST_RCV2 0x003e8a 00205 #define DSPAP_X_SAVED_HOST_XMT1 0x003e8b 00206 #define DSPAP_X_SAVED_HOST_XMT2 0x003e8c 00207 #define DSPAP_X_SAVED_M_HMS 0x003e8f 00208 #define DSPAP_X_SAVED_M_I1 0x003e7c 00209 #define DSPAP_X_SAVED_M_I2 0x003e7d 00210 #define DSPAP_X_SAVED_M_O 0x003e7e 00211 #define DSPAP_X_SAVED_N_HMS 0x003e8e 00212 #define DSPAP_X_SAVED_N_I1 0x003e79 00213 #define DSPAP_X_SAVED_N_I2 0x003e7a 00214 #define DSPAP_X_SAVED_N_O 0x003e7b 00215 #define DSPAP_X_SAVED_REGISTERS 0x003e76 00216 #define DSPAP_X_SAVED_R_HMS 0x003e8d 00217 #define DSPAP_X_SAVED_R_I1 0x003e76 00218 #define DSPAP_X_SAVED_R_I2 0x003e77 00219 #define DSPAP_X_SAVED_R_O 0x003e78 00220 #define DSPAP_X_SAVED_X0 0x003e80 00221 #define DSPAP_X_SAVED_X1 0x003e7f 00222 #define DSPAP_X_SAVED_Y0 0x003e82 00223 #define DSPAP_X_SAVED_Y1 0x003e81 00224 #define DSPAP_X_SCRATCH1 0x003e92 00225 #define DSPAP_X_SCRATCH2 0x003e93 00226 #define DSPAP_X_START 0x003e68 00227 #define DSPAP_X_XHM_R_I1 0x003e73 00228 #define DSPAP_X_ZERO 0x000000 00229 00230 /***** Y SYMBOLS *****/ 00231 #define DSPAP_YB_DMA_W 0x003f00 00232 #define DSPAP_YB_DMA_W0 0x003f00 00233 #define DSPAP_YB_DMA_W2 0x003f00 00234 #define DSPAP_YB_DMQ 0x003ea0 00235 #define DSPAP_YB_DMQ0 0x003ea0 00236 #define DSPAP_YB_HMS 0x003ec0 00237 #define DSPAP_YB_HMS0 0x003ec0 00238 #define DSPAP_YB_TMQ 0x003f00 00239 #define DSPAP_YB_TMQ0 0x003f00 00240 #define DSPAP_YB_TMQ2 0x003f1c 00241 #define DSPAP_Y_RUNSTAT 0x000001 00242 #define DSPAP_Y_ZERO 0x000000 00243 00244 /***** L SYMBOLS *****/ 00245 #define DSPAP_L_STATUS 0x000001 00246 #define DSPAP_L_ZERO 0x000000 00247 00248 #endif