VirtualBox

Changeset 2651 in vbox for trunk/src/VBox/Devices/PC/BIOS


Ignore:
Timestamp:
May 15, 2007 8:21:06 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
21185
Message:

provide MPS table if IOAPIC is present, use the last 16 bytes of the EBDA for MPS floating pointer structure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/BIOS/rombios.c

    r2557 r2651  
    768768
    769769    } 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
    770775
    771776  #define EbdaData ((ebda_data_t *) 0)
     
    1038310388  rep
    1038410389    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
    1038610392  xor eax, eax
    1038710393  xor bx, bx
    1038810394memory_zero_loop:
    1038910395  add bx, #0x1000
    10390   cmp bx, #0xa000
     10396  cmp bx, #0x9000
    1039110397  jae memory_cleared
    1039210398  mov es, bx
     
    1039710403  jmp memory_zero_loop
    1039810404memory_cleared:
     10405  mov es, bx
     10406  xor di, di
     10407  mov cx, #0x3f00
     10408  rep
     10409    stosd
    1039910410  xor bx, bx
    1040010411#endif
Note: See TracChangeset for help on using the changeset viewer.

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