tpr optimization: clear the vapic area on boot
commit284e648036510a322d21be574302f7aec1c9a89b
authorAvi Kivity <avi@redhat.com>
Tue, 16 Nov 2010 10:48:02 +0000 (16 12:48 +0200)
committerAvi Kivity <avi@redhat.com>
Tue, 16 Nov 2010 10:52:17 +0000 (16 12:52 +0200)
tree85babf15d5c6e4bff6df79c2e64d774b1c9e5b72
parent420fe74769cc67baec6f3d962dc054e2972ca3ae
tpr optimization: clear the vapic area on boot

If the option rom is loaded with rep/insb (as newer seabios versions do), then
the writes to the vapic area may be corrupted by the kernel.

Fix by explicitly clearing the vapic area on option rom startup.

Signed-off-by: Avi Kivity <avi@redhat.com>
pc-bios/optionrom/vapic.S