EMILE/second/driver.h

21 lines
391 B
C
Raw Normal View History

/*
*
* (c) 2005-2007 Laurent Vivier <Laurent@lvivier.info>
*
*/
static inline int refnum_to_scsi_id(signed short refnum)
{
return (~refnum) - 32;
}
static inline signed short scsi_id_to_refnum(int scsi_id)
{
return ~((signed short)scsi_id + 32);
}
extern signed short drive_to_refnum(int drive);
extern int refnum_to_drive(signed short refnum);
2005-10-10 21:42:58 +00:00
extern void turn_off_interrupts();