Changeset 482 for soft/giet_vm
- Timestamp:
- Jan 1, 2015, 8:35:26 PM (10 years ago)
- Location:
- soft/giet_vm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/Makefile
r463 r482 10 10 # Parameters definition 11 11 ARCH ?= ../tsar-trunk-svn-2013/platforms/tsar_generic_iob 12 X_SIZE ?= 113 Y_SIZE ?= 114 NB_PROCS ?= 412 X_SIZE ?= 8 13 Y_SIZE ?= 4 14 NB_PROCS ?= 2 15 15 NB_TTYS ?= 1 16 16 FBF_WIDTH ?= 128 … … 44 44 45 45 ### Objects to be linked for kernel.elf 46 KERNEL_OBJS = build/common/utils.o \47 build/common/locks.o \46 KERNEL_OBJS = build/common/utils.o \ 47 build/common/locks.o \ 48 48 build/common/tty0.o \ 49 build/common/vmem.o \ 50 build/fat32/fat32.o \ 51 build/kernel/giet.o \ 52 build/kernel/switch.o \ 53 build/kernel/ctx_handler.o \ 54 build/kernel/exc_handler.o \ 55 build/kernel/sys_handler.o \ 56 build/kernel/irq_handler.o \ 49 build/common/vmem.o \ 50 build/common/kernel_malloc.o \ 51 build/fat32/fat32.o \ 52 build/kernel/giet.o \ 53 build/kernel/switch.o \ 54 build/kernel/ctx_handler.o \ 55 build/kernel/exc_handler.o \ 56 build/kernel/sys_handler.o \ 57 build/kernel/irq_handler.o \ 57 58 build/kernel/kernel_init.o 58 59 59 60 ### Objects to be linked for boot.elf 60 BOOT_OBJS = build/common/utils.o \61 build/common/locks.o \61 BOOT_OBJS = build/common/utils.o \ 62 build/common/locks.o \ 62 63 build/common/tty0.o \ 63 build/common/pmem.o \ 64 build/common/vmem.o \ 65 build/fat32/fat32.o \ 66 build/kernel/ctx_handler.o \ 67 build/kernel/switch.o \ 68 build/boot/boot.o \ 64 build/common/pmem.o \ 65 build/common/vmem.o \ 66 build/common/kernel_malloc.o \ 67 build/fat32/fat32.o \ 68 build/kernel/ctx_handler.o \ 69 build/kernel/switch.o \ 70 build/boot/boot.o \ 69 71 build/boot/boot_entry.o 70 72 … … 363 365 $(CC) $(GIET_INCLUDE) $(CFLAGS) -c -o $@ $< 364 366 367 build/common/kernel_malloc.o: giet_common/kernel_malloc.c \ 368 giet_common/kernel_malloc.h \ 369 hard_config.h \ 370 giet_config.h 371 $(CC) $(GIET_INCLUDE) $(CFLAGS) -c -o $@ $< 372 365 373 ######################## 366 374 ### boot compilation -
soft/giet_vm/giet_config.h
r475 r482 46 46 /* software parameters */ 47 47 48 #define GIET_ELF_BUFFER_SIZE 0x80000 /* buffer for .elf files in seg_boot_data*/48 #define GIET_ELF_BUFFER_SIZE 0x80000 /* buffer for .elf files (seg_boot_data) */ 49 49 #define GIET_IDLE_TASK_PERIOD 0x10000000 /* Idle Task message period */ 50 50 #define GIET_OPEN_FILES_MAX 16 /* max simultaneously open files */ 51 51 #define GIET_NB_VSPACE_MAX 16 /* max number of virtual spaces */ 52 #define GIET_TICK_VALUE 0x00100000 /* context switch period ( number ofcycles) */52 #define GIET_TICK_VALUE 0x00100000 /* context switch period (cycles) */ 53 53 #define GIET_USE_IOMMU 0 /* IOMMU activated when non zero */ 54 54 #define GIET_NO_HARD_CC 0 /* No hard cache coherence when non zero */ 55 #define GIET_NIC_NBUFS 2 /* Number of buffers for the NIC chbuf */56 #define GIET_NIC_NFAKE 6 /* Number of fake buffers (for chbuf alignment) */57 #define GIET_NIC_BUFSIZE 4096 /* Buffer size for the NIC chbuf */58 #define GIET_NIC_TIMEOUT 100 /* Max number of iterations for chbuf access */59 55 #define GIET_NIC_MAC4 0x12345678 /* 32 LSB bits of the MAC address */ 60 56 #define GIET_NIC_MAC2 0xBEBE /* 16 MSB bits of the MAC address */ 61 #define GIET_LOCK_MAX_TICKET 1000000 /* max ticket value for thequeueing locks */57 #define GIET_LOCK_MAX_TICKET 1000000 /* max ticket value for queueing locks */ 62 58 63 59 #endif -
soft/giet_vm/hard_config.h
r463 r482 1 /* Generated by genmap for tsar_iob_ 1_1_4_1_128_classif */1 /* Generated by genmap for tsar_iob_8_4_2_1_128_classif */ 2 2 3 3 #ifndef HARD_CONFIG_H … … 6 6 /* General platform parameters */ 7 7 8 #define X_SIZE 19 #define Y_SIZE 18 #define X_SIZE 8 9 #define Y_SIZE 4 10 10 #define X_WIDTH 4 11 11 #define Y_WIDTH 4 … … 13 13 #define X_IO 0 14 14 #define Y_IO 0 15 #define NB_PROCS_MAX 415 #define NB_PROCS_MAX 2 16 16 #define IRQ_PER_PROCESSOR 4 17 17 #define RESET_ADDRESS 0xbfc00000 18 #define NB_TOTAL_PROCS 418 #define NB_TOTAL_PROCS 64 19 19 20 20 /* Peripherals */ … … 22 22 #define NB_TTY_CHANNELS 1 23 23 #define NB_IOC_CHANNELS 1 24 #define NB_NIC_CHANNELS 225 #define NB_CMA_CHANNELS 424 #define NB_NIC_CHANNELS 1 25 #define NB_CMA_CHANNELS 2 26 26 #define NB_TIM_CHANNELS 0 27 #define NB_DMA_CHANNELS 427 #define NB_DMA_CHANNELS 2 28 28 29 29 #define USE_XCU 1 … … 45 45 46 46 #define SEG_RAM_BASE 0x0 47 #define SEG_RAM_SIZE 0x 400000047 #define SEG_RAM_SIZE 0x1000000 48 48 49 49 #define SEG_CMA_BASE 0xb6000000 50 #define SEG_CMA_SIZE 0x 400050 #define SEG_CMA_SIZE 0x2000 51 51 52 52 #define SEG_DMA_BASE 0xb1000000
Note: See TracChangeset
for help on using the changeset viewer.