summaryrefslogtreecommitdiffstats
path: root/pc-bios/optionrom/kvmvapic.S
Commit message (Collapse)AuthorAgeFilesLines
* kvmvapic: Use optionrom helpersJan Kiszka2012-02-181-10/+8Star
| | | | | | | | Use OPTION_ROM_START/END from the common header file, add comment to init code. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Avi Kivity <avi@redhat.com>
* kvmvapic: Simplify mp/up_set_tprJan Kiszka2012-02-181-5/+1Star
| | | | | | | | The CH registers is only written, never read. So we can remove these operations and, in case of up_set_tpr, also the ECX push/pop. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Avi Kivity <avi@redhat.com>
* kvmvapic: Add option ROMJan Kiszka2012-02-181-0/+341
This imports and builds the original VAPIC option ROM of qemu-kvm. Its interaction with QEMU is described in the commit that introduces the corresponding device model. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Avi Kivity <avi@redhat.com>