swh:1:snp:32555a3fd8878f019c2ebd6c964bc1edcaeff337
Raw File
Tip revision: c13dcf9f2d6f5f06ef1bf79ec456df614c5e058b authored by Linus Torvalds on 24 August 2015, 03:52:59 UTC
Linux 4.2-rc8
Tip revision: c13dcf9
psci-call.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 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.
 *
 * Copyright (C) 2015 ARM Limited
 *
 * Author: Mark Rutland <mark.rutland@arm.com>
 */

#include <linux/linkage.h>

#include <asm/opcodes-sec.h>
#include <asm/opcodes-virt.h>

/* int __invoke_psci_fn_hvc(u32 function_id, u32 arg0, u32 arg1, u32 arg2) */
ENTRY(__invoke_psci_fn_hvc)
	__HVC(0)
	bx	lr
ENDPROC(__invoke_psci_fn_hvc)

/* int __invoke_psci_fn_smc(u32 function_id, u32 arg0, u32 arg1, u32 arg2) */
ENTRY(__invoke_psci_fn_smc)
	__SMC(0)
	bx	lr
ENDPROC(__invoke_psci_fn_smc)
back to top