ba57bed537
Currently the MTRRs and MSR_IA32_FEATURE_CONTROL are not restored on S3
resume. Because these have to be applied to all processors, SMP setup
has to be added to S3 resume.
There are two differences between the boot and resume paths. First,
romfile_* is not usable in the resume paths so we separate out the
remaining common code to a new smp_scan function. Second, smp_msr has
to be walked on the BSP as well, so we extract that out of handle_smp
and into a new function smp_write_msrs. Then, resume can call
smp_write_msrs on the BSP followed by smp_scan to initialize the APs.
Reported-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
(cherry picked from commit
|
||
---|---|---|
docs | ||
scripts | ||
src | ||
vgasrc | ||
.gitignore | ||
COPYING | ||
COPYING.LESSER | ||
Makefile | ||
README |
README
Welcome to the SeaBIOS project! This project implements an X86 legacy bios that is built with standard GNU tools. Please see build and developer information at: http://seabios.org/Developer_Documentation For the impatient, SeaBIOS is built for QEMU and tested on QEMU with: make qemu -bios out/bios.bin SeaBIOS can be configured with kconfig. To change the default configuration one can run "make menuconfig" prior to running "make". For other types of builds, and for more detailed developer documentation, please see the online documentation listed above.