Lines Matching refs:dpt
342 dpt_t __far *dpt;
446 dpt = DS :> (dpt_t *)SI;
447 size = dpt->size;
463 dpt->size = 0x1a;
464 dpt->infos = 0x02; // geometry is valid
465 dpt->cylinders = npc;
466 dpt->heads = nph;
467 dpt->spt = npspt;
468 dpt->blksize = blksize;
469 dpt->sector_count1 = lba; // FIXME should be Bit64
470 dpt->sector_count2 = 0;
478 dpt->size = 0x1e;
479 dpt->dpte_segment = ebda_seg;
480 dpt->dpte_offset = (uint16_t)&EbdaData->bdisk.dpte;
524 dpt->size = 0x42;
525 dpt->key = 0xbedd;
526 dpt->dpi_length = 0x24;
527 dpt->reserved1 = 0;
528 dpt->reserved2 = 0;
531 dpt->host_bus[0] = 'I';
532 dpt->host_bus[1] = 'S';
533 dpt->host_bus[2] = 'A';
534 dpt->host_bus[3] = ' ';
539 dpt->iface_type[0] = 'A';
540 dpt->iface_type[1] = 'T';
541 dpt->iface_type[2] = 'A';
542 dpt->iface_type[3] = ' ';
543 dpt->iface_type[4] = ' ';
544 dpt->iface_type[5] = ' ';
545 dpt->iface_type[6] = ' ';
546 dpt->iface_type[7] = ' ';
549 ((uint16_t __far *)dpt->iface_path)[0] = iobase1;
550 ((uint16_t __far *)dpt->iface_path)[1] = 0;
551 ((uint32_t __far *)dpt->iface_path)[1] = 0;
556 ((uint16_t __far *)dpt->device_path)[0] = device & 1; // device % 2; @todo: correct?
557 ((uint16_t __far *)dpt->device_path)[1] = 0;
558 ((uint32_t __far *)dpt->device_path)[1] = 0;
564 dpt->checksum = checksum;