xref: /openbmc/linux/arch/sparc/kernel/sun4v_mcd.S (revision 151f4e2b)
1/* sun4v_mcd.S: Sun4v memory corruption detected precise exception handler
2 *
3 * Copyright (c) 2015 Oracle and/or its affiliates. All rights reserved.
4 * Authors: Bob Picco <bob.picco@oracle.com>,
5 *          Khalid Aziz <khalid.aziz@oracle.com>
6 *
7 * This work is licensed under the terms of the GNU GPL, version 2.
8 */
9	.text
10	.align 32
11
12sun4v_mcd_detect_precise:
13	mov	%l4, %o1
14	mov 	%l5, %o2
15	call	sun4v_mem_corrupt_detect_precise
16	 add	%sp, PTREGS_OFF, %o0
17	ba,a,pt	%xcc, rtrap
18	 nop
19