Changeset 2651 in vbox for trunk/src/VBox/Devices/PC/BIOS
- Timestamp:
- May 15, 2007 8:21:06 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 21185
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/BIOS/rombios.c
r2557 r2651 768 768 769 769 } ebda_data_t; 770 771 #ifdef VBOX 772 // the last 16 bytes of the EBDA segment are used for the MPS floating 773 // pointer structure (only if an IOAPIC is present) 774 #endif 770 775 771 776 #define EbdaData ((ebda_data_t *) 0) … … 10383 10388 rep 10384 10389 stosw 10385 ;; zero out remaining base memory 10390 ;; zero out remaining base memory except the last 16 bytes of the EBDA 10391 ;; because we store the MP table there 10386 10392 xor eax, eax 10387 10393 xor bx, bx 10388 10394 memory_zero_loop: 10389 10395 add bx, #0x1000 10390 cmp bx, #0x a00010396 cmp bx, #0x9000 10391 10397 jae memory_cleared 10392 10398 mov es, bx … … 10397 10403 jmp memory_zero_loop 10398 10404 memory_cleared: 10405 mov es, bx 10406 xor di, di 10407 mov cx, #0x3f00 10408 rep 10409 stosd 10399 10410 xor bx, bx 10400 10411 #endif
Note:
See TracChangeset
for help on using the changeset viewer.