?? mba44b0.h
字號(hào):
/* * mbck.h: mbck specific defines * * Copyright (C) 2001 Erik Mouw (J.A.K.Mouw@its.tudelft.nl) * * $Id: mbck.h,v 1.5 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: mbck.h,v 1.5 2001/11/04 23:04:37 erikm Exp $"#ifndef BLOB_ARCH_MBCK_H#define BLOB_ARCH_MBCK_H/* serial port */#define USE_SERIAL1/* GPIO for the LED */#define LED_GPIO (0x00000200)/* the base address were BLOB is loaded by the first stage loader */#define BLOB_ABS_BASE_ADDR (0x0c200400)/* where do various parts live in RAM */#define BLOB_RAM_BASE (0x0c100000)#define KERNEL_RAM_BASE (0x0c300000)#define PARAM_RAM_BASE (0x0c110000)#define RAMDISK_RAM_BASE (0x0c400000)/* and where do they live in flash */#define BLOB_FLASH_BASE (0x00000000)#define BLOB_FLASH_LEN (60 * 1024)#define PARAM_FLASH_BASE (BLOB_FLASH_BASE + BLOB_FLASH_LEN)#define PARAM_FLASH_LEN (4 * 1024)#define KERNEL_FLASH_BASE (PARAM_FLASH_BASE + PARAM_FLASH_LEN)#define KERNEL_FLASH_LEN (704 * 1024)#define RAMDISK_FLASH_BASE (KERNEL_FLASH_BASE + KERNEL_FLASH_LEN)#define RAMDISK_FLASH_LEN (4096 * 1024)/* the position of the kernel boot parameters */#define BOOT_PARAMS (0x0c000100)/* the size (in kbytes) to which the compressed ramdisk expands */#define RAMDISK_SIZE (4 * 1024)/* S3C44B0X Register List */#define WTCON 0x01d30000#define SYSCFG 0x01c00000#define NCACHBE0 0x01c00004#define NCACHBE1 0x01c00008#define PCONA 0x01d20000#define PDATA 0x01d20004#define PCONB 0x01d20008#define PDATB 0x01d2000c#define PCONC 0x01d20010#define PDATC 0x01d20014#define PUPC 0x01d20018#define PCOND 0x01d2001c#define PDATD 0x01d20020#define PUPD 0x01d20024#define PCONE 0x01d20028#define PDATE 0x01d2002c#define PUPE 0x01d20030#define PCONF 0x01d20034#define PDATF 0x01d20038#define PUPF 0x01d2003c#define PCONG 0x01d20040#define PDATG 0x01d20044#define PUPG 0x01d20048#define SPUCR 0x01d2004c#define EXTINT 0x01d20050#define INTCON 0x01e00000#define INTPND 0x01e00004#define INTMOD 0x01e00008#define INTMSK 0x01e0000c#define I_CMST 0x01e0001c#define I_ISPR 0x01e00020#define I_ISPC 0x01e00024#define LOCKTIME 0x01d8000c#define PLLCON 0x01d80000#define CLKCON 0x01d80004#define TCFG0 0x01d50000#define TCFG1 0x01d50004#define TCON 0x01d50008#define TCNTB5 0x01d50048#define TCNTO5 0x01d5004c#define ULCON0 0x01d00000#define ULCON1 0x01d04000#define UCON0 0x01d00004#define UCON1 0x01d04004#define UFCON0 0x01d00008#define UFCON1 0x01d04008#define UMCON0 0x01d0000c#define UMCON1 0x01d0400c#define UTRSTAT0 0x01d00010#define UTRSTAT1 0x01d04010#define UERSTAT0 0x01d00014#define UERSTAT1 0x01d04014#define UFSTAT0 0x01d00018#define UFSTAT1 0x01d04018#define UMSTAT0 0x01d0001c#define UMSTAT1 0x01d0401c#define UTXH0 0x01d00020#define UTXH1 0x01d04020#define URXH0 0x01d00024#define URXH1 0x01d04024#define UBRDIV0 0x01d00028#define UBRDIV1 0x01d04028#define REG(addr) (*(volatile unsigned int*)addr)#define REGW(addr) (*(volatile unsigned short*)addr)#define REGB(addr) (*(volatile unsigned char*)addr)#endif
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -