gonzui


Format: Advanced Search

t2ex/t2ex_source/config/src_t2ex/sysdepend/tef_em1d/SYSCONFbare sourcepermlink (0.02 seconds)

Search this content:

    1: #
    2: # ----------------------------------------------------------------------
    3: #    T2EX Software Package
    4: #
    5: #    Copyright 2012 by Ken Sakamura.
    6: #    This software is distributed under the latest version of T-License 2.x.
    7: # ----------------------------------------------------------------------
    8: #
    9: #    Released by T-Engine Forum(http://www.t-engine.org/) at 2012/12/12.
   10: #    Modified by T-Engine Forum at 2013/02/25.
   11: #    Modified by TRON Forum(http://www.tron.org/) at 2015/06/04.
   12: #
   13: # ----------------------------------------------------------------------
   14: #
   15: 
   16: #
   17: # This software package is available for use, modification, 
   18: # and redistribution in accordance with the terms of the attached 
   19: # T-License 2.x.
   20: # If you want to redistribute the source code, you need to attach 
   21: # the T-License 2.x document.
   22: # There's no obligation to publish the content, and no obligation 
   23: # to disclose it to the TRON Forum if you have modified the 
   24: # software package.
   25: # You can also distribute the modified source code. In this case, 
   26: # please register the modification to T-Kernel traceability service.
   27: # People can know the history of modifications by the service, 
   28: # and can be sure that the version you have inherited some 
   29: # modification of a particular version or not.
   30: #
   31: #    http://trace.tron.org/tk/?lang=en
   32: #    http://trace.tron.org/tk/?lang=ja
   33: #
   34: # As per the provisions of the T-License 2.x, TRON Forum ensures that 
   35: # the portion of the software that is copyrighted by Ken Sakamura or 
   36: # the TRON Forum does not infringe the copyrights of a third party.
   37: # However, it does not make any warranty other than this.
   38: # DISCLAIMER: TRON Forum and Ken Sakamura shall not be held
   39: # responsible for any consequences or damages caused directly or
   40: # indirectly by the use of this software package.
   41: #
   42: # The source codes in bsd_source.tar.gz in this software package are 
   43: # derived from NetBSD or OpenBSD and not covered under T-License 2.x.
   44: # They need to be changed or redistributed according to the 
   45: # representation of each source header.
   46: #
   47: 
   48: #
   49: #       SYSCONF (T-Engine/EM1D-512)
   50: #
   51: #       System configuration
   52: #
   53: 
   54: #
   55: # Use SCTAG_XXX as a parameter of _tk_get_cfn().
   56: # SCTAG_XXX is defined in <sys/sysdepend/tef_em1d/rominfo.h>.
   57: #
   58: 
   59: #
   60: #       Product information
   61: #
   62: TSysName        T-Kernel       # System name
   63: 
   64: #
   65: #       Kernel version information for tk_ref_ver(T_RVER*)
   66: #
   67: Maker           0x0000           # = "T-Engine Forum"
   68: ProductID       0x0000                # Kernel Identifier
   69: SpecVer         0x7200         # = "T-Kernel" + "Ver 2.00"
   70: ProductVer      0x0201               # Product Version
   71: ProductNo       0x0000 0x0000 0x0000 0x0000
   72:                                 # Product Number [0]-[3]
   73: 
   74: #
   75: #       T-Kernel/OS
   76: #
   77: TMaxTskId       150   # Maximum task ID
   78: TMaxSemId       100   # Maximum semaphore ID
   79: TMaxFlgId       100   # Maximum event flag ID
   80: TMaxMbxId       20    # Maximum mail box ID
   81: TMaxMtxId       100   # Maximum mutex ID
   82: TMaxMbfId       20    # Maximum message buffer ID
   83: TMaxPorId       50    # Maximum rendezvous port ID
   84: TMaxMpfId       10    # Maximum fixed size memory pool ID
   85: TMaxMplId       10    # Maximum variable size memory pool ID
   86: TMaxCycId       20    # Maximum cyclic handler ID
   87: TMaxAlmId       40    # Maximum alarm handler ID
   88: TMaxResId       60    # Maximum resource group ID
   89: TMaxSsyId       50    # Maximum sub system ID
   90: TMaxSsyPri      16   # Maximum sub system priority
   91: 
   92: TSysStkSz       2048  # Default system stack size (byte)
   93: TSVCLimit       2     # SVC protection level
   94: TTimPeriod      10   # Timer interval (msec)
   95: 
   96: #
   97: #       T-Kernel/SM
   98: #
   99: TMaxRegDev      32   # Maximum number of devices registration
  100: TMaxOpnDev      64   # Maximum number of devices open
  101: TMaxReqDev      64   # Maximum number of device requests
  102: TDEvtMbfSz      1024 64      # Event notification message buffer size (byte),
  103:                         # Maximum length of message (byte)
  104: 
  105: #
  106: #       Task Event(1-8)
  107: #
  108: TEV_MsgEvt      1    # Message management : Receive message
  109: TEV_MsgBrk      2    # Message management : Release of an message waiting state
  110: TEV_GDI         3      # GDI interface
  111: TEV_FFLock      4    # Release of an FIFO lock waiting state
  112: 
  113: #
  114: #       Segment manager
  115: #
  116: RealMemEnd      0x40000000   # RAM bottom address (logical address)
  117: 
  118: #
  119: #       Exception/Interrupt stack
  120: #
  121: AbtStkSz        64             # Abort(MMU)
  122: UndStkSz        64             # Undefined instruction
  123: IrqStkSz        512            # IRQ interrupt
  124: FiqStkSz        128            # FIQ interrupt
  125: 
  126: 
  127: #
  128: #       T2EX: Memory manager
  129: #
  130: TKmallocLvl     1           # Kmalloc/Vmalloc memory protection level
  131: 
  132: #
  133: #       T2EX: File System
  134: #
  135: FsMaxFile       32            # Maximum number of Open
  136: FsMaxFIMP       4             # Maximum number of FIMPs (>= 3)
  137: FsMaxCON        6              # Maximum number of Connections
  138: FsAccessTime    1          # Update of last access time(0:No, 1:Yes)
  139: 
  140: #       T2EX: File System - FAT-FIMP
  141: FiFAT_TskPri    100                # Task priority
  142: FiFAT_StkSz     2048                # Task stack size
  143: FiFAT_FCacheSz  32768            # Cache size (bytes) for FAT
  144: FiFAT_FCacheNs  8                # Cache unit (sectors) for FAT
  145: FiFAT_RCacheSz  16384            # Cache size (bytes) for root directory
  146: FiFAT_RCacheNs  8                # Cache unit (sectors) for root directory
  147: FiFAT_DCacheSz  262144           # Cache size (bytes) for file data
  148: FiFAT_DCacheNs  0                # Cache unit (sectors) for file data
  149:                                 #   0 means Cluser size
  150: 
  151: #
  152: #       T2EX: Network System
  153: #
  154: SoMaxSocket     64          # Maximum number of socket descriptors
  155: SoTaskBasePri   30                # Task base priority.
  156: SoDrvRxBufNum   12                # The Number of device receive buffers
  157: SoTcpTxBufSz    32768              # Send buffer size (bytes) for TCP/IP
  158: SoTcpRxBufSz    32768              # Receive buffer size (bytes) for TCP/IP
  159: SoUdpTxBufSz    9216               # Send buffer size (bytes) for UDP/IP
  160: SoUdpRxBufSz    41600              # Receive buffer size (bytes) for UDP/IP
  161: SoRawIPTxBufSz  8192             # Send buffer size (bytes) for RAW IP
  162: SoRawIPRxBufSz  8192             # Receive buffer size (bytes) for RAW IP
  163: SoRawTxBufSz    8192               # Send buffer size (bytes) for RAW sockets
  164: SoRawRxBufSz    8192               # Receive buffer size (bytes) for RAW sockets
  165: SoTcpDoAutoTx   0         # Enable automatic send buffer sizing
  166: SoTcpIncAutoTx  16384            # Step size of automatic send buffer
  167: SoTcpMaxAutoTx  262144           # Maximum size of automatic send buffer
  168: SoTcpDoAutoRx   0         # Enable automatic receive buffer sizing
  169: SoTcpIncAutoRx  16384            # Step size of automatic receive buffer
  170: SoTcpMaxAutoRx  262144           # Maximum size of automatic receive buffer
  171: 
  172: #
  173: #       T2EX: Program load functions
  174: #
  175: PmMaxProg       10            # Maximum number of program modules opened
  176: