首页 | 新闻 | 新品 | 文库 | 方案 | 视频 | 下载 | 商城 | 开发板 | 数据中心 | 座谈新版 | 培训 | 工具 | 博客 | 论坛 | 百科 | GEC | 活动 | 主题月 | 电子展
返回列表 回复 发帖

ARMv8 Linux内核异常处理过程分析(2)

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
继承事业,薪火相传
返回列表