arm: Move headers over to pragma once

This commit is contained in:
Lioncash 2015-01-30 15:58:45 -05:00
parent 83bc1a3120
commit fc1a9e35fb
7 changed files with 11 additions and 31 deletions

View file

@ -16,8 +16,7 @@
*
*/
#ifndef __ARM_DYNCOM_RUN__
#define __ARM_DYNCOM_RUN__
#pragma once
void switch_mode(arm_core_t *core, uint32_t mode);
@ -49,5 +48,3 @@ static inline addr_t CHECK_READ_REG15_WA(arm_core_t* core, int Rn) {
static inline u32 CHECK_READ_REG15(arm_core_t* core, int Rn) {
return (Rn == 15)? ((core->Reg[15] & ~0x1) + GET_INST_SIZE(core) * 2) : core->Reg[Rn];
}
#endif

View file

@ -24,8 +24,7 @@
* @date 2011-11-07
*/
#ifndef __ARM_DYNCOM_THUMB_H__
#define __ARM_DYNCOM_THUMB_H__
#pragma once
#include "core/arm/skyeye_common/armdefs.h"
@ -46,5 +45,3 @@ static inline u32 get_thumb_instr(u32 instr, addr_t pc) {
tinstr = instr & 0xFFFF;
return tinstr;
}
#endif