- Timestamp:
- Jan 29, 2014, 9:33:16 AM (11 years ago)
- Location:
- trunk/softs
- Files:
-
- 6 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/softs/soft_transpose_giet/Makefile
r244 r623 5 5 6 6 OBJS = reset.o \ 7 giet.o \ 8 isr.o \ 9 drivers.o \ 10 stdio.o \ 11 main.o 7 giet.o \ 8 stdio.o \ 9 main.o 12 10 13 11 CFLAGS = -Wall -mno-gpopt -ffreestanding -fomit-frame-pointer -mips32 -ggdb … … 19 17 $(DU) -D $@ > $@.txt 20 18 21 reset.o: $(GIET)/reset. s22 $( AS) -g -mips32-o $@ $<19 reset.o: $(GIET)/reset.S hard_config.h 20 $(CC) -I. $(CFLAGS) -c -o $@ $< 23 21 $(DU) -D $@ > $@.txt 24 22 25 giet.o: $(GIET)/giet. s26 $( AS) -g -mips32-o $@ $<23 giet.o: $(GIET)/giet.S hard_config.h 24 $(CC) -I. $(CFLAGS) -c -o $@ $< 27 25 $(DU) -D $@ > $@.txt 28 26 29 isr.o: $(GIET)/isr.c 30 $(CC) $(CFLAGS) -c -o $@ $<27 stdio.o: $(GIET)/stdio.c hard_config.h 28 $(CC) -I. $(CFLAGS) -c -o $@ $< 31 29 $(DU) -D $@ > $@.txt 32 30 33 stdio.o: $(GIET)/stdio.c 34 $(CC) $(CFLAGS) -c -o $@ $< 35 $(DU) -D $@ > $@.txt 36 37 drivers.o: $(GIET)/drivers.c 38 $(CC) $(CFLAGS) -c -o $@ $< 39 $(DU) -D $@ > $@.txt 40 41 main.o: main.c 42 $(CC) $(CFLAGS) -I$(GIET) -c -o $@ $< 31 main.o: main.c hard_config.h 32 $(CC) -I. $(CFLAGS) -I$(GIET) -c -o $@ $< 43 33 $(DU) -D $@ > $@.txt 44 34 45 35 clean: 46 rm -f *.o bin.soft *.txt core *~ proc*term* temp36 rm -f *.o bin.soft *.txt core term* temp -
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 */ -
trunk/softs/tsar_boot/include/mips32_registers.h
r567 r623 53 53 #define CP0_EPC $14,0 54 54 #define CP0_EBASE $15,1 55 #define CP0_PROCID $15,1 55 56 56 57 /* CP2 registers */
Note: See TracChangeset
for help on using the changeset viewer.