atable-sa1110.c

来自「PXA250上的XBOOT」· C语言 代码 · 共 51 行

C
51
字号
/*  * $Id: atable-sa1110.c,v 1.1 2002/12/05 22:20:38 telka Exp $ * * Copyright (C) 2001, 2002 ETC s.r.o. * * 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. * * Written by Marcel Telka <marcel@telka.sk>, 2001, 2002. * */#include "board.h"#if CPU == SA1110#include "atable.h"#pragma const_seg( ".text" )/* this table must be in code segment (.text) because is needed before calling KernelRelocate() */const struct AddressTable OEMAddressTable[] = {	MEM_REGION( SDRAM ),			/* SDRAM */	MEM_REGION( FLASH ),			/* FlashROM */#if (WID != EI370)	MEM_REGION( PCMCIA0_IO ),		/* PCMCIA socket 0 I/O space */	MEM_REGION( PCMCIA0_ATTR ),		/* PCMCIA socket 0 attribute space */	MEM_REGION( PCMCIA0_MEM ),		/* PCMCIA socket 0 memory space */#endif						/* (WID != EI370) */	MEM_REGION( APB ),			/* APB devices */	MEM_REGION( SCM ),			/* system control registers */	MEM_REGION( MPCM ),			/* memory control registers */	MEM_REGION( ASB ),			/* ASB devices */	MEM_REGION( ZERO ),			/* zero bank */	{0, 0, 0}				/* end of table */};#pragma const_seg()#endif /* CPU = SA1110 */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?