VirtualBox

source: vbox/trunk/src/VBox/Devices/PC/BIOS/disk.c@ 69501

最後變更 在這個檔案從69501是 69501,由 vboxsync 提交於 7 年 前

PC/BIOS: Added LGPL disclaimer text where appropriate.

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 20.6 KB
 
1/* $Id: disk.c 69501 2017-10-28 16:12:47Z vboxsync $ */
2/** @file
3 * PC BIOS - ???
4 */
5
6/*
7 * Copyright (C) 2006-2017 Oracle Corporation
8 *
9 * This file is part of VirtualBox Open Source Edition (OSE), as
10 * available from http://www.alldomusa.eu.org. This file is free software;
11 * you can redistribute it and/or modify it under the terms of the GNU
12 * General Public License (GPL) as published by the Free Software
13 * Foundation, in version 2 as it comes in the "COPYING" file of the
14 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16 * --------------------------------------------------------------------
17 *
18 * This code is based on:
19 *
20 * ROM BIOS for use with Bochs/Plex86/QEMU emulation environment
21 *
22 * Copyright (C) 2002 MandrakeSoft S.A.
23 *
24 * MandrakeSoft S.A.
25 * 43, rue d'Aboukir
26 * 75002 Paris - France
27 * http://www.linux-mandrake.com/
28 * http://www.mandrakesoft.com/
29 *
30 * This library is free software; you can redistribute it and/or
31 * modify it under the terms of the GNU Lesser General Public
32 * License as published by the Free Software Foundation; either
33 * version 2 of the License, or (at your option) any later version.
34 *
35 * This library is distributed in the hope that it will be useful,
36 * but WITHOUT ANY WARRANTY; without even the implied warranty of
37 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
38 * Lesser General Public License for more details.
39 *
40 * You should have received a copy of the GNU Lesser General Public
41 * License along with this library; if not, write to the Free Software
42 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
43 *
44 */
45
46/*
47 * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
48 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
49 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
50 * a choice of LGPL license versions is made available with the language indicating
51 * that LGPLv2 or any later version may be used, or where a choice of which version
52 * of the LGPL is applied is otherwise unspecified.
53 */
54
55
56#include <stdint.h>
57#include "biosint.h"
58#include "inlines.h"
59#include "ebda.h"
60#include "ata.h"
61
62
63#if DEBUG_INT13_HD
64# define BX_DEBUG_INT13_HD(...) BX_DEBUG(__VA_ARGS__)
65#else
66# define BX_DEBUG_INT13_HD(...)
67#endif
68
69/* Generic disk read/write routine signature. */
70typedef __fastcall (* dsk_rw_func)(bio_dsk_t __far *bios_dsk);
71
72/* Controller specific disk access routines. Declared as a union to reduce
73 * the need for conditionals when choosing between read/write functions.
74 * Note that we get away with using near pointers, which is nice.
75 */
76typedef union {
77 struct {
78 dsk_rw_func read;
79 dsk_rw_func write;
80 } s;
81 dsk_rw_func a[2];
82} dsk_acc_t;
83
84/* Pointers to HW specific disk access routines. */
85dsk_acc_t dskacc[DSKTYP_CNT] = {
86 [DSK_TYPE_ATA] = { ata_read_sectors, ata_write_sectors },
87#ifdef VBOX_WITH_AHCI
88 [DSK_TYPE_AHCI] = { ahci_read_sectors, ahci_write_sectors },
89#endif
90#ifdef VBOX_WITH_SCSI
91 [DSK_TYPE_SCSI] = { scsi_read_sectors, scsi_write_sectors },
92#endif
93};
94
95
96/// @todo put in a header
97#define AX r.gr.u.r16.ax
98#define BX r.gr.u.r16.bx
99#define CX r.gr.u.r16.cx
100#define DX r.gr.u.r16.dx
101#define SI r.gr.u.r16.si
102#define DI r.gr.u.r16.di
103#define BP r.gr.u.r16.bp
104#define ELDX r.gr.u.r16.sp
105#define DS r.ds
106#define ES r.es
107#define FLAGS r.ra.flags.u.r16.flags
108
109
110/*
111 * Build translated CHS geometry given a disk size in sectors. Based on
112 * Phoenix EDD 3.0. This is used as a fallback to generate sane logical
113 * geometry in case none was provided in CMOS.
114 */
115void set_geom_lba(chs_t __far *lgeo, uint64_t nsectors64)
116{
117 uint32_t limit = 8257536; /* 1024 * 128 * 63 */
118 uint32_t nsectors;
119 unsigned heads = 255;
120 int i;
121
122 nsectors = (nsectors64 >> 32) ? 0xFFFFFFFFL : (uint32_t)nsectors64;
123 /* Start with ~4GB limit, go down to 504MB. */
124 for (i = 0; i < 4; ++i) {
125 if (nsectors <= limit)
126 heads = (heads + 1) / 2;
127 limit /= 2;
128 }
129
130 lgeo->cylinders = nsectors / (heads * 63UL);
131 if (lgeo->cylinders > 1024)
132 lgeo->cylinders = 1024;
133 lgeo->heads = heads;
134 lgeo->spt = 63; /* Always 63 sectors per track, the maximum. */
135}
136
137
138void BIOSCALL int13_harddisk(disk_regs_t r)
139{
140 uint32_t lba;
141 uint16_t cylinder, head, sector;
142 uint16_t nlc, nlh, nlspt;
143 uint16_t count;
144 uint8_t device, status;
145 bio_dsk_t __far *bios_dsk;
146
147 BX_DEBUG_INT13_HD("%s: AX=%04x BX=%04x CX=%04x DX=%04x ES=%04x\n", __func__, AX, BX, CX, DX, ES);
148
149 SET_IF(); /* INT 13h always returns with interrupts enabled. */
150
151 bios_dsk = read_word(0x0040,0x000E) :> &EbdaData->bdisk;
152 write_byte(0x0040, 0x008e, 0); // clear completion flag
153
154 // basic check : device has to be defined
155 if ( (GET_ELDL() < 0x80) || (GET_ELDL() >= 0x80 + BX_MAX_STORAGE_DEVICES) ) {
156 BX_DEBUG("%s: function %02x, ELDL out of range %02x\n", __func__, GET_AH(), GET_ELDL());
157 goto int13_fail;
158 }
159
160 // Get the ata channel
161 device = bios_dsk->hdidmap[GET_ELDL()-0x80];
162
163 // basic check : device has to be valid
164 if (device >= BX_MAX_STORAGE_DEVICES) {
165 BX_DEBUG("%s: function %02x, unmapped device for ELDL=%02x\n", __func__, GET_AH(), GET_ELDL());
166 goto int13_fail;
167 }
168
169 switch (GET_AH()) {
170
171 case 0x00: /* disk controller reset */
172#ifdef VBOX_WITH_SCSI
173 /* SCSI controller does not need a reset. */
174 if (!VBOX_IS_SCSI_DEVICE(device))
175#endif
176 ata_reset (device);
177 goto int13_success;
178 break;
179
180 case 0x01: /* read disk status */
181 status = read_byte(0x0040, 0x0074);
182 SET_AH(status);
183 SET_DISK_RET_STATUS(0);
184 /* set CF if error status read */
185 if (status) goto int13_fail_nostatus;
186 else goto int13_success_noah;
187 break;
188
189 case 0x02: // read disk sectors
190 case 0x03: // write disk sectors
191 case 0x04: // verify disk sectors
192
193 count = GET_AL();
194 cylinder = GET_CH();
195 cylinder |= ( ((uint16_t) GET_CL()) << 2) & 0x300;
196 sector = (GET_CL() & 0x3f);
197 head = GET_DH();
198
199 /* Segment and offset are in ES:BX. */
200 if ( (count > 128) || (count == 0) ) {
201 BX_INFO("%s: function %02x, count out of range!\n", __func__, GET_AH());
202 goto int13_fail;
203 }
204
205 /* Get the logical CHS geometry. */
206 nlc = bios_dsk->devices[device].lchs.cylinders;
207 nlh = bios_dsk->devices[device].lchs.heads;
208 nlspt = bios_dsk->devices[device].lchs.spt;
209
210 /* Sanity check the geometry. */
211 if( (cylinder >= nlc) || (head >= nlh) || (sector > nlspt )) {
212 BX_INFO("%s: function %02x, disk %02x, parameters out of range %04x/%04x/%04x!\n", __func__, GET_AH(), GET_DL(), cylinder, head, sector);
213 goto int13_fail;
214 }
215
216 // FIXME verify
217 if ( GET_AH() == 0x04 )
218 goto int13_success;
219
220 /* If required, translate LCHS to LBA and execute command. */
221 /// @todo The IS_SCSI_DEVICE check should be redundant...
222 if (( (bios_dsk->devices[device].pchs.heads != nlh) || (bios_dsk->devices[device].pchs.spt != nlspt)) || VBOX_IS_SCSI_DEVICE(device)) {
223 lba = ((((uint32_t)cylinder * (uint32_t)nlh) + (uint32_t)head) * (uint32_t)nlspt) + (uint32_t)sector - 1;
224 sector = 0; // this forces the command to be lba
225 }
226
227 BX_DEBUG_INT13_HD("%s: %d sectors from lba %lu @ %04x:%04x\n", __func__,
228 count, lba, ES, BX);
229
230 /* Clear the count of transferred sectors/bytes. */
231 bios_dsk->drqp.trsfsectors = 0;
232 bios_dsk->drqp.trsfbytes = 0;
233
234 /* Pass request information to low level disk code. */
235 bios_dsk->drqp.lba = lba;
236 bios_dsk->drqp.buffer = MK_FP(ES, BX);
237 bios_dsk->drqp.nsect = count;
238 bios_dsk->drqp.sect_sz = 512; /// @todo device specific?
239 bios_dsk->drqp.cylinder = cylinder;
240 bios_dsk->drqp.head = head;
241 bios_dsk->drqp.sector = sector;
242 bios_dsk->drqp.dev_id = device;
243
244 status = dskacc[bios_dsk->devices[device].type].a[GET_AH() - 0x02](bios_dsk);
245
246 // Set nb of sector transferred
247 SET_AL(bios_dsk->drqp.trsfsectors);
248
249 if (status != 0) {
250 BX_INFO("%s: function %02x, error %02x !\n", __func__, GET_AH(), status);
251 SET_AH(0x0c);
252 goto int13_fail_noah;
253 }
254
255 goto int13_success;
256 break;
257
258 case 0x05: /* format disk track */
259 BX_INFO("format disk track called\n");
260 goto int13_success;
261 break;
262
263 case 0x08: /* read disk drive parameters */
264
265 /* Get the logical geometry from internal table. */
266 nlc = bios_dsk->devices[device].lchs.cylinders;
267 nlh = bios_dsk->devices[device].lchs.heads;
268 nlspt = bios_dsk->devices[device].lchs.spt;
269
270 count = bios_dsk->hdcount;
271 /* Maximum cylinder number is just one less than the number of cylinders. */
272 nlc = nlc - 1; /* 0 based , last sector not used */
273 SET_AL(0);
274 SET_CH(nlc & 0xff);
275 SET_CL(((nlc >> 2) & 0xc0) | (nlspt & 0x3f));
276 SET_DH(nlh - 1);
277 SET_DL(count); /* FIXME returns 0, 1, or n hard drives */
278
279 // FIXME should set ES & DI
280 /// @todo Actually, the above comment is nonsense.
281
282 goto int13_success;
283 break;
284
285 case 0x10: /* check drive ready */
286 // should look at 40:8E also???
287
288 // Read the status from controller
289 status = inb(bios_dsk->channels[device/2].iobase1 + ATA_CB_STAT);
290 if ( (status & ( ATA_CB_STAT_BSY | ATA_CB_STAT_RDY )) == ATA_CB_STAT_RDY ) {
291 goto int13_success;
292 } else {
293 SET_AH(0xAA);
294 goto int13_fail_noah;
295 }
296 break;
297
298 case 0x15: /* read disk drive size */
299
300 /* Get the physical geometry from internal table. */
301 cylinder = bios_dsk->devices[device].pchs.cylinders;
302 head = bios_dsk->devices[device].pchs.heads;
303 sector = bios_dsk->devices[device].pchs.spt;
304
305 /* Calculate sector count seen by old style INT 13h. */
306 lba = (uint32_t)cylinder * head * sector;
307 CX = lba >> 16;
308 DX = lba & 0xffff;
309
310 SET_AH(3); // hard disk accessible
311 goto int13_success_noah;
312 break;
313
314 case 0x09: /* initialize drive parameters */
315 case 0x0c: /* seek to specified cylinder */
316 case 0x0d: /* alternate disk reset */
317 case 0x11: /* recalibrate */
318 case 0x14: /* controller internal diagnostic */
319 BX_INFO("%s: function %02xh unimplemented, returns success\n", __func__, GET_AH());
320 goto int13_success;
321 break;
322
323 case 0x0a: /* read disk sectors with ECC */
324 case 0x0b: /* write disk sectors with ECC */
325 case 0x18: // set media type for format
326 default:
327 BX_INFO("%s: function %02xh unsupported, returns fail\n", __func__, GET_AH());
328 goto int13_fail;
329 break;
330 }
331
332int13_fail:
333 SET_AH(0x01); // defaults to invalid function in AH or invalid parameter
334int13_fail_noah:
335 SET_DISK_RET_STATUS(GET_AH());
336int13_fail_nostatus:
337 SET_CF(); // error occurred
338 return;
339
340int13_success:
341 SET_AH(0x00); // no error
342int13_success_noah:
343 SET_DISK_RET_STATUS(0x00);
344 CLEAR_CF(); // no error
345 return;
346}
347
348void BIOSCALL int13_harddisk_ext(disk_regs_t r)
349{
350 uint64_t lba;
351 uint16_t ebda_seg = read_word(0x0040,0x000E);
352 uint16_t segment, offset;
353 uint16_t npc, nph, npspt;
354 uint16_t size, count;
355 uint8_t device, status;
356 uint8_t type;
357 bio_dsk_t __far *bios_dsk;
358 int13ext_t __far *i13_ext;
359 dpt_t __far *dpt;
360
361 bios_dsk = read_word(0x0040,0x000E) :> &EbdaData->bdisk;
362
363 BX_DEBUG_INT13_HD("%s: AX=%04x BX=%04x CX=%04x DX=%04x ES=%04x DS=%04x SI=%04x\n",
364 __func__, AX, BX, CX, DX, ES, DS, SI);
365
366 write_byte(0x0040, 0x008e, 0); // clear completion flag
367
368 // basic check : device has to be defined
369 if ( (GET_ELDL() < 0x80) || (GET_ELDL() >= 0x80 + BX_MAX_STORAGE_DEVICES) ) {
370 BX_DEBUG("%s: function %02x, ELDL out of range %02x\n", __func__, GET_AH(), GET_ELDL());
371 goto int13x_fail;
372 }
373
374 // Get the ata channel
375 device = bios_dsk->hdidmap[GET_ELDL()-0x80];
376
377 // basic check : device has to be valid
378 if (device >= BX_MAX_STORAGE_DEVICES) {
379 BX_DEBUG("%s: function %02x, unmapped device for ELDL=%02x\n", __func__, GET_AH(), GET_ELDL());
380 goto int13x_fail;
381 }
382
383 switch (GET_AH()) {
384 case 0x41: // IBM/MS installation check
385 BX=0xaa55; // install check
386 SET_AH(0x30); // EDD 3.0
387 CX=0x0007; // ext disk access and edd, removable supported
388 goto int13x_success_noah;
389 break;
390
391 case 0x42: // IBM/MS extended read
392 case 0x43: // IBM/MS extended write
393 case 0x44: // IBM/MS verify
394 case 0x47: // IBM/MS extended seek
395
396 /* Get a pointer to the extended structure. */
397 i13_ext = DS :> (int13ext_t *)SI;
398
399 count = i13_ext->count;
400 segment = i13_ext->segment;
401 offset = i13_ext->offset;
402
403 // Get 64 bits lba and check
404 lba = i13_ext->lba2;
405 lba <<= 32;
406 lba |= i13_ext->lba1;
407
408 BX_DEBUG_INT13_HD("%s: %d sectors from LBA 0x%llx @ %04x:%04x\n", __func__,
409 count, lba, segment, offset);
410
411 type = bios_dsk->devices[device].type;
412 if (lba >= bios_dsk->devices[device].sectors) {
413 BX_INFO("%s: function %02x. LBA out of range\n", __func__, GET_AH());
414 goto int13x_fail;
415 }
416
417 /* Don't bother with seek or verify. */
418 if (( GET_AH() == 0x44 ) || ( GET_AH() == 0x47 ))
419 goto int13x_success;
420
421 /* Clear the count of transferred sectors/bytes. */
422 bios_dsk->drqp.trsfsectors = 0;
423 bios_dsk->drqp.trsfbytes = 0;
424
425 /* Pass request information to low level disk code. */
426 bios_dsk->drqp.lba = lba;
427 bios_dsk->drqp.buffer = MK_FP(segment, offset);
428 bios_dsk->drqp.nsect = count;
429 bios_dsk->drqp.sect_sz = 512; /// @todo device specific?
430 bios_dsk->drqp.sector = 0; /* Indicate LBA. */
431 bios_dsk->drqp.dev_id = device;
432
433 /* Execute the read or write command. */
434 status = dskacc[type].a[GET_AH() - 0x42](bios_dsk);
435 count = bios_dsk->drqp.trsfsectors;
436 i13_ext->count = count;
437
438 if (status != 0) {
439 BX_INFO("%s: function %02x, error %02x !\n", __func__, GET_AH(), status);
440 SET_AH(0x0c);
441 goto int13x_fail_noah;
442 }
443
444 goto int13x_success;
445 break;
446
447 case 0x45: // IBM/MS lock/unlock drive
448 case 0x49: // IBM/MS extended media change
449 goto int13x_success; // Always success for HD
450 break;
451
452 case 0x46: // IBM/MS eject media
453 SET_AH(0xb2); // Volume Not Removable
454 goto int13x_fail_noah; // Always fail for HD
455 break;
456
457 case 0x48: // IBM/MS get drive parameters
458 dpt = DS :> (dpt_t *)SI;
459 size = dpt->size;
460
461 /* Check if buffer is large enough. */
462 if (size < 0x1a)
463 goto int13x_fail;
464
465 /* Fill in EDD 1.x table. */
466 if (size >= 0x1a) {
467 uint16_t blksize;
468
469 npc = bios_dsk->devices[device].pchs.cylinders;
470 nph = bios_dsk->devices[device].pchs.heads;
471 npspt = bios_dsk->devices[device].pchs.spt;
472 lba = bios_dsk->devices[device].sectors;
473 blksize = bios_dsk->devices[device].blksize;
474
475 dpt->size = 0x1a;
476 dpt->infos = 0x02; // geometry is valid
477 dpt->cylinders = npc;
478 dpt->heads = nph;
479 dpt->spt = npspt;
480 dpt->blksize = blksize;
481 dpt->sector_count1 = lba;
482 dpt->sector_count2 = lba >> 32;
483 }
484
485 /* Fill in EDD 2.x table. */
486 if (size >= 0x1e) {
487 uint8_t channel, irq, mode, checksum, i, translation;
488 uint16_t iobase1, iobase2, options;
489
490 dpt->size = 0x1e;
491 dpt->dpte_segment = ebda_seg;
492 dpt->dpte_offset = (uint16_t)&EbdaData->bdisk.dpte;
493
494 // Fill in dpte
495 channel = device / 2;
496 iobase1 = bios_dsk->channels[channel].iobase1;
497 iobase2 = bios_dsk->channels[channel].iobase2;
498 irq = bios_dsk->channels[channel].irq;
499 mode = bios_dsk->devices[device].mode;
500 translation = bios_dsk->devices[device].translation;
501
502 options = (translation == GEO_TRANSLATION_NONE ? 0 : 1 << 3); // chs translation
503 options |= (1 << 4); // lba translation
504#if VBOX_BIOS_CPU >= 80386
505 options |= (mode == ATA_MODE_PIO32 ? 1 : 0 << 7);
506#endif
507 options |= (translation == GEO_TRANSLATION_LBA ? 1 : 0 << 9);
508 options |= (translation == GEO_TRANSLATION_RECHS ? 3 : 0 << 9);
509
510 bios_dsk->dpte.iobase1 = iobase1;
511 bios_dsk->dpte.iobase2 = iobase2;
512 bios_dsk->dpte.prefix = (0xe | (device % 2)) << 4;
513 bios_dsk->dpte.unused = 0xcb;
514 bios_dsk->dpte.irq = irq;
515 bios_dsk->dpte.blkcount = 1;
516 bios_dsk->dpte.dma = 0;
517 bios_dsk->dpte.pio = 0;
518 bios_dsk->dpte.options = options;
519 bios_dsk->dpte.reserved = 0;
520 bios_dsk->dpte.revision = 0x11;
521
522 checksum = 0;
523 for (i = 0; i < 15; ++i)
524 checksum += read_byte(ebda_seg, (uint16_t)&EbdaData->bdisk.dpte + i);
525 checksum = -checksum;
526 bios_dsk->dpte.checksum = checksum;
527 }
528
529 /* Fill in EDD 3.x table. */
530 if(size >= 0x42) {
531 uint8_t channel, iface, checksum, i;
532 uint16_t iobase1;
533
534 channel = device / 2;
535 iface = bios_dsk->channels[channel].iface;
536 iobase1 = bios_dsk->channels[channel].iobase1;
537
538 dpt->size = 0x42;
539 dpt->key = 0xbedd;
540 dpt->dpi_length = 0x24;
541 dpt->reserved1 = 0;
542 dpt->reserved2 = 0;
543
544 if (iface == ATA_IFACE_ISA) {
545 dpt->host_bus[0] = 'I';
546 dpt->host_bus[1] = 'S';
547 dpt->host_bus[2] = 'A';
548 dpt->host_bus[3] = ' ';
549 }
550 else {
551 // FIXME PCI
552 }
553 dpt->iface_type[0] = 'A';
554 dpt->iface_type[1] = 'T';
555 dpt->iface_type[2] = 'A';
556 dpt->iface_type[3] = ' ';
557 dpt->iface_type[4] = ' ';
558 dpt->iface_type[5] = ' ';
559 dpt->iface_type[6] = ' ';
560 dpt->iface_type[7] = ' ';
561
562 if (iface == ATA_IFACE_ISA) {
563 ((uint16_t __far *)dpt->iface_path)[0] = iobase1;
564 ((uint16_t __far *)dpt->iface_path)[1] = 0;
565 ((uint32_t __far *)dpt->iface_path)[1] = 0;
566 }
567 else {
568 // FIXME PCI
569 }
570 ((uint16_t __far *)dpt->device_path)[0] = device & 1; // device % 2; @todo: correct?
571 ((uint16_t __far *)dpt->device_path)[1] = 0;
572 ((uint32_t __far *)dpt->device_path)[1] = 0;
573
574 checksum = 0;
575 for (i = 30; i < 64; i++)
576 checksum += read_byte(DS, SI + i);
577 checksum = -checksum;
578 dpt->checksum = checksum;
579 }
580
581 goto int13x_success;
582 break;
583
584 case 0x4e: // // IBM/MS set hardware configuration
585 // DMA, prefetch, PIO maximum not supported
586 switch (GET_AL()) {
587 case 0x01:
588 case 0x03:
589 case 0x04:
590 case 0x06:
591 goto int13x_success;
592 break;
593 default :
594 goto int13x_fail;
595 }
596 break;
597
598 case 0x50: // IBM/MS send packet command
599 default:
600 BX_INFO("%s: function %02xh unsupported, returns fail\n", __func__, GET_AH());
601 goto int13x_fail;
602 break;
603 }
604
605int13x_fail:
606 SET_AH(0x01); // defaults to invalid function in AH or invalid parameter
607int13x_fail_noah:
608 SET_DISK_RET_STATUS(GET_AH());
609 SET_CF(); // error occurred
610 return;
611
612int13x_success:
613 SET_AH(0x00); // no error
614int13x_success_noah:
615 SET_DISK_RET_STATUS(0x00);
616 CLEAR_CF(); // no error
617 return;
618}
619
620/* Avoid saving general registers already saved by caller (PUSHA). */
621#pragma aux int13_harddisk modify [di si cx dx bx];
622#pragma aux int13_harddisk_ext modify [di si cx dx bx];
623
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette