Ignore:
Timestamp:
Feb 16, 2011, 1:42:13 PM (13 years ago)
Author:
simerabe
Message:

replacing old ring versions with new one

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  
    11ARCH=mips32el
    22SIMULATION_ARGS=100000
     3SOCLIB_CC_ADD_ARGS=-t systemcass
    34SOCLIB?=$(shell soclib-cc --getpath)
    45export SOCLIB
  • trunk/platforms/caba-ring-ccxcachev1_memcachev3-mipsel/segmentation.h

    r86 r137  
    1919//      base address required by MIPS processor
    2020/////////////////////////////////////////////////////////////////
    21 #define MMU
    2221
    2322#define RESET_BASE      0xBFC00000
     
    3635#define MC_M_SIZE       0x00200000
    3736
    38 /////////////////////////////////////////////////////////////////
    39 //      page table (initialised)
    40 /////////////////////////////////////////////////////////////////
    41 #define PTD_ADDR        0x40400000
    42 #define PTE_ADDR        0x40402000
    43 #define IPTE_ADDR       0x40403000
    44 #define TAB_SIZE        0x00010000
    45 
    46 #define V_TTY_BASE      0x00800000
    47 #define V_TIMER_BASE    0x00C00000      // timer virtual address
    4837//////////////////////////////////////////////////////////
    4938//      System devices
     
    7766#define XRAM_SIZE       0x00000008
    7867
    79 #define MC_R_BASE       0x20200000
    80 #define MC_R_SIZE       0x00000008
    81 
    82 #define CLEANUP_OFFSET  0x20200000
  • trunk/platforms/caba-ring-ccxcachev1_memcachev3-mipsel/soft/main.c

    r86 r137  
    88#define NPROCS 4
    99#define SIZE 500
    10 #define SORT_TYPE 2
     10#define SORT_TYPE 0
    1111
    1212volatile int nprocs=NPROCS;
  • trunk/platforms/caba-ring-ccxcachev1_memcachev3-mipsel/top.cpp

    r86 r137  
    4141        maptabp.add(Segment("text" , TEXT_BASE , TEXT_SIZE , IntTab(2), true));
    4242        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)));
    4443        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));
    4644 
    4745        std::cout << maptabp << std::endl;
     
    5250        maptabc.add(Segment("c_proc2" , C_PROC2_BASE , C_PROC2_SIZE , IntTab(2), false, true, IntTab(2)));
    5351        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));
    5552        maptabc.add(Segment("mc_m"  , MC_M_BASE , MC_M_SIZE  , IntTab(4), false, false));
    5653        maptabc.add(Segment("reset", RESET_BASE, RESET_SIZE, IntTab(4), false, false));
    5754        maptabc.add(Segment("excep", EXCEP_BASE, EXCEP_SIZE, IntTab(4), false, false));
    5855        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));
    6056
    6157        std::cout << maptabc << std::endl;
     
    6662        maptabx.add(Segment("excep", EXCEP_BASE, EXCEP_SIZE, IntTab(0), false));
    6763        maptabx.add(Segment("text" , TEXT_BASE , TEXT_SIZE , IntTab(0), false));
    68         maptabx.add(Segment("ptba" , PTD_ADDR  , TAB_SIZE  , IntTab(0), false));
    6964       
    7065        std::cout << maptabx << std::endl;
Note: See TracChangeset for help on using the changeset viewer.