123456789101112131415161718192021222324252627 |
- /*
- * ROM wrapper
- */
- #include "sections.h"
- #include "ioregs.h"
- #define _paste(x,y) 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 = .
|