Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Miscellany
Sunday, April 20th, 2008 at 6:21:24pm UTC 

  1. Index: firmware/export/pp5020.h
  2. ===================================================================
  3. --- firmware/export/pp5020.h    (revision 17190)
  4. +++ firmware/export/pp5020.h    (working copy)
  5. @@ -21,6 +21,8 @@
  6.  
  7.  /* All info gleaned and/or copied from the iPodLinux project. */
  8.  
  9. +#define QHARRAY_ATTR   __attribute__((section(".qharray"),nocommon))
  10. +
  11.  /* DRAM starts at 0x10000000, but in Rockbox we remap it to 0x00000000 */
  12.  #define DRAM_START       0x10000000
  13.  
  14. Index: firmware/export/imx31l.h
  15. ===================================================================
  16. --- firmware/export/imx31l.h    (revision 17190)
  17. +++ firmware/export/imx31l.h    (working copy)
  18. @@ -34,6 +34,7 @@
  19.  #define FRAME_SIZE    (240*320*2)
  20.  
  21.  #define DEVBSS_ATTR   __attribute__((section(".devbss"),nocommon))
  22. +#define QHARRAY_ATTR  DEVBSS_ATTR
  23.  
  24.  /*
  25.   * AIPS 1
  26. Index: firmware/target/arm/usb-drv-arc.c
  27. ===================================================================
  28. --- firmware/target/arm/usb-drv-arc.c   (revision 17190)
  29. +++ firmware/target/arm/usb-drv-arc.c   (working copy)
  30. @@ -339,7 +339,7 @@
  31.  } __attribute__((packed));
  32.  
  33.  static struct queue_head qh_array[NUM_ENDPOINTS*2]
  34. -    USBDEVBSS_ATTR __attribute__((aligned (2048)));
  35. +    QHARRAY_ATTR __attribute__((aligned (2048)));
  36.  
  37.  static struct wakeup transfer_completion_signal[NUM_ENDPOINTS*2]
  38.      SHAREDBSS_ATTR;
  39. Index: firmware/target/arm/olympus/app.lds
  40. ===================================================================
  41. --- firmware/target/arm/olympus/app.lds (revision 17190)
  42. +++ firmware/target/arm/olympus/app.lds (working copy)
  43. @@ -104,8 +104,17 @@
  44.  
  45.      _vectorscopy = LOADADDR(.vectors);
  46.  
  47. -    .iram IRAMORIG :
  48. +    .ibss IRAMORIG (NOLOAD) :
  49.      {
  50. +        _iedata = .;
  51. +        *(.qharray)
  52. +        *(.ibss)
  53. +        . = ALIGN(0x4);
  54. +        _iend = .;
  55. +    } > IRAM
  56. +
  57. +    .iram _iend :
  58. +    {
  59.          _iramstart = .;
  60.          *(.icode)
  61.          *(.irodata)
  62. @@ -116,14 +125,6 @@
  63.  
  64.      _iramcopy = LOADADDR(.iram);
  65.  
  66. -    .ibss (NOLOAD) :
  67. -    {
  68. -        _iedata = .;
  69. -        *(.ibss)
  70. -        . = ALIGN(0x4);
  71. -        _iend = .;
  72. -    } > IRAM
  73. -
  74.      .idle_stacks (NOLOAD) :
  75.      {
  76.         *(.idle_stacks)
  77. Index: firmware/target/arm/ipod/app.lds
  78. ===================================================================
  79. --- firmware/target/arm/ipod/app.lds    (revision 17190)
  80. +++ firmware/target/arm/ipod/app.lds    (working copy)
  81. @@ -104,8 +104,17 @@
  82.  
  83.      _vectorscopy = LOADADDR(.vectors);
  84.  
  85. -    .iram IRAMORIG :
  86. +    .ibss IRAMORIG (NOLOAD) :
  87.      {
  88. +        _iedata = .;
  89. +        *(.qharray)
  90. +        *(.ibss)
  91. +        . = ALIGN(0x4);
  92. +        _iend = .;
  93. +    } > IRAM
  94. +
  95. +    .iram _iend :
  96. +    {
  97.          _iramstart = .;
  98.          *(.icode)
  99.          *(.irodata)
  100. @@ -116,14 +125,6 @@
  101.  
  102.      _iramcopy = LOADADDR(.iram);
  103.  
  104. -    .ibss (NOLOAD) :
  105. -    {
  106. -        _iedata = .;
  107. -        *(.ibss)
  108. -        . = ALIGN(0x4);
  109. -        _iend = .;
  110. -    } > IRAM
  111. -
  112.      .idle_stacks (NOLOAD) :
  113.      {
  114.         *(.idle_stacks)
  115. Index: firmware/target/arm/sandisk/app.lds
  116. ===================================================================
  117. --- firmware/target/arm/sandisk/app.lds (revision 17190)
  118. +++ firmware/target/arm/sandisk/app.lds (working copy)
  119. @@ -104,8 +104,17 @@
  120.  
  121.      _vectorscopy = LOADADDR(.vectors);
  122.  
  123. -    .iram IRAMORIG :
  124. +    .ibss IRAMORIG (NOLOAD) :
  125.      {
  126. +        _iedata = .;
  127. +        *(.qharray)
  128. +        *(.ibss)
  129. +        . = ALIGN(0x4);
  130. +        _iend = .;
  131. +    } > IRAM
  132. +
  133. +    .iram _iend :
  134. +    {
  135.          _iramstart = .;
  136.          *(.icode)
  137.          *(.irodata)
  138. @@ -116,14 +125,6 @@
  139.  
  140.      _iramcopy = LOADADDR(.iram);
  141.  
  142. -    .ibss (NOLOAD) :
  143. -    {
  144. -        _iedata = .;
  145. -        *(.ibss)
  146. -        . = ALIGN(0x4);
  147. -        _iend = .;
  148. -    } > IRAM
  149. -
  150.      .idle_stacks (NOLOAD) :
  151.      {
  152.         *(.idle_stacks)
  153. Index: firmware/target/arm/iriver/app.lds
  154. ===================================================================
  155. --- firmware/target/arm/iriver/app.lds  (revision 17190)
  156. +++ firmware/target/arm/iriver/app.lds  (working copy)
  157. @@ -104,8 +104,17 @@
  158.  
  159.      _vectorscopy = LOADADDR(.vectors);
  160.  
  161. -    .iram IRAMORIG :
  162. +    .ibss IRAMORIG (NOLOAD) :
  163.      {
  164. +        _iedata = .;
  165. +        *(.qharray)
  166. +        *(.ibss)
  167. +        . = ALIGN(0x4);
  168. +        _iend = .;
  169. +    } > IRAM
  170. +
  171. +    .iram _iend :
  172. +    {
  173.          _iramstart = .;
  174.          *(.icode)
  175.          *(.irodata)
  176. @@ -116,14 +125,6 @@
  177.  
  178.      _iramcopy = LOADADDR(.iram);
  179.  
  180. -    .ibss (NOLOAD) :
  181. -    {
  182. -        _iedata = .;
  183. -        *(.ibss)
  184. -        . = ALIGN(0x4);
  185. -        _iend = .;
  186. -    } > IRAM
  187. -
  188.      .idle_stacks (NOLOAD) :
  189.      {
  190.         *(.idle_stacks)

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus
worth-right
worth-right