Sign in
gfiber
/
barebox
/
mindspeed
/
724dc0dc74acb621376baad2d14100a0e5f09682
/
.
/
arch
/
arm
/
include
/
asm
/
common.h
blob: f3a87c81c9c1f095e527a7667b31629def540f89 [
file
] [
log
] [
blame
]
#ifndef
__ASM_ARM_COMMON_H
#define
__ASM_ARM_COMMON_H
#define
ARCH_SHUTDOWN
static
inline
unsigned
long
get_pc
(
void
)
{
unsigned
long
pc
;
__asm__ __volatile__
(
"mov %0, pc\n"
:
"=r"
(
pc
)
:
:
"memory"
);
return
pc
;
}
#endif
/* __ASM_ARM_COMMON_H */