gonzui


Format: Advanced Search

tkernel_2/config/src/sysdepend/tef_em1d/rominfo_rom.cbare sourcepermlink (0.03 seconds)

Search this content:

    1: /*
    2:  *----------------------------------------------------------------------
    3:  *    T-Kernel 2.0 Software Package
    4:  *
    5:  *    Copyright 2011 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 2011/05/17.
   10:  *    Modified by T-Engine Forum at 2013/03/02.
   11:  *    Modified by TRON Forum(http://www.tron.org/) at 2015/06/01.
   12:  *
   13:  *----------------------------------------------------------------------
   14:  */
   15: 
   16: /*
   17:  *      @(#)rominfo_rom.c (EM1D-512)
   18:  *
   19:  *      ROM information for ROM kernel
   20:  */
   21: 
   22: #include <basic.h>
   23: #include <sys/rominfo.h>
   24: 
   25: IMPORT UB SYSCONF[], DEVCONF[];
   26: 
   27: /* Kernel address */
   28: #define RI_KERNEL_START (FP)0x70030000  /* Kernel start address */
   29: #define RI_SYSCONF      (UB*)SYSCONF /* SYSCONF top */
   30: #define RI_DEVCONF      (UB*)DEVCONF /* DEVCONF top */
   31: 
   32: /* User definition */
   33: #define RI_USERAREA_TOP (void*)0x40000000       /* RAM user area top */
   34: #define RI_USERINIT     (FP)NULL    /* User initialization program */
   35: #define RI_RESETINIT    (FP)NULL   /* Reset initialization program */
   36: 
   37: /* ROM disk */
   38: #define RI_RDSK_TYPE    (UW)0              /* ROM disk type */
   39: #define RI_RDSK_BLOCK   (UW)0             /* ROM disk block size */
   40: #define RI_RDSK_START   (UW)0             /* ROM disk start address */
   41: #define RI_RDSK_END     (UW)0               /* ROM disk end address */
   42: 
   43: 
   44: /* ROM information */
   45: RomInfo rominfo = {
   46:         RI_KERNEL_START,       /* Kernel startup address */
   47:         RI_SYSCONF,            /* SYSCONF top */
   48:         RI_DEVCONF,            /* DEVCONF top */
   49:         RI_USERAREA_TOP,       /* RAM user area top */
   50:         RI_USERINIT,           /* User initialization program address */
   51:         RI_RESETINIT,          /* Reset initialization program address */
   52:         {0},                   /* Reserved (always 0) */
   53: 
   54:         RI_RDSK_TYPE,          /* ROM disk type */
   55:         RI_RDSK_BLOCK,         /* ROM disk block size */
   56:         RI_RDSK_START,         /* ROM disk start address */
   57:         RI_RDSK_END,           /* ROM disk end address */
   58:         {0}                    /* Reserved (always 0) */
   59: };