speex_C54_test.cmd 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. /* Copyright (C) 2005 Psi Systems, Inc.
  2. File: speex_C54_test.cmd
  3. Linker command file with memory allocation for TI TMS320VC5416 processor
  4. for use with TI Code Composer (TM) DSP development tools.
  5. Redistribution and use in source and binary forms, with or without
  6. modification, are permitted provided that the following conditions
  7. are met:
  8. - Redistributions of source code must retain the above copyright
  9. notice, this list of conditions and the following disclaimer.
  10. - Redistributions in binary form must reproduce the above copyright
  11. notice, this list of conditions and the following disclaimer in the
  12. documentation and/or other materials provided with the distribution.
  13. - Neither the name of the Xiph.org Foundation nor the names of its
  14. contributors may be used to endorse or promote products derived from
  15. this software without specific prior written permission.
  16. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  17. ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  18. LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  19. A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR
  20. CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
  21. EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
  22. PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
  23. PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
  24. LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
  25. NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  26. SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  27. */
  28. -c
  29. -stack 0x2000
  30. -heap 0x1000 /* If private memory allocation is used for Speex */
  31. /*-heap 0x6000 /* If calloc is used for Speex */
  32. -lrts_ext.lib
  33. MEMORY
  34. {
  35. /* PAGE 0: P_DARAM03: origin = 0x80, len = 0x7f00*/
  36. PAGE 0: P_DARAM03: origin = 0x5000, len = 0x2f80
  37. PAGE 0: VECT: origin = 0x7f80, len = 0x80
  38. PAGE 0: P_DARAM47: origin = 0x18000, len = 0x8000
  39. PAGE 0: SARAM03: origin = 0x28000, len = 0x8000
  40. PAGE 0: SARAM47: origin = 0x38000, len = 0x8000
  41. PAGE 1: USERREGS: origin = 0x60, len = 0x1a
  42. PAGE 1: BIOSREGS: origin = 0x7c, len = 0x4
  43. PAGE 1: CSLREGS: origin = 0x7a, len = 0x2
  44. D_DARAM03: origin = 0x80, len = 0x4f80
  45. D_DARAM47: origin = 0x8000, len = 0x8000
  46. }
  47. SECTIONS
  48. {
  49. .vectors: {} > VECT PAGE 0
  50. .bootmem: {rts_ext.lib (.text)} > P_DARAM03 PAGE 0
  51. /* .bootmem: {} > P_DARAM03 PAGE 0 */
  52. .text: {} > SARAM03 PAGE 0
  53. .cinit: {} > SARAM03 PAGE 0
  54. .switch: {} > SARAM03 PAGE 0
  55. .bss: {} > D_DARAM03 | D_DARAM47 PAGE 1
  56. .far: {} > D_DARAM03 | D_DARAM47 PAGE 1
  57. .const: {} > D_DARAM03 | D_DARAM47 PAGE 1
  58. .sysmem: {} > D_DARAM47 PAGE 1
  59. .cio: {} > D_DARAM03 | D_DARAM47 PAGE 1
  60. .stack: {} > D_DARAM03 | D_DARAM47 PAGE 1
  61. .myheap: {} > D_DARAM47 PAGE 1
  62. }