FreeEMS
0.2.0-SNAPSHOT-285-g028e24c
|
Memory usage directives. More...
Go to the source code of this file.
Macros | |
#define | flashSectorSize 1024 |
#define | flashSectorSizeInWords 512 /* 512 words to a 1k flash sector */ |
#define | RPAGE_TUNE_ONE 0xF8 |
#define | RPAGE_TUNE_TWO 0xF9 |
#define | RPAGE_FUEL_ONE 0xFA |
#define | RPAGE_FUEL_TWO 0xFB |
#define | RPAGE_TIME_ONE 0xFC |
#define | RPAGE_TIME_TWO 0xFD |
#define | RPAGE_LINEAR 0xFD |
#define | RPAGE_MIN 0xF8 |
#define | PPAGE_MIN 0xE0 |
#define | EPAGE_MIN 0x?? |
#define | RWINDOW __attribute__ ((section (".rpage"))) /* ~4k paged RAM window */ |
#define | RXBUF __attribute__ ((section (".rxbuf"))) /* ~2k block of RAM for receive buffer */ |
#define | TXBUF __attribute__ ((section (".txbuf"))) /* ~2k block of RAM for transmit buffer */ |
#define | FIXEDCONF1 __attribute__ ((section (".fixedconf1"))) /* 1k unpaged block, primary static configuration. */ |
#define | FIXEDCONF2 __attribute__ ((section (".fixedconf2"))) /* 1k unpaged block, secondary static configuration. */ |
#define | TEXT1 __attribute__ ((section (".text1"))) /* 14k unpaged block, must be explicitly used. */ |
#define | TEXT __attribute__ ((section (".text"))) /* 14k unpaged block, code defaults to being stored here. */ |
#define | DFAR(label) __attribute__ ((section (label))) |
#define | FFAR(label) __attribute__ ((far)) __attribute__ ((section (label))) |
#define | FPPAGE_E0X FFAR(".ppageE0X") |
#define | FPPAGE_E0S FFAR(".ppageE0S") |
#define | FPPAGE_E1 FFAR(".ppageE1") |
#define | FPPAGE_E2 FFAR(".ppageE2") |
#define | FPPAGE_E3 FFAR(".ppageE3") |
#define | FPPAGE_E4 FFAR(".ppageE4") |
#define | FPPAGE_E5 FFAR(".ppageE5") |
#define | FPPAGE_E6 FFAR(".ppageE6") |
#define | FPPAGE_E7 FFAR(".ppageE7") |
#define | FPPAGE_E8 FFAR(".ppageE8") |
#define | FPPAGE_E9 FFAR(".ppageE9") |
#define | FPPAGE_EA FFAR(".ppageEA") |
#define | FPPAGE_EB FFAR(".ppageEB") |
#define | FPPAGE_EC FFAR(".ppageEC") |
#define | FPPAGE_ED FFAR(".ppageED") |
#define | FPPAGE_EE FFAR(".ppageEE") |
#define | FPPAGE_EF FFAR(".ppageEF") |
#define | FPPAGE_F0 FFAR(".ppageF0") |
#define | FPPAGE_F1 FFAR(".ppageF1") |
#define | FPPAGE_F2 FFAR(".ppageF2") |
#define | FPPAGE_F3 FFAR(".ppageF3") |
#define | FPPAGE_F4 FFAR(".ppageF4") |
#define | FPPAGE_F5 FFAR(".ppageF5") |
#define | FPPAGE_F6 FFAR(".ppageF6") |
#define | FPPAGE_F7 FFAR(".ppageF7") |
#define | PPAGE_E0S DFAR(".ppageE0S") |
#define | PPAGE_E0X DFAR(".ppageE0X") |
#define | PPAGE_E1 DFAR(".ppageE1") |
#define | PPAGE_E2 DFAR(".ppageE2") |
#define | PPAGE_E3 DFAR(".ppageE3") |
#define | PPAGE_E4 DFAR(".ppageE4") |
#define | PPAGE_E5 DFAR(".ppageE5") |
#define | PPAGE_E6 DFAR(".ppageE6") |
#define | PPAGE_E7 DFAR(".ppageE7") |
#define | PPAGE_E8 DFAR(".ppageE8") |
#define | PPAGE_E9 DFAR(".ppageE9") |
#define | PPAGE_EA DFAR(".ppageEA") |
#define | PPAGE_EB DFAR(".ppageEB") |
#define | PPAGE_EC DFAR(".ppageEC") |
#define | PPAGE_ED DFAR(".ppageED") |
#define | PPAGE_EE DFAR(".ppageEE") |
#define | PPAGE_EF DFAR(".ppageEF") |
#define | PPAGE_F0 DFAR(".ppageF0") |
#define | PPAGE_F1 DFAR(".ppageF1") |
#define | PPAGE_F2 DFAR(".ppageF2") |
#define | PPAGE_F3 DFAR(".ppageF3") |
#define | PPAGE_F4 DFAR(".ppageF4") |
#define | PPAGE_F5 DFAR(".ppageF5") |
#define | PPAGE_F6 DFAR(".ppageF6") |
#define | PPAGE_F7 DFAR(".ppageF7") |
#define | FPAGE_F8 FFAR(".fpageF8") |
#define | DPAGE_F8 DFAR(".dpageF8") |
#define | PAGE_F8_PPAGE 0xF8 |
#define | LOOKUPF FFAR(".fpageF9") |
#define | LOOKUPD DFAR(".dpageF9") |
#define | LOOKUP_PPAGE 0xF9 |
#define | FUELTABLESF FFAR(".fpageFA") |
#define | FUELTABLESD DFAR(".dpageFA") |
#define | FUELTABLES_PPAGE 0xFA |
#define | TUNETABLESF FFAR(".fpageFB") |
#define | TUNETABLESD1 DFAR(".dpageFB1") |
#define | TUNETABLESD2 DFAR(".dpageFB2") |
#define | TUNETABLESD3 DFAR(".dpageFB3") |
#define | TUNETABLESD4 DFAR(".dpageFB4") |
#define | TUNETABLESD5 DFAR(".dpageFB5") |
#define | TUNETABLESD6 DFAR(".dpageFB6") |
#define | TUNETABLESD7 DFAR(".dpageFB7") |
#define | TUNETABLESD8 DFAR(".dpageFB8") |
#define | TUNETABLES_PPAGE 0xFB |
#define | TIMETABLESF FFAR(".fpageFC") |
#define | TIMETABLESD DFAR(".dpageFC") |
#define | TIMETABLES_PPAGE 0xFC |
#define | FPAGE_FE FFAR(".ppageFE") /* This is the block that is present in the page window using linear addressing, represents 0x8000 - 0xBFFF ("text2" paged) */ |
#define | DPAGE_FE DFAR(".ppageFE") /* This is the block that is present in the page window using linear addressing, represents 0x8000 - 0xBFFF ("text2" paged) */ |
Memory usage directives.
This file is solely for the definition of compiler memory usage directives. Each one is just a short form of the larger statements DFAR and FFAR found near the top of this file.
Definition in file memory.h.
#define flashSectorSize 1024 |
Definition at line 46 of file memory.h.
Referenced by eraseSector(), writeBlock(), and writeSector().
#define flashSectorSizeInWords 512 /* 512 words to a 1k flash sector */ |
Definition at line 47 of file memory.h.
Referenced by writeBlock(), and writeSector().
#define RPAGE_TUNE_ONE 0xF8 |
Definition at line 65 of file memory.h.
Referenced by initPagedRAMTune(), lookupBlockDetails(), and setupPagedRAM().
#define RPAGE_TUNE_TWO 0xF9 |
Definition at line 66 of file memory.h.
Referenced by initPagedRAMTune(), lookupBlockDetails(), and setupPagedRAM().
#define RPAGE_FUEL_ONE 0xFA |
Definition at line 67 of file memory.h.
Referenced by initPagedRAMFuel(), lookupBlockDetails(), and setupPagedRAM().
#define RPAGE_FUEL_TWO 0xFB |
Definition at line 68 of file memory.h.
Referenced by initPagedRAMFuel(), lookupBlockDetails(), and setupPagedRAM().
#define RPAGE_TIME_ONE 0xFC |
Definition at line 69 of file memory.h.
Referenced by initPagedRAMTime(), lookupBlockDetails(), and setupPagedRAM().
#define RPAGE_TIME_TWO 0xFD |
Definition at line 70 of file memory.h.
Referenced by initPagedRAMTime(), lookupBlockDetails(), and setupPagedRAM().
#define RPAGE_LINEAR 0xFD |
Definition at line 71 of file memory.h.
Referenced by lookupBlockDetails().
#define RPAGE_MIN 0xF8 |
Definition at line 72 of file memory.h.
Referenced by decodePacketAndRespond().
#define PPAGE_MIN 0xE0 |
Definition at line 73 of file memory.h.
Referenced by decodePacketAndRespond().
#define RXBUF __attribute__ ((section (".rxbuf"))) /* ~2k block of RAM for receive buffer */ |
#define TXBUF __attribute__ ((section (".txbuf"))) /* ~2k block of RAM for transmit buffer */ |
#define FIXEDCONF1 __attribute__ ((section (".fixedconf1"))) /* 1k unpaged block, primary static configuration. */ |
#define FIXEDCONF2 __attribute__ ((section (".fixedconf2"))) /* 1k unpaged block, secondary static configuration. */ |
#define TEXT1 __attribute__ ((section (".text1"))) /* 14k unpaged block, must be explicitly used. */ |
#define TEXT __attribute__ ((section (".text"))) /* 14k unpaged block, code defaults to being stored here. */ |
#define FFAR | ( | label | ) | __attribute__ ((far)) __attribute__ ((section (label))) |
#define LOOKUP_PPAGE 0xF9 |
Definition at line 168 of file memory.h.
Referenced by lookupBlockDetails().
const volatile mainTable LambdaTableFlashV FUELTABLESD DFAR(".dpageFA") |
#define FUELTABLES_PPAGE 0xFA |
Definition at line 173 of file memory.h.
Referenced by lookupBlockDetails().
#define TUNETABLES_PPAGE 0xFB |
Definition at line 185 of file memory.h.
Referenced by lookupBlockDetails().
const volatile mainTable InjectionAdvanceTableSecondaryFlashV TIMETABLESD DFAR(".dpageFC") |
#define TIMETABLES_PPAGE 0xFC |
Definition at line 190 of file memory.h.
Referenced by lookupBlockDetails().
#define FPAGE_FE FFAR(".ppageFE") /* This is the block that is present in the page window using linear addressing, represents 0x8000 - 0xBFFF ("text2" paged) */ |