12345678910111213141516171819202122232425262728 |
- /*
- * ROM wrapper
- */
- #include "sections.h"
- #include "ioregs.h"
- #define __paste(x,y) x ## y
- #define _paste(x,y) __paste(x,y)
- .globl NAME
- __dram_rom
- .balign ABCMEMMAP_PAGE_SIZE, 0xff /* Required MMU granulatity */
- NAME :
- .incbin FILE
- .balign ABCMEMMAP_PAGE_SIZE, 0xff
- .type NAME, @object
- #define SIZE _paste(NAME,_size)
- .globl SIZE
- SIZE = . - NAME
- .size NAME , SIZE
- #define END _paste(NAME,_end)
- .globl END
- END = .
|