Board logo

标题: ARMv8 Linux内核异常处理过程分析(2) [打印本页]

作者: yuyang911220    时间: 2014-8-30 13:22     标题: ARMv8 Linux内核异常处理过程分析(2)

1.5 entry.s代码分析/*
* Low-level exception handling code
*
* Copyright (C) 2012 ARM Ltd.
* Authors: CatalinMarinas <catalin.marinas@arm.com>
*         WillDeacon <will.deacon@arm.com>
*
* This program is free software; you canredistribute it and/or modify
* it under the terms of the GNU General PublicLicense version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope thatit will be useful,
* but WITHOUT ANY WARRANTY; without even theimplied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULARPURPOSE.  See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNUGeneral Public License
* along with this program.  If not, see<http://www.gnu.org/licenses/&gt;.
*/

#include<linux/init.h>
#include<linux/linkage.h>

#include<asm/assembler.h>
#include<asm/asm-offsets.h>
#include<asm/errno.h>
#include<asm/thread_info.h>
#include<asm/unistd.h>
#include<asm/unistd32.h>

/*
* Bad Abort numbers
*-----------------
*/
#defineBAD_SYNC       0
#defineBAD_IRQ           1
#defineBAD_FIQ           2
#defineBAD_ERROR     3




欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) Powered by Discuz! 7.0.0