Changeset 623 for trunk/softs/soft_transpose_giet/ldscript
- Timestamp:
- Jan 29, 2014, 9:33:16 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/softs/soft_transpose_giet/ldscript
r244 r623 2 2 File : ldscript 3 3 Author : Alain Greiner 4 Date : March 20114 Date : January 2014 5 5 **********************************************************/ 6 7 /* definition of various hardware parameters.8 These variables are referenced in the drivers.c file,9 and must be defined, even if the corresponding10 peripherals are not present in the architecture */11 12 NB_CLUSTERS = 4; /* number of clusters */13 NB_PROCS = 4; /* number of processors per cluster */14 NB_TASKS = 1; /* number of tasks per processor */15 NB_TIMERS = 1; /* max number of timers per processor */16 NB_LOCKS = 8; /* number of spin_locks */17 6 18 7 /* definition of the base address for all segments … … 21 10 peripherals are not present in the architecture */ 22 11 23 seg_code_base = 0x00000000; /* le code utilisateur */ 24 seg_data_base = 0x00100000; /* les données utilisateur */ 12 seg_reset_base = 0x10000000; /* le code de boot */ 25 13 26 seg_heap_base = 0x00300000; /* le tas utilisateur */ 27 seg_stack_base = 0x00800000; /* la pile utilisateur */ 14 seg_kcode_base = 0x00001000; /* le code du système */ 15 seg_kdata_base = 0x00010000; /* les donnees du système */ 16 seg_kunc_base = 0x00020000; /* les données non cachées du système */ 28 17 29 seg_kcode_base = 0x80000000; /* le code du système */ 30 seg_kdata_base = 0x80100000; /* les donnees du système */ 31 seg_kunc_base = 0x80200000; /* les données non cachées du système */ 18 seg_code_base = 0x00030000; /* le code utilisateur */ 19 seg_data_base = 0x00040000; /* les données utilisateur */ 32 20 33 seg_icu_base = 0x00F00000; /* controleur ICU */ 34 seg_tty_base = 0xBFF20000; /* controleur TTY */ 35 seg_dma_base = 0x00F30000; /* controleur DMA */ 21 seg_heap_base = 0x00100000; /* le tas utilisateur */ 22 seg_stack_base = 0x00400000; /* la pile utilisateur */ 36 23 37 seg_reset_base = 0xBFC00000; /* le code de boot */ 38 seg_fb_base = 0xBFD00000; /* controleur FRAME BUFFER */ 39 seg_ioc_base = 0xBFF10000; /* controleur I/O */ 24 seg_xcu_base = 0xF0000000; /* controleur XCU */ 25 seg_dma_base = 0xF1000000; /* controleur DMA */ 26 seg_tty_base = 0xF2000000; /* controleur TTY */ 27 seg_fbf_base = 0xF3000000; /* controleur FBF */ 28 seg_ioc_base = 0xF4000000; /* controleur IOC */ 40 29 41 seg_timer_base = 0x00F00000; /* controleur TIMER */42 seg_gcd_base = 0xBFF50000; /* controleur GCD */43 30 44 31 /* Grouping sections into segments */
Note: See TracChangeset
for help on using the changeset viewer.