Changeset 71426 in vbox for trunk/src/VBox/Devices/PC/BIOS
- Timestamp:
- Mar 21, 2018 11:49:59 AM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 121394
- Location:
- trunk/src/VBox/Devices/PC/BIOS
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/BIOS/ata.c
r71424 r71426 552 552 fdpt = ebda_seg :> &EbdaData->fdpt1; 553 553 554 #if 0 555 /* Place the FDPT outside of conventional memory. Needed for 556 * 286 XENIX 2.1.3/2.2.1 because it completely wipes out 557 * the EBDA and low memory. Hack! 558 */ 559 fdpt = MK_FP(0xE200, 0xf00); 560 fdpt += device; 561 #endif 562 554 563 /* Set the INT 41h or 46h pointer. */ 555 564 int_vec = MK_FP(0, (0x41 + device * 5) * sizeof(void __far *)); … … 560 569 * isn't worth the effort of converting from AMI to Award CMOS 561 570 * format. Just do it here. */ 571 fdpt->resvd1 = fdpt->resvd2 = 0; 572 562 573 fdpt->lcyl = lgeo.cylinders; 563 574 fdpt->lhead = lgeo.heads; -
trunk/src/VBox/Devices/PC/BIOS/ebda.h
r70333 r71426 148 148 uint8_t sig; 149 149 uint8_t spt; 150 uint 8_t resvd1[4];150 uint32_t resvd1; 151 151 uint16_t cyl; 152 152 uint8_t head; 153 uint 8_t resvd2[2];153 uint16_t resvd2; 154 154 uint8_t lspt; 155 155 uint8_t csum; -
trunk/src/VBox/Devices/PC/BIOS/makefile
r71424 r71426 19 19 CFLAGS = -q -0 -wx -zu -s -oas -d1+ -ms 20 20 CFLAGS32 = -q -wx -zu -s -oas -d1+ -ms -nt=BIOS32 -nd=BIOS32 21 # -oat seems to prevent ENTER/LEAVE generation 22 #CFLAGS32 = -q -wx -zu -s -oat -d1+ -ms -nt=BIOS32 -nd=BIOS32 21 23 22 24 DEFS = -DVBOX -DVBOX_LANBOOT_SEG=0xE200 -DVBOX_VERSION_STRING=$(Q)0.9$(Q) & … … 53 55 clname DATA segaddr=0xF000 segment _DATA & 54 56 clname CODE & 55 segment _TEXT segaddr=0xF000 offset=0x1 600 &57 segment _TEXT segaddr=0xF000 offset=0x1C00 & 56 58 segment BIOS32 segaddr=0xF000 offset=0xDB00 & 57 59 segment BIOSSEG segaddr=0xF000 offset=0xE000 &
Note:
See TracChangeset
for help on using the changeset viewer.