08dbd0f8ef
Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license version 2 and only version 2 as published by the free software foundation this program is distributed in the hope that it will be useful but without any warranty without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details you should have received a copy of the gnu general public license along with this program if not write to the free software foundation inc 51 franklin street fifth floor boston ma 02110 1301 usa extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 94 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Allison Randal <allison@lohutok.net> Reviewed-by: Richard Fontana <rfontana@redhat.com> Reviewed-by: Alexios Zavras <alexios.zavras@intel.com> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190529141334.043630402@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
90 lines
1.6 KiB
ArmAsm
90 lines
1.6 KiB
ArmAsm
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Hexagon VM instruction support
|
|
*
|
|
* Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
|
|
*/
|
|
|
|
#include <linux/linkage.h>
|
|
#include <asm/hexagon_vm.h>
|
|
|
|
/*
|
|
* C wrappers for virtual machine "instructions". These
|
|
* could be, and perhaps some day will be, handled as in-line
|
|
* macros, but for tracing/debugging it's handy to have
|
|
* a single point of invocation for each of them.
|
|
* Conveniently, they take parameters and return values
|
|
* consistent with the ABI calling convention.
|
|
*/
|
|
|
|
ENTRY(__vmrte)
|
|
trap1(#HVM_TRAP1_VMRTE);
|
|
jumpr R31;
|
|
|
|
ENTRY(__vmsetvec)
|
|
trap1(#HVM_TRAP1_VMSETVEC);
|
|
jumpr R31;
|
|
|
|
ENTRY(__vmsetie)
|
|
trap1(#HVM_TRAP1_VMSETIE);
|
|
jumpr R31;
|
|
|
|
ENTRY(__vmgetie)
|
|
trap1(#HVM_TRAP1_VMGETIE);
|
|
jumpr R31;
|
|
|
|
ENTRY(__vmintop)
|
|
trap1(#HVM_TRAP1_VMINTOP);
|
|
jumpr R31;
|
|
|
|
ENTRY(__vmclrmap)
|
|
trap1(#HVM_TRAP1_VMCLRMAP);
|
|
jumpr R31;
|
|
|
|
ENTRY(__vmnewmap)
|
|
r1 = #VM_NEWMAP_TYPE_PGTABLES;
|
|
trap1(#HVM_TRAP1_VMNEWMAP);
|
|
jumpr R31;
|
|
|
|
ENTRY(__vmcache)
|
|
trap1(#HVM_TRAP1_VMCACHE);
|
|
jumpr R31;
|
|
|
|
ENTRY(__vmgettime)
|
|
trap1(#HVM_TRAP1_VMGETTIME);
|
|
jumpr R31;
|
|
|
|
ENTRY(__vmsettime)
|
|
trap1(#HVM_TRAP1_VMSETTIME);
|
|
jumpr R31;
|
|
|
|
ENTRY(__vmwait)
|
|
trap1(#HVM_TRAP1_VMWAIT);
|
|
jumpr R31;
|
|
|
|
ENTRY(__vmyield)
|
|
trap1(#HVM_TRAP1_VMYIELD);
|
|
jumpr R31;
|
|
|
|
ENTRY(__vmstart)
|
|
trap1(#HVM_TRAP1_VMSTART);
|
|
jumpr R31;
|
|
|
|
ENTRY(__vmstop)
|
|
trap1(#HVM_TRAP1_VMSTOP);
|
|
jumpr R31;
|
|
|
|
ENTRY(__vmvpid)
|
|
trap1(#HVM_TRAP1_VMVPID);
|
|
jumpr R31;
|
|
|
|
/* Probably not actually going to use these; see vm_entry.S */
|
|
|
|
ENTRY(__vmsetregs)
|
|
trap1(#HVM_TRAP1_VMSETREGS);
|
|
jumpr R31;
|
|
|
|
ENTRY(__vmgetregs)
|
|
trap1(#HVM_TRAP1_VMGETREGS);
|
|
jumpr R31;
|