Applied all mainline PCem commits;
Removed SCSI thread waiting (except after executing the READ SUBCHANNEL command, to alleviate the effects of READ SUBCHANNEL spam done by CD players).
This commit is contained in:
31
src/lpt.h
31
src/lpt.h
@@ -1,11 +1,26 @@
|
||||
/* Copyright holders: Sarah Walker
|
||||
see COPYING for more details
|
||||
*/
|
||||
extern void lpt_init(void);
|
||||
extern void lpt_init();
|
||||
extern void lpt1_init(uint16_t port);
|
||||
extern void lpt1_remove(void);
|
||||
extern void lpt1_remove();
|
||||
extern void lpt2_init(uint16_t port);
|
||||
extern void lpt2_remove(void);
|
||||
extern void lpt2_remove_ams(void);
|
||||
extern void lpt2_remove();
|
||||
extern void lpt2_remove_ams();
|
||||
extern void lpt3_init(uint16_t port);
|
||||
extern void lpt3_remove(void);
|
||||
extern void lpt3_remove();
|
||||
|
||||
void lpt1_device_init();
|
||||
void lpt1_device_close();
|
||||
|
||||
char *lpt_device_get_name(int id);
|
||||
char *lpt_device_get_internal_name(int id);
|
||||
|
||||
extern char lpt1_device_name[16];
|
||||
|
||||
typedef struct
|
||||
{
|
||||
char name[80];
|
||||
void *(*init)();
|
||||
void (*close)(void *p);
|
||||
void (*write_data)(uint8_t val, void *p);
|
||||
void (*write_ctrl)(uint8_t val, void *p);
|
||||
uint8_t (*read_status)(void *p);
|
||||
} lpt_device_t;
|
||||
|
||||
Reference in New Issue
Block a user