~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/hexagon/kernel/vm_ops.S

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /* SPDX-License-Identifier: GPL-2.0-only */
  2 /*
  3  * Hexagon VM instruction support
  4  *
  5  * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  6  */
  7 
  8 #include <linux/linkage.h>
  9 #include <asm/hexagon_vm.h>
 10 
 11 /*
 12  * C wrappers for virtual machine "instructions".  These
 13  * could be, and perhaps some day will be, handled as in-line
 14  * macros, but for tracing/debugging it's handy to have
 15  * a single point of invocation for each of them.
 16  * Conveniently, they take parameters and return values
 17  * consistent with the ABI calling convention.
 18  */
 19 
 20 ENTRY(__vmrte)
 21         trap1(#HVM_TRAP1_VMRTE);
 22         jumpr   R31;
 23 
 24 ENTRY(__vmsetvec)
 25         trap1(#HVM_TRAP1_VMSETVEC);
 26         jumpr   R31;
 27 
 28 ENTRY(__vmsetie)
 29         trap1(#HVM_TRAP1_VMSETIE);
 30         jumpr   R31;
 31 
 32 ENTRY(__vmgetie)
 33         trap1(#HVM_TRAP1_VMGETIE);
 34         jumpr   R31;
 35 
 36 ENTRY(__vmintop)
 37         trap1(#HVM_TRAP1_VMINTOP);
 38         jumpr   R31;
 39 
 40 ENTRY(__vmclrmap)
 41         trap1(#HVM_TRAP1_VMCLRMAP);
 42         jumpr   R31;
 43 
 44 ENTRY(__vmnewmap)
 45         r1 = #VM_NEWMAP_TYPE_PGTABLES;
 46         trap1(#HVM_TRAP1_VMNEWMAP);
 47         jumpr   R31;
 48 
 49 ENTRY(__vmcache)
 50         trap1(#HVM_TRAP1_VMCACHE);
 51         jumpr   R31;
 52 
 53 ENTRY(__vmgettime)
 54         trap1(#HVM_TRAP1_VMGETTIME);
 55         jumpr   R31;
 56 
 57 ENTRY(__vmsettime)
 58         trap1(#HVM_TRAP1_VMSETTIME);
 59         jumpr   R31;
 60 
 61 ENTRY(__vmwait)
 62         trap1(#HVM_TRAP1_VMWAIT);
 63         jumpr   R31;
 64 
 65 ENTRY(__vmyield)
 66         trap1(#HVM_TRAP1_VMYIELD);
 67         jumpr   R31;
 68 
 69 ENTRY(__vmstart)
 70         trap1(#HVM_TRAP1_VMSTART);
 71         jumpr   R31;
 72 
 73 ENTRY(__vmstop)
 74         trap1(#HVM_TRAP1_VMSTOP);
 75         jumpr   R31;
 76 
 77 ENTRY(__vmvpid)
 78         trap1(#HVM_TRAP1_VMVPID);
 79         jumpr   R31;
 80 
 81 /*  Probably not actually going to use these; see vm_entry.S  */
 82 
 83 ENTRY(__vmsetregs)
 84         trap1(#HVM_TRAP1_VMSETREGS);
 85         jumpr   R31;
 86 
 87 ENTRY(__vmgetregs)
 88         trap1(#HVM_TRAP1_VMGETREGS);
 89         jumpr   R31;

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php