2 Copyright © 2013-2015, The AROS Development Team. All rights reserved.
6 #include "sdcard_intern.h"
8 ULONG
sdcard_CurrentTime()
10 return *((volatile ULONG
*)(SYSTIMER_CLO
));
13 void sdcard_Udelay(ULONG usec
)
15 ULONG now
= sdcard_CurrentTime();
18 asm volatile("mov r0, r0\n");
19 } while (sdcard_CurrentTime() < (now
+ usec
));
22 void sdcard_WaitNano(register ULONG ns
, struct SDCardBase
*SDCardBase
)
26 asm volatile("mov r0, r0\n");