diff options
author | kaf24@localhost.localdomain <kaf24@localhost.localdomain> | 2006-11-05 20:17:40 +0000 |
---|---|---|
committer | kaf24@localhost.localdomain <kaf24@localhost.localdomain> | 2006-11-05 20:17:40 +0000 |
commit | 6bc01e4efd50e1986a9391f75980d45691f42b74 (patch) | |
tree | f7199b965f56400c4eb493d5944bf8a147ce4d9f /xen/arch/x86/hvm/pmtimer.c | |
parent | 5aa732c2041ec9d06b7de4a167ad6925cc1a2a97 (diff) | |
download | xen-6bc01e4efd50e1986a9391f75980d45691f42b74.tar.gz xen-6bc01e4efd50e1986a9391f75980d45691f42b74.tar.bz2 xen-6bc01e4efd50e1986a9391f75980d45691f42b74.zip |
[XEN] Replace hvm_setup_platform() with hvm_domain_initialise()
and extra code in hvm_vcpu_initialise(). Remove 'apic' config
option -- HVM CPUs will always have an APIC (which should be
set up in virtual wire mode for backward compatibility, just as
in a real system).
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/arch/x86/hvm/pmtimer.c')
-rw-r--r-- | xen/arch/x86/hvm/pmtimer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/hvm/pmtimer.c b/xen/arch/x86/hvm/pmtimer.c index f857de8f87..b435fbdf9f 100644 --- a/xen/arch/x86/hvm/pmtimer.c +++ b/xen/arch/x86/hvm/pmtimer.c @@ -52,7 +52,7 @@ void pmtimer_init(struct vcpu *v, int base) /* ACPI supports a 32-bit power management timer */ set_timer(&s->timer, NOW() + (1000000000ULL << 31) / FREQUENCE_PMTIMER); - register_portio_handler(base, 4, handle_pmt_io); + register_portio_handler(v->domain, base, 4, handle_pmt_io); } void pmtimer_deinit(struct domain *d) |