6
extern void hipe_flush_icache_word(void *address);
7
extern void hipe_flush_icache_range(void *address, unsigned int nbytes);
9
/* for stack descriptor hash lookup */
10
#define HIPE_RA_LSR_COUNT 2 /* low 2 bits are always zero */
12
/* for hipe_bifs_{read,write}_{s,u}32 */
13
static __inline__ int hipe_word32_address_ok(void *address)
15
return ((unsigned long)address & 0x3) == 0;
18
/* Used when a BIF can trigger a stack walk. */
19
static __inline__ void hipe_set_narity(Process *p, unsigned int arity)
21
/* XXX: for now; later we should have sufficient # of args in regs */
22
p->hipe.narity = arity;
25
/* Native stack growth direction. */
26
#define HIPE_NSTACK_GROWS_DOWN
28
#define hipe_arch_name am_arm
30
/* for hipe_bifs_enter_code_2 */
31
extern void *hipe_alloc_code(Uint nrbytes, Eterm callees, Eterm *trampolines, Process *p);
32
#define HIPE_ALLOC_CODE(n,c,t,p) hipe_alloc_code((n),(c),(t),(p))
34
extern void hipe_arm_inc_stack(void);
36
#endif /* HIPE_ARM_H */