| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Low Level Interrupts/Traps/Exceptions(non-TLB) Handling for ARCompact ISA |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) |
|---|
| 5 | 6 | * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) |
|---|
| 6 | | - * |
|---|
| 7 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 8 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 9 | | - * published by the Free Software Foundation. |
|---|
| 10 | 7 | * |
|---|
| 11 | 8 | * vineetg: May 2011 |
|---|
| 12 | 9 | * -Userspace unaligned access emulation |
|---|
| .. | .. |
|---|
| 259 | 256 | |
|---|
| 260 | 257 | EXCEPTION_PROLOGUE |
|---|
| 261 | 258 | |
|---|
| 262 | | - mov r2, r9 ; ECR set into r9 already |
|---|
| 259 | + mov r2, r10 ; ECR set into r10 already |
|---|
| 263 | 260 | lr r0, [efa] ; Faulting Data address (not part of pt_regs saved above) |
|---|
| 264 | 261 | |
|---|
| 265 | 262 | ; Exception auto-disables further Intr/exceptions. |
|---|