cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

sun4v_mcd.S (461B)


      1/* SPDX-License-Identifier: GPL-2.0-only */
      2/* 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>
      7 */
      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