📄 brutus.h
字号:
/* * brutus.h: Brutus specific defines * * Copyright (C) 2001 Erik Mouw (J.A.K.Mouw@its.tudelft.nl) * * $Id: brutus.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: brutus.h,v 1.3 2001/11/04 23:04:37 erikm Exp $"#ifndef BLOB_ARCH_BRUTUS_H#define BLOB_ARCH_BRUTUS_H/* boot CPU speed */#define CPU_SPEED (0x0b)/* serial port */#define USE_SERIAL3/* GPIO for the LED */#define LED_GPIO (0x00000000) /* safe mode: no GPIO, no LED *//* 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 (0xC8000000)/* and where do they live in flash */#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 + -