Commit Graph

29 Commits

Author SHA1 Message Date
dhewg
2100d84d7c IPC cleanup.
New function ipc_enqueue_slow() to enqueue to the slow in_queue from
within mini's irq context. The SDHC driver and the geckoloader uses
this, which in return gets our irq stack size down again to a sane
value.
2009-05-15 05:33:12 -07:00
Sven Peter
456b26c1b7 decrease the irq stack usage a bit 2009-05-15 05:33:12 -07:00
Sven Peter
5346a42d2d already done. i just forgot to remove the TODO 2009-05-15 05:33:11 -07:00
bushing
e5aec6fcc9 compiler warnings -- 2009-05-15 05:33:11 -07:00
Sven Peter
b84f393c92 sdhc seems to work now :> 2009-05-15 05:33:10 -07:00
Sven Peter
5ba315148b dma for sdhc.
it still fails after having read a few blocks
2009-05-15 05:33:10 -07:00
Sven Peter
2ad64f59a8 sdhc/sdmmc is getting closer to read valid data :> 2009-05-15 05:33:09 -07:00
Sven Peter
cccd6f5332 less sd fail. 2009-05-15 05:33:09 -07:00
Sven Peter
6b5ca1a194 did i mention that i hate this sd controller yet? 2009-05-15 05:33:09 -07:00
Sven Peter
ca7836a7a6 some more sd fail. 2009-05-15 05:33:09 -07:00
Sven Peter
3438ba21bb port of the BSD sdhc driver. breaks sd support atm 2009-05-15 05:33:09 -07:00
Sven Peter
753c97a90a added some copyright headers to mini 2009-05-15 05:33:08 -07:00
marcan
9b8f1df12c Kill sdhc.c stack hogs 2009-05-15 05:28:54 -07:00
bushing
12ac9bc4eb proper CSD handling, so we can detect SD card capacity
and format the card appropriately for BackupMii
2009-05-15 05:28:53 -07:00
bushing
aed064fa37 correctly handle CID and CSD (but the volume size calc is borked) 2009-05-15 05:28:53 -07:00
bushing
69102c9b0c try to decode and display CID / CSD 2009-05-15 05:28:53 -07:00
Sven Peter
711873e0c3 :/ 2009-05-15 05:28:53 -07:00
Sven Peter
ee8004d9c0 sdhc: CSD fixed 2009-05-15 05:28:53 -07:00
Sven Peter
320f255a5c response for CID fixed
CSD does not seem to work yet :s
2009-05-15 05:28:51 -07:00
marcan
689f718c64 Add ahb stuff for SD 2009-05-15 05:28:51 -07:00
marcan
766e793372 Make sdhc.c use dma_addr also 2009-05-15 05:28:50 -07:00
Sven Peter
e14be86d6c fix for dma problems? 2009-05-15 05:28:15 -07:00
bushing
3fc45b7dd8 some compiler warning fixes 2009-05-15 05:28:15 -07:00
Sven Peter
66982e9c37 sd ipc fix 2009-05-15 05:28:15 -07:00
bushing
902d0adac0 added code to support IPC for SDHC 2009-05-15 05:28:15 -07:00
Sven Peter
a02074a8ae removed some sd debug stuff 2009-05-15 05:28:13 -07:00
marcan
99c38eebe1 Woo MMU Woo Caches Woo AHBMemFlush! 2009-05-15 05:28:13 -07:00
John Kelley
5118037493 Added most fo the boot2 reg init shit to our code 2008-12-29 05:39:52 +01:00
marcan
91836dca85 Add miniios 2008-12-28 14:35:37 +01:00