Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 82 → Rev 83

/shark/trunk/oslib/xlib/xbios.c
38,14 → 38,14
X_CALLBIOS *xbc = x_bios_address();
 
/* Send interrupt request & register through the X_Info structure */
xbc->irqno = service;
memcpy(&(xbc->ir),in,sizeof(X_REGS16));
memcpy(&(xbc->sr),s,sizeof(X_SREGS16));
xbc->_irqno = service;
memcpy(&(xbc->_ir),in,sizeof(X_REGS16));
memcpy(&(xbc->_sr),s,sizeof(X_SREGS16));
/* Back to RM to execute the BIOS routine */
_x_callBIOS();
 
/* Get the return register values */
memcpy(out,&(xbc->or),sizeof(X_REGS16));
memcpy(s,&(xbc->sr),sizeof(X_SREGS16));
memcpy(out,&(xbc->_or),sizeof(X_REGS16));
memcpy(s,&(xbc->_sr),sizeof(X_SREGS16));
}