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

headsmp.S (615B)


      1/* SPDX-License-Identifier: GPL-2.0-only */
      2/*
      3 * Copyright (c) 2013 Steffen Trumtrar <s.trumtrar@pengutronix.de>
      4 * Copyright (c) 2012-2013 Xilinx
      5 */
      6#include <linux/linkage.h>
      7#include <linux/init.h>
      8#include <asm/assembler.h>
      9
     10	.arm
     11
     12ENTRY(zynq_secondary_trampoline)
     13ARM_BE8(setend	be)				@ ensure we are in BE8 mode
     14	ldr	r0, zynq_secondary_trampoline_jump
     15ARM_BE8(rev	r0, r0)
     16	bx	r0
     17.globl zynq_secondary_trampoline_jump
     18zynq_secondary_trampoline_jump:
     19	/* Space for jumping address */
     20	.word	0	/* cpu 1 */
     21.globl zynq_secondary_trampoline_end
     22zynq_secondary_trampoline_end:
     23ENDPROC(zynq_secondary_trampoline)