- 1、本文档共31页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
MPC8349E-mITXE的U-Boot汇编startS分析笔记
MPC8349E-mITXE的U-Boot汇编start.S分析笔记(转)
1 /* 2 * // MPC8349E-mITX ltib U-Boot cpu/mpc83xx/start.S --- by starby 3 * 4 * Copyright (C) 1998 Dan Malek 5 * Copyright (C) 1999 Magnus Damm 6 * Copyright (C) 2000, 2001,2002 Wolfgang Denk 7 * Copyright (C) Freescale Semiconductor, Inc. 2004, 2006. All rights reserved. 8 * 9 * See file CREDITS for list of people who contributed to this 10 * project. 11 * 12 * This program is free software; you can redistribute it and/or 13 * modify it under the terms of the GNU General Public License as 14 * published by the Free Software Foundation; either version 2 of 15 * the License, or (at your option) any later version. 16 * 17 * This program is distributed in the hope that it will be useful, 18 * but WITHOUT ANY WARRANTY; without even the implied warranty of 19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20 * GNU General Public License for more details. 21 * 22 * You should have received a copy of the GNU General Public License 23 * along with this program; if not, write to the Free Software 24 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, 25 * MA 02111-1307 USA 26 */ 27 // 采用大端模式的32位处理器(如基于e300核的MPC8349),将其寄存器的最高位(msb)定义为0,最低位(lsb)为31; 28 // 而采用小端模式的32位处理器,将其寄存器的最高位定义位31,低位地址定义为0. 29 30 /* 31 * U-Boot - Startup Code for MPC83xx PowerPC based Embedded Boards 32 */ 33 34 #include 35 #include 36 #include 37 38 #define CONFIG_83XX 1 /* needed for Linux kernel header files*/ 39 #define _LINUX_CONFIG_H 1 /* avoid reading Linux autoconf.h file */ 40 41 #include // 此文件定义寄存器相关,异常相关函数等 42 #include 43 44 #include 45 #include 46 47 #ifndef CONFIG_IDENT_STRING 48 #define CONFIG_IDENT_STRING MPC83XX 49 #endif 50 51 /* We dont want the MMU yet. 52 */ 53 #undef MSR_KERNEL 54 55 /* 56 * Floating Point enable, Machine Check and Recoverable Inter
文档评论(0)