Searched refs:dapa (Results 1 – 5 of 5) sorted by relevance
79 struct ebios_dapa *dapa; in read_sectors() local91 dapa = lmalloc(sizeof(*dapa)); in read_sectors()92 if (!dapa) in read_sectors()98 dapa->len = sizeof(*dapa); in read_sectors()99 dapa->count = sectors; in read_sectors()100 dapa->off = OFFS(buf); in read_sectors()101 dapa->seg = SEG(buf); in read_sectors()102 dapa->lba = lba; in read_sectors()104 inreg.esi.w[0] = OFFS(dapa); in read_sectors()105 inreg.ds = SEG(dapa); in read_sectors()[all …]
39 struct ebios_dapa *dapa; in write_sectors() local47 dapa = lmalloc(sizeof(*dapa)); in write_sectors()48 if (!dapa) in write_sectors()55 dapa->len = sizeof(*dapa); in write_sectors()56 dapa->count = size; in write_sectors()57 dapa->off = OFFS(buf); in write_sectors()58 dapa->seg = SEG(buf); in write_sectors()59 dapa->lba = lba; in write_sectors()61 inreg.esi.w[0] = OFFS(dapa); in write_sectors()62 inreg.ds = SEG(dapa); in write_sectors()[all …]
174 static struct disk_ebios_dapa *dapa = NULL; in ebios_setup() local177 if (!dapa) { in ebios_setup()178 dapa = lmalloc(sizeof *dapa); in ebios_setup()179 if (!dapa) in ebios_setup()187 dapa->len = sizeof(*dapa); in ebios_setup()188 dapa->count = count; in ebios_setup()189 dapa->off = OFFS(buf); in ebios_setup()190 dapa->seg = SEG(buf); in ebios_setup()191 dapa->lba = lba; in ebios_setup()194 inreg->esi.w[0] = OFFS(dapa); in ebios_setup()[all …]
131 mov si,dapa202 dapa: label
126 dapa: resw 1 ; Packet size label292 mov byte [dapa],16