2
0

rom.S 312 B

12345678910111213141516171819202122
  1. /*
  2. * ROM wrapper
  3. */
  4. .macro __rom name
  5. .globl \name
  6. .section ".dram.abcrom","a"
  7. .balign 512 /* Required MMU granulatity */
  8. \name :
  9. .incbin FILE
  10. .type \name, @object
  11. .size \name, . - \name
  12. .globl \name\()_size
  13. \name\()_size = . - \name
  14. .globl \name\()_end
  15. \name\()_end = .
  16. .endm
  17. __rom name=NAME