1281466Sandrew/*- 2281466Sandrew * Copyright (c) 2015 Andrew Turner 3281466Sandrew * All rights reserved. 4281466Sandrew * 5281466Sandrew * Redistribution and use in source and binary forms, with or without 6281466Sandrew * modification, are permitted provided that the following conditions 7281466Sandrew * are met: 8281466Sandrew * 1. Redistributions of source code must retain the above copyright 9281466Sandrew * notice, this list of conditions and the following disclaimer. 10281466Sandrew * 2. Redistributions in binary form must reproduce the above copyright 11281466Sandrew * notice, this list of conditions and the following disclaimer in the 12281466Sandrew * documentation and/or other materials provided with the distribution. 13281466Sandrew * 14281466Sandrew * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15281466Sandrew * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16281466Sandrew * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17281466Sandrew * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18281466Sandrew * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19281466Sandrew * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20281466Sandrew * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21281466Sandrew * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22281466Sandrew * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23281466Sandrew * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24281466Sandrew * SUCH DAMAGE. 25281466Sandrew * 26281466Sandrew */ 27281466Sandrew 28281466Sandrew#include <machine/asm.h> 29281466Sandrew__FBSDID("$FreeBSD: releng/11.0/sys/dev/psci/psci_arm.S 281466 2015-04-12 13:00:58Z andrew $"); 30281466Sandrew 31281466Sandrew.arch_extension virt /* For hvc */ 32281466Sandrew 33281466Sandrew/* 34281466Sandrew * int psci_hvc_despatch(register_t psci_fnid, register_t...) 35281466Sandrew */ 36281466SandrewENTRY(psci_hvc_despatch) 37281466Sandrew hvc #0 38281466Sandrew RET 39281466SandrewEND(psci_hvc_despatch) 40281466Sandrew 41281466Sandrew/* 42281466Sandrew * int psci_smc_despatch(register_t psci_fnid, register_t...) 43281466Sandrew */ 44281466SandrewENTRY(psci_smc_despatch) 45281466Sandrew smc #0 46281466Sandrew RET 47281466SandrewEND(psci_hvc_despatch) 48