⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 prefetch_abort.c

📁 自己正在开发的一个ARM9的操作系统。详细信息请访问www.another-prj.com
💻 C
字号:
/*
 *	ApOS (Another Project software for s3c2410)
 *	
 *	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.
 *			
 *						Copyright caiyuqing
 *
 */
#include "../include/kernel/prefetch_abort.h"
#include "../include/s3c2410/cpu.h"

void do_prefetch_abort(struct cpu_registers *regs)
{
	unsigned int sfr=read_data_fsr();
	
	printk("prefetch abort.\n");
	printk("fault status register :0x%0x\n",sfr);
	
	panic();
}

void undefined_instruction()
{
	printk("undefined_instruction.\n");
	panic();
}

⌨️ 快捷键说明

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