Nugget
|
#include "common/hardware/hwregs.h"
#include "common/hardware/irq.h"
#include "common/kernel/events.h"
#include "common/psxlibc/string.h"
#include "common/syscalls/syscalls.h"
#include "openbios/handlers/handlers.h"
#include "openbios/kernel/events.h"
#include "openbios/sio0/card.h"
#include "openbios/sio0/pad.h"
Typedefs | |
typedef int(* | mcOpHandler) () |
Functions | |
void | patch_remove_ChgclrPAD () |
void | patch_disable_slotChangeOnAbort () |
void | patch_send_pad () |
void | patch_startPad () |
void | patch_stopPad () |
int | __attribute__ ((section(".ramtext"))) |
void | busyloop (int count) |
void | exceptionHandlerPatchSlot1 () |
void | exceptionHandlerCardFastTrackPatch () |
void | mcAllowNewCard () |
int | mcReadSector (int deviceId, int sector, uint8_t *buffer) |
int | mcWriteSector (int deviceId, int sector, uint8_t *buffer) |
int | cardInfoInternal (int deviceId) |
int | mcGetLastDevice () |
Variables | |
struct HandlerInfo | g_sio0HandlerInfo |
uint32_t | g_sio0Mask |
int | g_mcActionInProgress |
int | g_mcPortFlipping |
int | g_mcLastPort |
int | g_mcGotError |
uint8_t | g_mcFlags [2] |
int | g_mcOperation |
struct HandlerInfo | g_mcHandlerInfo |
int | g_skipErrorOnNewCard |
int | g_mcFastTrackActive = 0 |
uint8_t * | g_mcFastTrackOperationPtr = NULL |
uint8_t * | g_mcFastTrackBuffer = NULL |
uint32_t * | g_mcFastTrackChecksumPtr = NULL |
uint32_t | g_mcFastTrackCounter = 0 |
uint8_t * | g_mcUserBuffers [2] |
uint32_t | g_mcChecksum [2] |
mcOpHandler | g_mcHandlers [2] |
int | g_mcDeviceId [2] |
int | g_mcSector [2] |
int | g_mcHandlerDelayPatch = 0 |
typedef int(* mcOpHandler) () |
int __attribute__ | ( | (section(".ramtext")) | ) |
void exceptionHandlerCardFastTrackPatch | ( | ) |
void exceptionHandlerPatchSlot1 | ( | ) |
void mcAllowNewCard | ( | ) |
int mcGetLastDevice | ( | ) |
void patch_disable_slotChangeOnAbort | ( | ) |
void patch_remove_ChgclrPAD | ( | ) |
void patch_send_pad | ( | ) |
void patch_startPad | ( | ) |
void patch_stopPad | ( | ) |
int g_mcActionInProgress |
uint32_t g_mcChecksum[2] |
int g_mcDeviceId[2] |
int g_mcFastTrackActive = 0 |
uint8_t* g_mcFastTrackBuffer = NULL |
uint32_t* g_mcFastTrackChecksumPtr = NULL |
uint32_t g_mcFastTrackCounter = 0 |
uint8_t* g_mcFastTrackOperationPtr = NULL |
uint8_t g_mcFlags[2] |
int g_mcGotError |
int g_mcHandlerDelayPatch = 0 |
struct HandlerInfo g_mcHandlerInfo |
mcOpHandler g_mcHandlers[2] |
int g_mcLastPort |
int g_mcOperation |
int g_mcPortFlipping |
int g_mcSector[2] |
uint8_t* g_mcUserBuffers[2] |
struct HandlerInfo g_sio0HandlerInfo |
uint32_t g_sio0Mask |
int g_skipErrorOnNewCard |