gint/include/gint
Lephe aee67a76f3
usb: clear pipes/FIFOs during world switches, delay configuration
* Clear pipes and FIFOs during world switches to avoid interference
  with the OS. LINK uses pipes 3 and 4, and attempts to add a second
  pipe to the fxlink interface (thus using pipe 4) would interfere with
  LINK and somehow prevent the pipe from being used (Wireshark captures
  showed no responses on that pipe). Forcing a blank state is a valid
  move because that state occurs naturally after a RESET, thus LINK and
  other add-ins must support it as well.

* Delay the application of configuration to the USB configuration stage
  (specifically, the DVST configured interrupt, even though technically
  we should do that in SET_CONFIGURATION 0). This is because we
  previously relied on world switches preserving pipe settings (by not
  changing them) to reconnect the gint driver after a world switch.
  This is no longer possible as the world switch now clears the pipes.
  The new timing makes the driver automatically re-configure as the
  connection restarts.
2023-02-18 17:15:28 +01:00
..
defs defs: allow NULL callbacks in gint_call() 2023-01-31 16:04:35 +01:00
drivers usb: clear pipes/FIFOs during world switches, delay configuration 2023-02-18 17:15:28 +01:00
mpu mmu: provide read-only access to ITLB 2023-02-02 14:23:03 +01:00
std std: move endian.h to fxlibc 2021-06-08 10:05:33 +02:00
bfile.h fs: add rename() function on fx-CG 2022-08-22 15:25:14 +02:00
clock.h cpg: add overclock save/restore functions 2023-01-05 20:25:44 +01:00
config.h.in usb: hide USB_LOG() behind a compile-time debug option 2022-11-29 20:03:03 +01:00
cpu.h cpu, dma: add interrupt-cancellable sleep (perfect async sleep) 2021-06-17 14:32:08 +02:00
display-cg.h minor API comment update 2022-09-07 23:25:57 +02:00
display-fx.h add C++ header guards 2021-06-13 18:13:09 +02:00
display.h render: add a window setting to restrict rendering 2022-11-19 17:19:28 +01:00
dma.h add C++ header guards 2021-06-13 18:13:09 +02:00
drivers.h add C++ header guards 2021-06-13 18:13:09 +02:00
exc.h add C++ header guards 2021-06-13 18:13:09 +02:00
fs.h reduce static RAM usage to maintain SH3 support 2022-10-09 18:15:12 +02:00
gint.h kernel: more detailed quit handler documentation 2022-11-27 22:57:50 +01:00
gray.h add C++ header guards 2021-06-13 18:13:09 +02:00
hardware.h Add isSlim() macro 2022-09-25 10:37:18 -07:00
image.h render: add a window setting to restrict rendering 2022-11-19 17:19:28 +01:00
intc.h add C++ header guards 2021-06-13 18:13:09 +02:00
keyboard.h Translate fx-9860G Slim keyboard scancodes to standard scancodes 2022-09-25 01:34:40 -07:00
keycodes.h Translate fx-9860G Slim keyboard scancodes to standard scancodes 2022-09-25 01:34:40 -07:00
kmalloc.h kmalloc: add kmalloc_max() function 2022-11-09 21:35:32 +01:00
mmu.h mmu: provide read-only access to ITLB 2023-02-02 14:23:03 +01:00
rtc.h fs: track offset of Fugue files manually 2022-01-06 14:05:52 +01:00
serial.h serial: add template header for future implementation 2022-12-10 15:27:38 +01:00
timer.h tmu: fix freeze when using sleep_us_spin() with interrupts on 2021-11-15 06:43:00 +01:00
usb-ff-bulk.h (minor) 2022-05-04 19:08:54 +01:00
usb.h usb: prevent double opening 2023-02-18 16:48:28 +01:00