smapi_bios_header
sizeof(struct smapi_bios_header));
smapi_header_cksum (struct smapi_bios_header *header)
sc->header = (struct smapi_bios_header *)rman_get_virtual(sc->res);
#define RES2HDR(res) ((struct smapi_bios_header *)rman_get_virtual(res))
#define ADDR2HDR(addr) ((struct smapi_bios_header *)BIOS_PADDRTOVADDR(addr))
struct smapi_bios_header *header;
static int smapi_header_cksum(struct smapi_bios_header *);
#define SMAPIOGHEADER _IOR('$', 0, struct smapi_bios_header)