[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/2 v2] target-i386: refactor reset handling and mov
From: |
Igor Mammedov |
Subject: |
[Qemu-devel] [PATCH 0/2 v2] target-i386: refactor reset handling and move it into cpu.c |
Date: |
Tue, 10 Jul 2012 15:15:50 +0200 |
v2:
ommited moving of x86_cpu_realize() from cpu_x86_init() to pc_new_cpu(),
to keep cpu_init implementation in -softmmu and -user targets the same
in single place and maintanable.
tree for testing:
https://github.com/imammedo/qemu/tree/x86_reset
comiple & run tested with x86_64-linux-user, x86_64-softmmu targets
Igor Mammedov (2):
target-i386: move cpu halted decision into x86_cpu_reset
target-i386: move cpu_reset and reset callback to cpu.c
hw/apic.h | 2 +-
hw/apic_common.c | 20 ++++++++++++++------
hw/pc.c | 18 +-----------------
target-i386/cpu.c | 25 +++++++++++++++++++++++++
target-i386/helper.c | 1 -
target-i386/kvm.c | 5 +++--
6 files changed, 44 insertions(+), 27 deletions(-)
- [Qemu-devel] [PATCH 0/2 v2] target-i386: refactor reset handling and move it into cpu.c,
Igor Mammedov <=
- [Qemu-devel] [PATCH 1/2] target-i386: move cpu halted decision into x86_cpu_reset, Igor Mammedov, 2012/07/10
- Re: [Qemu-devel] [PATCH 1/2] target-i386: move cpu halted decision into x86_cpu_reset, Gleb Natapov, 2012/07/12
- Re: [Qemu-devel] [PATCH 1/2] target-i386: move cpu halted decision into x86_cpu_reset, Igor Mammedov, 2012/07/12
- [Qemu-devel] [PATCH v2] MP initialization protocol differs between cpu families, and for P6 and onward models it is up to CPU to decide if it will be BSP using this protocol, so try to model this. However there is no point in implementing MP initialization protocol in qemu. Thus first CPU is always marked as BSP., Igor Mammedov, 2012/07/12
- Re: [Qemu-devel] [PATCH v2] MP initialization protocol differs between cpu families, and for P6 and onward models it is up to CPU to decide if it will be BSP using this protocol, so try to model this. However there is no point in implementing MP initialization protocol in qemu. Thus first CPU is always marked as BSP., Igor Mammedov, 2012/07/23
- Re: [Qemu-devel] [PATCH v2] MP initialization protocol differs between cpu families, and for P6 and onward models it is up to CPU to decide if it will be BSP using this protocol, so try to model this. However there is no point in implementing MP initialization protocol in qemu. Thus first CPU is always marked as BSP., Gleb Natapov, 2012/07/23
- Re: [Qemu-devel] [PATCH v2] MP initialization protocol differs between cpu families, and for P6 and onward models it is up to CPU to decide if it will be BSP using this protocol, so try to model this. However there is no point in implementing MP initialization protocol in qemu. Thus first CPU is always marked as BSP., Andreas Färber, 2012/07/23
[Qemu-devel] [PATCH 2/2] target-i386: move cpu_reset and reset callback to cpu.c, Igor Mammedov, 2012/07/10