![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0-only */ 0002 /* 0003 * Copied from omap44xx-smc.S Copyright (C) 2010 Texas Instruments, Inc. 0004 * Copyright 2012 Calxeda, Inc. 0005 */ 0006 0007 #include <linux/linkage.h> 0008 0009 /* 0010 * This is common routine to manage secure monitor API 0011 * used to modify the PL310 secure registers. 0012 * 'r0' contains the value to be modified and 'r12' contains 0013 * the monitor API number. 0014 * Function signature : void highbank_smc1(u32 fn, u32 arg) 0015 */ 0016 .arch armv7-a 0017 .arch_extension sec 0018 ENTRY(highbank_smc1) 0019 stmfd sp!, {r4-r11, lr} 0020 mov r12, r0 0021 mov r0, r1 0022 dsb 0023 smc #0 0024 ldmfd sp!, {r4-r11, pc} 0025 ENDPROC(highbank_smc1)
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |