《ARM+Linux+启动代码汇编语言部分分析(noname)》.pdf
文本预览下载声明
ARM Linux 启动代码汇编语言部分分析 北京理工大学计算机系
ARM Linux 启动代码汇编语言部分分析
作者:qtopia
E-mail:qtopia@126.com
日期:第一版2004-4-13
第二版 2004-10-24
E-mai :qtopia@126.com 第 1 页 共 17 页
ARM Linux 启动代码汇编语言部分分析 北京理工大学计算机系
这篇文章是基于我使用的 MX1 芯片的板子,所以以下所有具体代码都
是 和 MX1ADS 相 关 的 。 我 主 要 是 分 析 的
linux/arch/arm/kernel/head-armv.S 文件,这是第一部分,以后我
还会写下去,把别的部分也加进来,组成一个整体。
有什么地方写得不对,请大家多多指教。
/*
* linux/arch/arm/kernel/head-armv.S
*
* Copyright (C) 1994-1999 Russell King
* Copyright (C) 2002 Motorola Semiconductors HK Ltd
* - added MX1ADS specific codes
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* 32-bit kernel startup code for all architectures
*/
#include linux/config.h
#include linux/linkage.h
#include asm/assembler.h
#include asm/mach-types.h
#include asm/mach/arch.h
#define K(a,b,c) ((a) 24 | (b) 12 | (c))
/*
* We place the page tables 16K below TEXTADDR. Therefore, we must
显示全部