Skip to content

Commit

Permalink
unicore32 core architecture: low level entry and setup codes
Browse files Browse the repository at this point in the history
This patch implements low level entry and setup codes.

Signed-off-by: Guan Xuetao <gxt@mprc.pku.edu.cn>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
  • Loading branch information
GuanXuetao committed Mar 17, 2011
1 parent 79725df commit 141c943
Show file tree
Hide file tree
Showing 6 changed files with 1,820 additions and 0 deletions.
21 changes: 21 additions & 0 deletions arch/unicore32/include/asm/traps.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/*
* linux/arch/unicore32/include/asm/traps.h
*
* Code specific to PKUnity SoC and UniCore ISA
*
* Copyright (C) 2001-2010 GUAN Xue-tao
*
* 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.
*/
#ifndef __UNICORE_TRAP_H__
#define __UNICORE_TRAP_H__

extern void __init early_trap_init(void);
extern void dump_backtrace_entry(unsigned long where,
unsigned long from, unsigned long frame);

extern void do_DataAbort(unsigned long addr, unsigned int fsr,
struct pt_regs *regs);
#endif
Loading

0 comments on commit 141c943

Please sign in to comment.