Changeset 38997 in vbox for trunk/src/VBox/Devices/PC/BIOS-new
- Timestamp:
- Oct 14, 2011 1:48:03 PM (13 years ago)
- Location:
- trunk/src/VBox/Devices/PC/BIOS-new
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/BIOS-new/ahci.c
r38899 r38997 45 45 46 46 #define AHCI_MAX_STORAGE_DEVICES 4 47 48 /* Because we don't tell the recompiler when guest's physical memory49 * is written, it can incorrectly cache guest code overwritten by50 * bus master DMA. We just re-write the memory block to flush any of51 * its caches. This is not exactly efficient, but works!52 */53 #define DMA_WORKAROUND 154 47 55 48 /* Number of S/G table entries in EDDS. */ -
trunk/src/VBox/Devices/PC/BIOS-new/biosint.h
r38833 r38997 228 228 #define BX_PANIC(...) bios_printf(BIOS_PRINTF_DEBHALT, __VA_ARGS__) 229 229 230 /* Because we don't tell the recompiler when guest physical memory 231 * is written, it can incorrectly cache guest code overwritten by 232 * DMA (bus master or not). We just re-write the memory block to flush 233 * any of its caches. This is not exactly efficient, but works! 234 */ 235 #define DMA_WORKAROUND 1 236 230 237 /* Random hardware-related definitions. */ 231 238 -
trunk/src/VBox/Devices/PC/BIOS-new/floppy.c
r38699 r38997 607 607 return; 608 608 } 609 609 610 #ifdef DMA_WORKAROUND 611 rep_movsw(ES :> BX, ES :> BX, num_sectors * 512 / 2); 612 #endif 610 613 // ??? should track be new val from return_status[3] ? 611 614 set_diskette_current_cyl(drive, track);
Note:
See TracChangeset
for help on using the changeset viewer.