1
0
Fork 0
forked from len0rd/rockbox

creative zvm isp1583 defines: move to isp1583.h

zvm is the only user of this file

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31495 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2011-12-31 18:44:32 +00:00
parent 6824fdf4b3
commit a51879dd01
3 changed files with 46 additions and 111 deletions

View file

@ -54,6 +54,15 @@ struct usb_endpoint
static unsigned char setup_pkt_buf[8];
static struct usb_endpoint endpoints[USB_NUM_ENDPOINTS];
#if 0
#define ZVM_SPECIFIC asm volatile( \
"LDR R12, =0x50FFC000\n" \
"LDRH R12, [R12]\n" \
: : : "r12");
#else
#define ZVM_SPECIFIC
#endif
static bool high_speed_mode = false;
static inline void or_int_value(volatile unsigned short *a, volatile unsigned short *b, unsigned long r, unsigned long value)