From: Avi Kivity <[email protected]> Align the bios descriptor to 16 bytes (cosmetic) and the vptr to 128 bytes (worst case cache line).
Signed-off-by: Avi Kivity <[email protected]> diff --git a/pc-bios/optionrom/vapic.S b/pc-bios/optionrom/vapic.S index 1924eeb..afe98a9 100644 --- a/pc-bios/optionrom/vapic.S +++ b/pc-bios/optionrom/vapic.S @@ -26,6 +26,8 @@ vapic_size = 2*4096 fixup_start = . .text 0 +.align 16 + vapic_base: .ascii "kvm aPiC" @@ -296,7 +298,6 @@ up_set_tpr_poll_irq: fixup_end = . .text 0 -.align 128 /* * vapic format: * per-vcpu records of size 2^vcpu shift. @@ -306,6 +307,9 @@ up_set_tpr_poll_irq: * byte 3: highest pending interrupt (irr) (r/o) */ .text 2 + +.align 128 + vapic: . = . + vapic_size _end: -- To unsubscribe from this list: send the line "unsubscribe kvm-commits" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
