Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 430 → Rev 431

/SPARTAN/trunk/arch/ia64/include/asm.h
47,7 → 47,20
return v;
}
 
/** Read IVR (External Interrupt Vector Register)
*
* @return Highest priority, pending, unmasked external interrupt vector.
*/
static inline __u8 read_ivr(void)
{
__u64 v;
__asm__ volatile ("mov %0 = cr65\n" : "=r" (v));
return (__u8) (v & 0xf);
}
 
 
void cpu_sleep(void);
 
void asm_delay_loop(__u32 t);