blob: a419b73184064ec94b0179a98b6a32083b3f2728 [file] [log] [blame]
David Brazdil0f672f62019-12-10 10:32:29 +00001/* SPDX-License-Identifier: GPL-2.0-only */
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00002/* sun4v_mcd.S: Sun4v memory corruption detected precise exception handler
3 *
4 * Copyright (c) 2015 Oracle and/or its affiliates. All rights reserved.
5 * Authors: Bob Picco <bob.picco@oracle.com>,
6 * Khalid Aziz <khalid.aziz@oracle.com>
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00007 */
8 .text
9 .align 32
10
11sun4v_mcd_detect_precise:
12 mov %l4, %o1
13 mov %l5, %o2
14 call sun4v_mem_corrupt_detect_precise
15 add %sp, PTREGS_OFF, %o0
16 ba,a,pt %xcc, rtrap
17 nop