Rev | Line | |
---|
[89] | 1 | # ifndef MAPPING_MEMORY_H |
---|
| 2 | # define MAPPING_MEMORY_H |
---|
| 3 | |
---|
| 4 | # define TEXT_BASE 0x00000000 |
---|
| 5 | # define TEXT_SIZE 0x00000200 |
---|
| 6 | |
---|
| 7 | # define DATA_CACHED_BASE 0x10000000 |
---|
| 8 | # define DATA_CACHED_SIZE 0x00000100 |
---|
| 9 | |
---|
| 10 | # define DATA_UNCACHED_BASE 0x40000000 |
---|
| 11 | # define DATA_UNCACHED_SIZE 0x00000100 |
---|
| 12 | |
---|
| 13 | # define TTY_BASE 0xa0000000 |
---|
| 14 | //#define TTY_SIZE nb_tty*4*4 |
---|
| 15 | // (word access) |
---|
| 16 | // word 0 : write tty |
---|
| 17 | // word 1 : stop |
---|
| 18 | // word 2 : print word |
---|
| 19 | // word 3 : unused |
---|
| 20 | |
---|
| 21 | # define RAMLOCK_BASE 0xb0000000 |
---|
| 22 | //#define RAMLOCK_SIZE nb_ramlock |
---|
| 23 | // (char access) |
---|
| 24 | |
---|
| 25 | # define SIM2OS_BASE 0xc0000000 |
---|
| 26 | # define SIM2OS_SIZE 0x00001000 |
---|
| 27 | // (word access) |
---|
| 28 | // word 0 : number of service |
---|
| 29 | // word 1 : result |
---|
| 30 | // word 2 : error |
---|
| 31 | // word 3+: arguments |
---|
| 32 | |
---|
| 33 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.