tos_bpb
status_t ReadBPB(struct tos_bpb *bpb);
status_t ReadBPB(struct tos_bpb *bpb);
read_bpb(uint8 drive, struct tos_bpb *bpb)
struct tos_bpb *p;
memcpy(bpb, p, sizeof(struct tos_bpb));
static const uint16 kParametersSizeVersion1 = sizeof(struct tos_bpb);
struct tos_bpb bpb;
#define Getbpb(dev) (struct tos_bpb *)toscallW(BIOS_TRAP, 7, (uint16)dev)
#define XHInqDev(dev,major,minor,startsect,bpb) xhdicallWPPPP(7,dev,(uint16 *)major,(uint16 *)minor,(uint32 *)startsect,(struct tos_bpb *)bpb)