Changeset 137 for trunk/platforms/caba-ring-ccxcachev1_memcachev3-mipsel
- Timestamp:
- Feb 16, 2011, 1:42:13 PM (14 years ago)
- Location:
- trunk/platforms/caba-ring-ccxcachev1_memcachev3-mipsel
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/platforms/caba-ring-ccxcachev1_memcachev3-mipsel/Makefile
r3 r137 1 1 ARCH=mips32el 2 2 SIMULATION_ARGS=100000 3 SOCLIB_CC_ADD_ARGS=-t systemcass 3 4 SOCLIB?=$(shell soclib-cc --getpath) 4 5 export SOCLIB -
trunk/platforms/caba-ring-ccxcachev1_memcachev3-mipsel/segmentation.h
r86 r137 19 19 // base address required by MIPS processor 20 20 ///////////////////////////////////////////////////////////////// 21 #define MMU22 21 23 22 #define RESET_BASE 0xBFC00000 … … 36 35 #define MC_M_SIZE 0x00200000 37 36 38 /////////////////////////////////////////////////////////////////39 // page table (initialised)40 /////////////////////////////////////////////////////////////////41 #define PTD_ADDR 0x4040000042 #define PTE_ADDR 0x4040200043 #define IPTE_ADDR 0x4040300044 #define TAB_SIZE 0x0001000045 46 #define V_TTY_BASE 0x0080000047 #define V_TIMER_BASE 0x00C00000 // timer virtual address48 37 ////////////////////////////////////////////////////////// 49 38 // System devices … … 77 66 #define XRAM_SIZE 0x00000008 78 67 79 #define MC_R_BASE 0x2020000080 #define MC_R_SIZE 0x0000000881 82 #define CLEANUP_OFFSET 0x20200000 -
trunk/platforms/caba-ring-ccxcachev1_memcachev3-mipsel/soft/main.c
r86 r137 8 8 #define NPROCS 4 9 9 #define SIZE 500 10 #define SORT_TYPE 210 #define SORT_TYPE 0 11 11 12 12 volatile int nprocs=NPROCS; -
trunk/platforms/caba-ring-ccxcachev1_memcachev3-mipsel/top.cpp
r86 r137 41 41 maptabp.add(Segment("text" , TEXT_BASE , TEXT_SIZE , IntTab(2), true)); 42 42 maptabp.add(Segment("tty" , TTY_BASE , TTY_SIZE , IntTab(1), false)); 43 maptabp.add(Segment("mc_r" , MC_R_BASE , MC_R_SIZE , IntTab(2), false, true, IntTab(0)));44 43 maptabp.add(Segment("mc_m" , MC_M_BASE , MC_M_SIZE , IntTab(2), true )); 45 maptabp.add(Segment("ptba" , PTD_ADDR , TAB_SIZE , IntTab(2), true));46 44 47 45 std::cout << maptabp << std::endl; … … 52 50 maptabc.add(Segment("c_proc2" , C_PROC2_BASE , C_PROC2_SIZE , IntTab(2), false, true, IntTab(2))); 53 51 maptabc.add(Segment("c_proc3" , C_PROC3_BASE , C_PROC3_SIZE , IntTab(3), false, true, IntTab(3))); 54 maptabc.add(Segment("mc_r" , MC_R_BASE , MC_R_SIZE , IntTab(4), false, false));55 52 maptabc.add(Segment("mc_m" , MC_M_BASE , MC_M_SIZE , IntTab(4), false, false)); 56 53 maptabc.add(Segment("reset", RESET_BASE, RESET_SIZE, IntTab(4), false, false)); 57 54 maptabc.add(Segment("excep", EXCEP_BASE, EXCEP_SIZE, IntTab(4), false, false)); 58 55 maptabc.add(Segment("text" , TEXT_BASE , TEXT_SIZE , IntTab(4), false, false)); 59 maptabc.add(Segment("ptba" , PTD_ADDR , TAB_SIZE , IntTab(4), false, false));60 56 61 57 std::cout << maptabc << std::endl; … … 66 62 maptabx.add(Segment("excep", EXCEP_BASE, EXCEP_SIZE, IntTab(0), false)); 67 63 maptabx.add(Segment("text" , TEXT_BASE , TEXT_SIZE , IntTab(0), false)); 68 maptabx.add(Segment("ptba" , PTD_ADDR , TAB_SIZE , IntTab(0), false));69 64 70 65 std::cout << maptabx << std::endl;
Note: See TracChangeset
for help on using the changeset viewer.