File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1212#define GEOS_MEMORYMAP_H
1313
1414#define SET_OVERLAYSIZE (bytes ) asm(".globl __overlaysize_param\n__overlaysize_param = " #bytes)
15+ #define SET_APPRAM_START (adr ) asm(".globl __appram_start_param\n__appram_start_param = " #adr)
1516
1617#define APP_RAM 0x0400 /** start of application space */
1718#define BACK_SCR_BASE 0x6000 /** base of background screen */
Original file line number Diff line number Diff line change 11__overlaysize = DEFINED (__overlaysize_param) ? __overlaysize_param : 0x1000 ;
2+ __appram_start = DEFINED (__appram_start_param) ? __appram_start_param : 0x0400 ;
23
34__backbufsize = 0x2000 ;
45__overlayaddr = 0x8000 - __backbufsize - __overlaysize;
@@ -9,8 +10,8 @@ __zp_reg_end = 0xfb;
910__zp_reg_size = __zp_reg_end - __zp_reg_start;
1011
1112MEMORY {
12- zp : ORIGIN = __zp_reg_start, LENGTH = __zp_reg_size
13- vlir00 : ORIGIN = 0x0400 , LENGTH = __overlayaddr - __stacksize - 0x0400
13+ zp : ORIGIN = __zp_reg_start, LENGTH = __zp_reg_size
14+ vlir00 : ORIGIN = __appram_start , LENGTH = __overlayaddr - __stacksize - __appram_start
1415 vlir01 : ORIGIN = __overlayaddr+0x010000 , LENGTH = __overlaysize
1516 vlir02 : ORIGIN = __overlayaddr+0x020000 , LENGTH = __overlaysize
1617 vlir03 : ORIGIN = __overlayaddr+0x030000 , LENGTH = __overlaysize
You can’t perform that action at this time.
0 commit comments