gonzui


Format: Advanced Search

tkernel_2/monitor/hwdepend/tef_em1d/src/setup_em1d512.hbare sourcepermlink (0.02 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 TRON Forum(http://www.tron.org/) at 2015/06/01.
   11:  *
   12:  *----------------------------------------------------------------------
   13:  */
   14: 
   15: /*
   16:  *      setup_em1d512.h
   17:  *
   18:  *       EM1D-512 configuration information
   19:  *
   20:  *       this file included from assembly source files, too.
   21:  */
   22: 
   23: #define EITENT_BASE     0x70000000  // address for exception branch processing
   24: #define PAGETBL_BASE    0x30000000 // address of the first level table page.
   25: 
   26: /*
   27:  * clock value
   28:  */
   29: #define PLL1_CLK        499712         // 499.712MHz
   30: #define PLL2_CLK        401418         // 401.408MHz
   31: #define PLL3_CLK        229376         // 229.376MHz
   32: 
   33: #define ACPU_CLK        (PLL1_CLK / 1)
   34: #define Txx_CLK         (PLL3_CLK / 8)
   35: 
   36: /*
   37:  * assignment to DipSw (switches)
   38:  */
   39: #define SW_ABT          0x0100          // Abort SW
   40: #define SW_MON          0x0020          // Monitor Boot
   41: #define SW_BHI          0x0000          // fix HI_BAUD_RATE
   42: 
   43: /*
   44:  * LED display (two bits, 2 bits)
   45:  */
   46: #define LED_POWERUP     0x01                // Power-on
   47: #define LED_MEMCLR      0xff         // Memory clear