usbloadergx/ehcmodule/source/ehci_interrupt.h
dimok321 0e7d37b18b *Fixed crash with loading .iso files
*Fixed freeze in theme menu when its empty
*Optimized the game list loading on fat/ntfs/ext. This should speed up the loading process.
*Added cache of game titles. This will speed up the startup after the cache file is written (in other words on second start of this rev). A TitlesCache.bin will be created in the same path as the wiitdb.xml for this. This should especial speed up the startup of fat/ntfs/ext partitions by a lot if no sub folders with the game titles are used, like GAMEID.wbfs only. That must have been painfully slow before on a lot of games. Should be at about the same speed as with sub folders now. I would still recommend to use sub folders.
*Removed wiilight (disc slot) blinking when switching USB port on Hermes cIOSes (thanks rodries)
*Added the ehcmodule sources from rodries to the branches
*Updated language files
2011-02-11 17:41:52 +00:00

29 lines
571 B
C

#ifndef _EHCI_INTERRUPT_H_
#define _EHCI_INTERRUPT_H_
#include "syscalls.h"
#include "ehci_types.h"
#include "ehci.h"
#define INTR_MASK (STS_IAA | STS_FATAL | STS_PCD | STS_ERR | STS_INT)
extern int heaphandle;
void enable_EHCI(void);
void disable_EHCI(void);
void enable_OHCI1(void);
void disable_OHCI1(void);
void init_thread_ehci(void);
void ehci_int_passive_callback( void (*callback)(u32 flags));
void ehci_int_working_callback_part1(int (*callback)(u32 flags), u32 timeout);
int ehci_int_working_callback_part2(void);
#endif