Changeset 380 for soft/giet_vm
- Timestamp:
- Aug 5, 2014, 4:20:14 PM (10 years ago)
- Location:
- soft/giet_vm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/Makefile
r374 r380 6 6 LD = mipsel-unknown-elf-ld 7 7 DU = mipsel-unknown-elf-objdump 8 AR = mipsel-unknown-elf-ar 8 9 9 10 ARCH ?= ../tsar-trunk-svn-2013/platforms/tsar_generic_iob 10 X ?= 211 Y ?= 212 P ?= 211 X ?= 16 12 Y ?= 8 13 P ?= 4 13 14 APP ?= convol 14 15 … … 21 22 ### partition sectors = 524832 22 23 23 ### Objects to be linked for kernel.elf 24 KERNEL_OBJS = build/common/utils.o \ 25 build/common/vmem.o \ 26 build/fat32/fat32.o \ 27 build/drivers/dma_driver.o \ 24 ### Objects to be linked for the drivers static library 25 DRIVERS_OBJS = build/drivers/dma_driver.o \ 28 26 build/drivers/cma_driver.o \ 29 27 build/drivers/fbf_driver.o \ … … 42 40 build/drivers/tim_driver.o \ 43 41 build/drivers/tty_driver.o \ 44 build/drivers/pic_driver.o \ 42 build/drivers/pic_driver.o 43 44 ### Objects to be linked for kernel.elf 45 KERNEL_OBJS = build/common/utils.o \ 46 build/common/vmem.o \ 47 build/fat32/fat32.o \ 45 48 build/kernel/giet.o \ 46 49 build/kernel/switch.o \ … … 55 58 build/common/vmem.o \ 56 59 build/fat32/fat32.o \ 57 build/drivers/dma_driver.o \58 build/drivers/tty_driver.o \59 build/drivers/pic_driver.o \60 build/drivers/xcu_driver.o \61 build/drivers/ioc_driver.o \62 build/drivers/iob_driver.o \63 build/drivers/bdv_driver.o \64 build/drivers/sdc_driver.o \65 build/drivers/spi_driver.o \66 build/drivers/rdk_driver.o \67 build/drivers/mmc_driver.o \68 build/drivers/mwr_driver.o \69 60 build/kernel/ctx_handler.o \ 70 61 build/kernel/switch.o \ … … 313 304 $(CC) $(GIET_INCLUDE) $(CFLAGS) -c -o $@ $< 314 305 306 ################################ 307 ### drivers library compilation 308 build/drivers/libdrivers.a: $(DRIVERS_OBJS) 309 $(AR) -rcs $@ $(DRIVERS_OBJS) 310 315 311 ########################## 316 312 ### common compilation … … 336 332 ### boot compilation 337 333 build/boot/boot.elf: $(BOOT_OBJS) \ 338 giet_boot/boot.ld 339 $(LD) -o $@ -T giet_boot/boot.ld $(BOOT_OBJS) 334 giet_boot/boot.ld \ 335 build/drivers/libdrivers.a 336 $(LD) -o $@ -T giet_boot/boot.ld $(BOOT_OBJS) -Lbuild/drivers -ldrivers 340 337 $(DU) -D $@ > $@.txt 341 338 … … 357 354 ### kernel compilation 358 355 build/kernel/kernel.elf: $(KERNEL_OBJS) \ 359 giet_kernel/kernel.ld 360 $(LD) -o $@ -T giet_kernel/kernel.ld $(KERNEL_OBJS) 356 giet_kernel/kernel.ld \ 357 build/drivers/libdrivers.a 358 $(LD) -o $@ -T giet_kernel/kernel.ld $(KERNEL_OBJS) -Lbuild/drivers -ldrivers 361 359 $(DU) -D $@ > $@.txt 362 360 -
soft/giet_vm/giet_config.h
r374 r380 16 16 17 17 #define BOOT_DEBUG_MAPPING 0 /* trace map_info checking */ 18 #define BOOT_DEBUG_PT 19 #define BOOT_DEBUG_VOBJS 20 #define BOOT_DEBUG_SCHED 18 #define BOOT_DEBUG_PT 0 /* trace page tables initialisation */ 19 #define BOOT_DEBUG_VOBJS 0 /* trace vobjs initialisation */ 20 #define BOOT_DEBUG_SCHED 0 /* trace schedulers initialisation */ 21 21 #define BOOT_DEBUG_PERI 0 /* trace peripherals initialisation */ 22 22 #define BOOT_DEBUG_ELF 0 /* trace .elf files loading */ 23 23 24 #define GIET_DEBUG_INIT 24 #define GIET_DEBUG_INIT 0 /* trace kernel initialisation */ 25 25 #define GIET_DEBUG_FAT 0 /* trace fat accesses */ 26 #define GIET_DEBUG_SWITCH 26 #define GIET_DEBUG_SWITCH 0 /* trace context switchs */ 27 27 #define GIET_DEBUG_IRQS 0 /* trace interrupts */ 28 28 #define GIET_DEBUG_IOC_DRIVER 0 /* trace IOC accesses */ … … 37 37 /* software parameters */ 38 38 39 #define GIET_ELF_BUFFER_SIZE 0x 60000 /* Temporary buffer for .elf files */39 #define GIET_ELF_BUFFER_SIZE 0x20000 /* Temporary buffer for .elf files 128 Kbytes */ 40 40 #define GIET_IDLE_TASK_PERIOD 0xFFFFFFFF /* Idle Task message period */ 41 41 #define GIET_MAX_ELF_FILES 20 /* max .elf files loaded by boot-loader */ 42 42 #define GIET_OPEN_FILES_MAX 16 /* max simultaneously open files */ 43 #define GIET_NB_VSPACE_MAX 43 #define GIET_NB_VSPACE_MAX 64 /* max number of virtual spaces */ 44 44 #define GIET_TICK_VALUE 0x00008000 /* context switch period (number of cycles) */ 45 45 #define GIET_USE_IOMMU 0 /* IOMMU activated when non zero */
Note: See TracChangeset
for help on using the changeset viewer.