<> <> <> <> <<>> <<>> DIRECTORY Atom,DynaBusInterface,Rope; DynCacheProg3: CEDAR PROGRAM IMPORTS Atom EXPORTS ~ BEGIN Quad: TYPE = DynaBusInterface.Quad; Cmd: TYPE = DynaBusInterface.Cmd; L: PROC [c: BOOL] RETURNS [rc: REF ANY] = {rc _ NEW[BOOL _ c]}; C: PROC [c: CARD] RETURNS [rc: REF ANY] = {rc _ NEW[CARD _ c]}; Q: PROC [c: Quad] RETURNS [rc: REF ANY] = {rc _ NEW[Quad _ c]}; Com: PROC [c: Cmd] RETURNS [rc: REF ANY] = {rc _ NEW[Cmd _ c]}; R: PROC [c: Rope.ROPE] RETURNS [rc: REF ANY] = {rc _ NEW[Rope.ROPE _ c]}; Atom.PutProp[$Simul2Sender, $PKList, LIST[ LIST[$ClearFlag, $MemReady], LIST[$ClearFlag, $DynReadDone], $Init, $StartStop, $ReceiveAll, << LIST[$Wait, C[200]], -- for waiting DBus intit>> LIST[$WaitSync, $DBusReady], -- wait DBus ready <> LIST[$IOWrite0, C[1], L[TRUE], L[TRUE], C[0],C[28],C[28],C[28],C[22],C[22]], $WaitMsgSent, $WaitMsgReceived, -- for the Echo $WaitReply, LIST[$IOWrite1, C[1],C[10],C[0],C[0]], $WaitMsgSent, $WaitMsgReceived, -- for the Echo $WaitReply, LIST[$IOWrite2, C[1],C[10],C[0]], $WaitMsgSent, $WaitMsgReceived, -- for the Echo $WaitReply, LIST[$WriteBlockRqst, Q[[0,0,0011H,2288H]],Q[[0,0,0123H,4567H]],Q[[1,1,1,1]],Q[[2,2,2,2]],Q[[3,3,3,3]]], $WaitMsgSent, LIST[$SetFlag, $MemReady], <> $WaitMapRqst, -- first testing in Kernel mode LIST[$MapReply, C[0FH]], -- UserR enabled, UserW enabled, KernelW enabled, Dirty, << LIST[$Wait, C[10]], -- for waiting PBus Write>> LIST[$WaitSync, $PBusWriteDone], << >> <> LIST[$ReadBlockRqst, Q[[0,0,0011H,2288H]]], $WaitMsgSent, $WaitMsgReceived, -- for the Echo LIST[$WaitReadBlockRplyandCheck, Q[[89ABH,0CDEFH,0123H,4567H]],Q[[1,1,1,1]],Q[[2,2,2,2]],Q[[3,3,3,3]]], LIST[$SetFlag, $DynReadDone], <> LIST[$WaitWriteSingleRqstAndCheck, Q[[0,0,0011H,228AH]],Q[[0,0,0AABBH,0CCDDH]]], LIST[$WriteSingleRply, Q[[0,0,0AABBH,0CCDDH]]], <<>> <<>> <> $Loop, $WaitMapRqst, LIST[$MapReply, C[0FH]], LIST[$Jump, $Loop] ]]; END.