WikiPendium

(beta)

bos_header_t

WikiPendium :: RecentChanges :: RecentlyCommented :: UserSettings :: You are ec2-52-205-167-104.compute-1.amazonaws.com

bos_header_t structure


typedef struct {
	void *next;			/* Pointer to next BOS driver, you leave it to NULL, filled by MetaDOS */
	unsigned long attrib;		/* Some attributes for the device, for your convenience */
	unsigned short phys_letter;	/* The D0 value you get from MetaDOS in the initialization function */
	unsigned short dma_channel;	/* The D1 value you get from MetaDOS in the initialization function */
	unsigned short sub_device;	/* One driver can manage several sub-devices, so this field is used
					   to know which subdevice MetaDOS want to talk with */
	bos_functions_t *functions;	/* Pointer to a list of 16 functions (which correspond to the 16 Xbios
					   MetaDOS functions traps */
	unsigned short status;		/* A status field, to report more errors */
	unsigned long reserved[2];
	char name[32];			/* Name of the device */
} bos_header_t;




See Also

CreatingBosDriver, bos_functions_t

Il n'y a pas de commentaire sur cette page. [Afficher commentaires/formulaire]