Example #1
0
void 
gw_DevBeginIO( struct _Regs* regs )
{
  struct AHIRequest* ioreq   = (struct AHIRequest*) GET_LONG( regs->a1 );
  struct AHIBase*    AHIBase = (struct AHIBase*)    GET_LONG( regs->a6 );

  DevBeginIO( ioreq, AHIBase );
}
Example #2
0
void 
gw_DevBeginIO( void )
{
  struct AHIRequest* ioreq   = (struct AHIRequest*) REG_A1;
  struct AHIBase*    AHIBase = (struct AHIBase*)    REG_A6;

  DevBeginIO( ioreq, AHIBase );
}
Example #3
0
static VOID OS4DevBeginIO(struct Interface *self,
   struct IOSana2Req *request)
{
   /* Replace caller's cookie with our own */

   request->ios2_Req.io_Error = 0;
   switch(request->ios2_Req.io_Command)
   {
   case CMD_READ:
   case CMD_WRITE:
   case S2_MULTICAST:
   case S2_BROADCAST:
   case S2_READORPHAN:
      request->ios2_StatData = request->ios2_Data;
      request->ios2_Data = request;
   }

   /* Send request for processing */

   DevBeginIO(request, (APTR)self->Data.LibBase);

   return;
}
Example #4
0
void ASMCALL
gw_DevBeginIO( REG( a1, struct AHIRequest* ioreq ),
               REG( a6, struct AHIBase*    AHIBase ) )
{
  DevBeginIO( ioreq, AHIBase );
}