Below is the file 'src/lsi/vm.h' from this revision. You can also download the file.

/* vm.h */

void vm_init(void);
void vm_load(char *);
int vm_spawn(char *);
int vm_spawn_args(char *, int, ...);
void vm_run(void);
void vm_register_signal_fd(int /* fd */, int /* queue */);
void vm_unregister_signal_fd(int /* fd */);
void vm_wakeup(int queue);

#define VM_MAXQUEUES    512
#define VM_RUNQ         0
#define VM_TIMEQ        1

#define VM_MOUSEQ	6
#define VM_BEATQ	7
#define VM_MIDIQ	8
#define VM_CMDLISTENQ	9
#define VM_CMDREADQ	10
#define VM_CMDWRITEQ	20

#define VM_USERQMIN     20
#define VM_NOQUEUE      (-1)