?? nesa.h
字號:
/*
* nesa.h: NESA specific defines
*
* Copyright (C) 2001 Erik Mouw (J.A.K.Mouw@its.tudelft.nl)
*
* $Id: nesa.h,v 1.3 2001/11/04 23:04:37 erikm Exp $
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
#ident "$Id: nesa.h,v 1.3 2001/11/04 23:04:37 erikm Exp $"
#ifndef BLOB_ARCH_NESA_H
#define BLOB_ARCH_NESA_H
/* boot CPU speed */
#define CPU_SPEED (0x0b)
/* serial port */
#define USE_SERIAL3
/* GPIO for the LED */
#define LED_GPIO (0x00800000) /* GPIO 23 */
/* the base address were blob-rest is loaded by the first stage loader */
#define BLOB_ABS_BASE_ADDR (0xc0200400)
/* where do various parts live in RAM */
#define BLOB_RAM_BASE (0xc0100000)
#define KERNEL_RAM_BASE (0xC0008000)
#define PARAM_RAM_BASE (0xc0110000)
#define RAMDISK_RAM_BASE (0xC0400000)
/* and where do they live in flash */
#warning "Please check NESA default flash layout!"
#define BLOB_FLASH_BASE (0x00000000)
#define BLOB_FLASH_LEN (64 * 1024)
#define PARAM_FLASH_BASE (BLOB_FLASH_BASE + BLOB_FLASH_LEN)
#define PARAM_FLASH_LEN (64 * 1024)
#define KERNEL_FLASH_BASE (PARAM_FLASH_BASE + PARAM_FLASH_LEN)
#define KERNEL_FLASH_LEN ((1024 - 128) * 1024)
#define RAMDISK_FLASH_BASE (KERNEL_FLASH_BASE + KERNEL_FLASH_LEN)
#define RAMDISK_FLASH_LEN (4 * 1024 * 1024 - BLOB_FLASH_LEN - PARAM_FLASH_LEN - KERNEL_FLASH_LEN)
/* the position of the kernel boot parameters */
#define BOOT_PARAMS (0xc0000100)
/* the size (in kbytes) to which the compressed ramdisk expands */
#define RAMDISK_SIZE (8 * 1024)
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -