aboutsummaryrefslogtreecommitdiff
path: root/src/mouse.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2016-07-07 16:00:40 +0200
committerGerd Hoffmann <kraxel@redhat.com>2016-07-13 09:49:00 +0200
commitba57bed537f1b86aee109daae2de30ded4f1d055 (patch)
treed17a03a7c3405ddd4f97c45d6d0d867ae7c1f35c /src/mouse.c
parente2fc41e24ee0ada60fc511d60b15a41b294538be (diff)
downloadseabios-1.9-stable.zip
seabios-1.9-stable.tar.gz
seabios-1.9-stable.tar.bz2
smp: restore MSRs on S3 resume1.9-stable
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 54e3a88609da074aaae2f04e592026ebf82169dc)
Diffstat (limited to 'src/mouse.c')
0 files changed, 0 insertions, 0 deletions