/* SparcSoftcardOps.h created by Sherman of September 7, 1988 11:27:27 am PDT */ /* 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; /* _ 0 */ } SparcSoftcardOps_VMSpace; typedef struct Flags_self { BOOLEAN dirty; /* _ FALSE */ BOOLEAN referenced; /* _ FALSE */ BOOLEAN readOnly; /* _ FALSE */ BOOLEAN nonCachable; /* _ FALSE */ BOOLEAN interrupt; /* _ FALSE */ } SparcSoftcardOps_Flags; typedef struct MapEntry_self { SparcSoftcardOps_Flags flags; SparcSoftcardOps_VMSpace vMSpace; CARD32 virtualAddressByte; CARD32 realAddressByte; } SparcSoftcardOps_MapEntry; typedef struct MapEntryConcrete_self { BOOLEAN dirty:1; BOOLEAN referenced:1; BOOLEAN readOnly:1; BOOLEAN nonCachable:1; BOOLEAN interrupt:1; BYTE task:8; INT virtualPageHiHi:3; INT virtualPageHiLow:2; BOOL trash:1; INT realPage:13; } SparcSoftcardOps_MapEntryConcrete; extern void SparcSoftcardOps_WriteMapEntry(); /* SparcSoftcardOps_MapEntry mapEntry; */ typedef struct ReadMapEntry_self { SparcSoftcardOps_MapEntry oldMapEntry; } Return_ReadMapEntry; extern Return_ReadMapEntry SparcSoftcardOps_ReadMapEntry(); /* SparcSoftcardOps_MapEntry mapEntry; */