1
0
Fork 0
forked from len0rd/rockbox

1) Put USB in IRAM

2) Use defines from usb_drv.h


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17546 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Maurus Cuelenaere 2008-05-16 21:05:18 +00:00
parent 2ea6da1ebf
commit 7a8fc3fd9d
4 changed files with 14 additions and 22 deletions

View file

@ -19,7 +19,6 @@
****************************************************************************/
#include "config.h"
#include "usb-target.h"
#include "usb_ch9.h"
#include "usb_drv.h"
#include "usb_core.h"
@ -30,9 +29,6 @@
#define DIR_RX 0
#define DIR_TX 1
#define DIR_OUT 0
#define DIR_IN 1
struct usb_endpoint
{
@ -626,7 +622,7 @@ static void bus_reset(void)
}
/* Method for handling interrupts, must be called from usb-<target>.c */
void usb_drv_int(void)
void IRAM_ATTR usb_drv_int(void)
{
unsigned long ints;
ints = ISP1583_GEN_INT_READ & ISP1583_INIT_INTEN_READ;