-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 188414 b: refs/heads/master c: d660f9a h: refs/heads/master v: v3
- Loading branch information
Santosh Shilimkar
authored and
Tony Lindgren
committed
Mar 11, 2010
1 parent
23c09c4
commit 3885c0b
Showing
4 changed files
with
37 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 6f69a1815a93722b360a1439934856e766509002 | ||
refs/heads/master: d660f9a26ef81c3bbced92514ffbe82e1b882ee1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/* | ||
* OMAP44xx secure APIs file. | ||
* | ||
* Copyright (C) 2010 Texas Instruments, Inc. | ||
* Written by Santosh Shilimkar <santosh.shilimkar@ti.com> | ||
* | ||
* | ||
* 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. | ||
*/ | ||
|
||
#include <linux/linkage.h> | ||
|
||
/* | ||
* This is common routine to manage secure monitor API | ||
* used to modify the PL310 secure registers. | ||
* 'r0' contains the value to be modified and 'r12' contains | ||
* the monitor API number. It uses few CPU registers | ||
* internally and hence they need be backed up including | ||
* link register "lr". | ||
* Function signature : void omap_smc1(u32 fn, u32 arg) | ||
*/ | ||
|
||
ENTRY(omap_smc1) | ||
stmfd sp!, {r2-r12, lr} | ||
mov r12, r0 | ||
mov r0, r1 | ||
dsb | ||
smc | ||
ldmfd sp!, {r2-r12, pc} | ||
END(omap_smc1) |