/* SparcSoftcardOps.h created by Sherman of March 30, 1988 11:10:48 pm PST */ /* from SparcSoftcardOps.mob */ #include "standard.h" typedef struct SoftcardPresent_self { BOOL present; } Return_SoftcardPresent; extern Return_SoftcardPresent SparcSoftcardOps_SoftcardPresent(); extern void SparcSoftcardOps_InitializeCPandIOPMaps(); extern void SparcSoftcardOps_InsertSoftcardPhyscialMemory(); /* void (*reclaim)(); CARD16 real; */ extern void SparcSoftcardOps_InitializeSoftcard(); /* void (*reclaim)(); CARD16 real; */ extern void SparcSoftcardOps_ResetSoftcard(); extern void SparcSoftcardOps_SparcReset(); extern void SparcSoftcardOps_SparcResetAndStart(); extern void SparcSoftcardOps_SparcCacheDisable(); extern void SparcSoftcardOps_SparcCacheEnable(); extern void SparcSoftcardOps_SparcCacheFlushAndEnable(); typedef enum { DMAState_active=0, DMAState_inactive=1 } SparcSoftcardOps_DMAState; extern void SparcSoftcardOps_SetDMAState(); /* SparcSoftcardOps_DMAState dMAState; */ typedef enum { DMAMode_printer=0, DMAMode_display=1, DMAMode_versatecOneShot=2, DMAMode_versatecStream=3 } SparcSoftcardOps_DMAMode; extern void SparcSoftcardOps_SetDMAMode(); /* SparcSoftcardOps_DMAMode dMAMode; */ extern void SparcSoftcardOps_DMAAddressRegisterLoad(); /* CARD32 byteAddress; */ typedef enum { VMSpaceName_dMA=0, VMSpaceName_iOP=1, VMSpaceName_cP=2, VMSpaceName_sparcUserData=3, VMSpaceName_sparcUserProgram=4, VMSpaceName_sparcSuperData=5, VMSpaceName_sparcSuperProgram=6 } SparcSoftcardOps_VMSpaceName; typedef struct VMSpace_self { SparcSoftcardOps_VMSpaceName name; CARD32 task; } SparcSoftcardOps_VMSpace; typedef struct Flags_self { BOOLEAN readOnly; BOOLEAN referenced; BOOLEAN dirty; BOOLEAN nonCachable; BOOLEAN interrupt; } SparcSoftcardOps_Flags; typedef struct MapEntry_self { SparcSoftcardOps_Flags flags; SparcSoftcardOps_VMSpace vMSpace; CARD32 virtualAddressByte; CARD32 realAddressByte; } SparcSoftcardOps_MapEntry; extern void SparcSoftcardOps_WriteMapEntry(); /* SparcSoftcardOps_MapEntry mapEntry; */ typedef struct PeekPokePeekRestore_self { BYTE lowByte; } Return_PeekPokePeekRestore; extern Return_PeekPokePeekRestore SparcSoftcardOps_PeekPokePeekRestore(); /* CARD32 address0; */ /* CARD16 content; */ /* CARD32 address1; */ extern void SparcSoftcardOps_ControlBitWrite(); /* CARD32 address; */ /* SparcSoftcard_Polarity polarity; */ /* BOOL value; */ typedef struct ControlBitRead_self { BOOL value; } Return_ControlBitRead; extern Return_ControlBitRead SparcSoftcardOps_ControlBitRead(); /* CARD32 address; */ /* SparcSoftcard_Polarity polarity; */