![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 /* 0003 * locore.S 0004 */ 0005 #include <asm/asm.h> 0006 #include <asm/regdef.h> 0007 #include <asm/mipsregs.h> 0008 0009 .text 0010 0011 /* 0012 * Simple general exception handling routine. This one is used for the 0013 * Memory sizing routine for pmax machines. HK 0014 */ 0015 0016 NESTED(genexcept_early, 0, sp) 0017 .set noat 0018 .set noreorder 0019 0020 mfc0 k0, CP0_STATUS 0021 la k1, mem_err 0022 0023 sw k0, 0(k1) 0024 0025 mfc0 k0, CP0_EPC 0026 nop 0027 addiu k0, 4 # skip the causing instruction 0028 jr k0 0029 rfe 0030 END(genexcept_early)
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |