Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 351169
b: refs/heads/master
c: af965ac
h: refs/heads/master
i:
  351167: 78f7a64
v: v3
  • Loading branch information
Will Deacon committed Jan 10, 2013
1 parent 269b005 commit 5949578
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6d63f6466da4385f08a2a1b47779704bf60702b1
refs/heads/master: af965acc81796c0006c0200129cd22a27c714e52
24 changes: 24 additions & 0 deletions trunk/arch/arm/include/asm/opcodes-sec.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*
* 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) 2012 ARM Limited
*/

#ifndef __ASM_ARM_OPCODES_SEC_H
#define __ASM_ARM_OPCODES_SEC_H

#include <asm/opcodes.h>

#define __SMC(imm4) __inst_arm_thumb32( \
0xE1600070 | (((imm4) & 0xF) << 0), \
0xF7F08000 | (((imm4) & 0xF) << 16) \
)

#endif /* __ASM_ARM_OPCODES_SEC_H */

0 comments on commit 5949578

Please sign in to comment.