Hi,
This is version 4 of a series of patches that I originally posted in:
http://lists.gnu.org/archive/html/qemu-devel/2011-03/msg01989.html
http://lists.gnu.org/archive/html/qemu-devel/2011-03/msg01992.html
http://lists.gnu.org/archive/html/qemu-devel/2011-03/msg01991.html
http:/
'target_get_irq_delivered' and 'target_reset_irq_delivered' point
to functions that are called by update_irq() to detect coalesced
interrupts. Initially they point to stub functions which pretend
successful interrupt injection. apic code calls two registration
functions to replace the stubs with ap
The new fields in HPETTimer are covered by a separate VMStateDescription
which is a subsection of 'vmstate_hpet_timer'. They are only migrated if
-global hpet.driftfix=on
Signed-off-by: Ulrich Obergfell
---
hw/hpet.c | 33 +
1 files changed, 33 insertions(+
driftfix is a 'bit type' property. Compensation of delayed callbacks
and coalesced interrupts can be enabled with the command line option
-global hpet.driftfix=on
driftfix is 'off' (disabled) by default.
Signed-off-by: Ulrich Obergfell
---
hw/hpet.c |3 +++
1 files changed, 3 insertion
Loss of periodic timer interrupts caused by delayed callbacks and by
interrupt coalescing is compensated by gradually injecting additional
interrupts during subsequent timer intervals, starting at a rate of
one additional interrupt per interval. The injection of additional
interrupts is based on a
update_irq() uses a similar method as in 'rtc_td_hack' to detect
coalesced interrupts. The function entry addresses are retrieved
from 'target_get_irq_delivered' and 'target_reset_irq_delivered'.
This change can be replaced if a generic feedback infrastructure to
track coalesced IRQs for periodic,
Hi,
Looking closer at file hw/usb-musb.c, I'd even recommend removing
all 'inline' attributes there:
I'll do that.
/me wonders why the local test build worked just fine. Seems recent gcc
versions became pickier (running gcc 4.4).
cheers,
Gerd
On 05/07/11 22:10, Stefan Weil wrote:
cppcheck report:
usb-linux.c:661: warning: Redundant assignment of "len" in switch
Picked into usb patch queue.
thanks,
Gerd
On 05/06/11 10:07, Jan Vesely wrote:
hi,
using the modified (single line) patch only works half-way, it sets
the value in status register (guess that's what that line does :))
but hw interrupt is not generated.
I tried adding uhci_update_irq and this patch:
+s->status |= UHCI_STS_USBE
On 8 May 2011 16:39, Andreas Färber wrote:
> Have you checked if some QEMU fork already emulates the Leopardboard 365?
> At least the BeagleBoard is available somewhere, not sure about the other
> animals.
Beagle is a different SoC (OMAP3). I have a patchstack with omap3
support in qemu-linaro t
Am 08.05.2011 09:01, schrieb Stefan Weil:
> cppcheck report:
> hw/xen_disk.c:309: style:
> Variable 'len' is assigned a value that is never used
>
> Cc: Kevin Wolf
> Signed-off-by: Stefan Weil
Thanks, applied to the block branch.
Kevin
On Mon, May 9, 2011 at 7:53 AM, Paolo Bonzini wrote:
> On 05/08/2011 01:15 PM, Stefan Hajnoczi wrote:
>>
>> I think the real problem is that dependencies need to be regenerated
>> after ./configure?
>
> There are three ways to do that, the trivial but wrong one, and the correct
> but overzealous o
On 05/09/2011 10:34 AM, Stefan Hajnoczi wrote:
BTW the Makefiles don't
seem to have a step before compilation to generate all the
dependencies, instead dependencies only kick in after the first build
has completed?
Yes, the first build doesn't need dependencies on headers. Rules for
.c->.o an
On 05/06/2011 12:30 PM, Onkar Mahajan wrote:
Is it possible to migrate KVM guest to different paths like this:
path of the image of guest01 on host A
/home/joe/guest01.img
path of the image of guest01 on host B
/home/bill/image/temp/guest01.img
is this possible ?
if it is any pointers as to
On 09.05.2011, at 09:43, Gerd Hoffmann wrote:
> Hi,
>
>> Looking closer at file hw/usb-musb.c, I'd even recommend removing
>> all 'inline' attributes there:
>
> I'll do that.
>
> /me wonders why the local test build worked just fine. Seems recent gcc
> versions became pickier (running gcc 4
On Mon, May 9, 2011 at 9:42 AM, Paolo Bonzini wrote:
> On 05/09/2011 10:34 AM, Stefan Hajnoczi wrote:
>> Is there some smart change detection you are thinking about or just
>> something like keeping the old copy of config-host.h and friends to
>> see if they have changed?
>
> Just that, perhaps fo
Hello,
I'd like to ask if it is possible to run virtualized winCE on embedded linux
(ARM) by using QEMU? I am looking for a solution that allows me to run
Microsoft apps in embedded linux environment.
If there are other alternatives than Qemu, please share your knowledge with me
:)
Thank you
These printfs aren't really debug messages, but clearly indicate a bug if they
ever become effective. Noone uses DEBUG_IDE, let's re-enable the check
unconditionally and make it an assertion instead of printfs in the device
emulation.
Signed-off-by: Kevin Wolf
---
hw/ide/pci.c |8 ++--
1
No users of bdrv_get_type_hint() left. bdrv_set_type_hint() can make
the media removable by side effect. Make that explicit.
Signed-off-by: Markus Armbruster
---
block.c | 12
block.h |5 -
block_int.h |1 -
blockdev.c |4 ++--
4 files changed, 2 inserti
Its value is unreliable: a block device used as floppy has type
"floppy" if created with if=floppy, but type "hd" if created with
if=none.
That's because with if=none, the type is at best a declaration of
intent: the drive can be connected to any guest device. Its type is
really the guest device'
DriveInfo is closely tied to -drive, and like -drive, it mixes
information about host and guest part of the block device. Unlike
DriveInfo, BlockDriverState should be about the host part only.
One of the remaining guest bits there is the "type hint". -drive
option media sets it, and qdevs "ide-d
A "scsi-disk" is either a hard disk or a CD-ROM, depending on the
associated BlockDriverState's type hint. Unclean; disk vs. CD belongs
to the guest part, not the host part.
Have separate qdevs "scsi-hd" and "scsi-cd" to model disk vs. CD in
the guest part.
Keep scsi-disk for backward compatibil
This patch series is about purging the "type hint" from the block
layer. My previous series cleaned up improper uses it. Remaining
uses are info block and qdevs ide-drive, scsi-disk.
ide-drive and scsi-disk can either act as disk or as CD drive. They
use their drive's type hint to decide betwee
An "ide-drive" is either a hard disk or a CD-ROM, depending on the
associated BlockDriverState's type hint. Unclean; disk vs. CD belongs
to the guest part, not the host part.
Have separate qdevs "ide-hd" and "ide-cd" to model disk vs. CD in
the guest part.
Keep ide-drive for backward compatibili
UHCI host controller status register indicates error and
an interrupt is triggered on BABBLE and STALL errors.
Signed-off-by: Jan Vesely
---
hw/usb-uhci.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/hw/usb-uhci.c b/hw/usb-uhci.c
index a65e0b3..1e9c1e7 100644
--- a
On 05/09/11 12:16, Jan Vesely wrote:
UHCI host controller status register indicates error and
an interrupt is triggered on BABBLE and STALL errors.
Queued up.
thanks,
Gerd
Please send in any agenda items you are interested in covering.
>From last week, we have already:
- import kvm headers into qemu, drop #ifdef maze (Jan)
Thanks, Juan.
Hi,
+#define DEFINE_IDE_DEV_PROPERTIES() \
+DEFINE_PROP_UINT32("unit", IDEDrive, dev.unit, -1), \
+DEFINE_BLOCK_PROPERTIES(IDEDrive, dev.conf),\
+DEFINE_PROP_STRING("ver", IDEDrive, dev.version), \
+DEFINE_PROP_STRING("serial", IDEDrive, dev.seria
On 05/09/11 11:51, Markus Armbruster wrote:
This patch series is about purging the "type hint" from the block
layer. My previous series cleaned up improper uses it. Remaining
uses are info block and qdevs ide-drive, scsi-disk.
Nice cleanup, looks good to me.
Acked-by: Gerd Hoffmann
cheers,
Prototype without "inline" keyword breaks the build with some gcc
versions. Noticed by Alexander Graf.
Fix this by removing the inline keywork everywhere. Some functions
can't be inlined anyway as the are referenced using function pointers.
Beside that gcc does a pretty good job on auto-inlining
Hi,
Two build issues slipped through with the last usb patch queue pull.
Looks like I should do test builds with a more recent gcc ...
Here are the fixes.
pleae pull,
Gerd
The following changes since commit 85097db6956bc86e2377b63a8309cb8b24d54139:
irq: Privatize CPU_INTERRUPT_NMI. (2011
From: Stefan Weil
cppcheck report:
usb-linux.c:661: warning: Redundant assignment of "len" in switch
Please check whether adding a break statement
is the correct solution for this warning.
Cc: Hans de Goede
Cc: Gerd Hoffmann
Signed-off-by: Stefan Weil
Signed-off-by: Gerd Hoffmann
---
usb-l
On Mon, May 9, 2011 at 10:52 AM, Kevin Wolf wrote:
> These printfs aren't really debug messages, but clearly indicate a bug if they
> ever become effective. Noone uses DEBUG_IDE, let's re-enable the check
> unconditionally and make it an assertion instead of printfs in the device
> emulation.
>
>
On 9 May 2011 14:11, Gerd Hoffmann wrote:
> Here are the fixes.
>
> pleae pull,
> Stefan Weil (1):
> usb-linux: Add missing break statement
The commit comment for this change looks like it still
includes the remark:
# Please check whether adding a break statement is the correct
# solution
On 05/06/11 17:10, Markus Armbruster wrote:
> Jes Sorensen writes:
>> What you add is a delta, which is relative to the max. We can change the
>> argument name of the function to be delta instead if that makes it
>> easier to follow.
>
> Here's my try:
>
> /*
> * Report progress.
> * @percent
Jes Sorensen writes:
> On 05/06/11 17:10, Markus Armbruster wrote:
>> Jes Sorensen writes:
>>> What you add is a delta, which is relative to the max. We can change the
>>> argument name of the function to be delta instead if that makes it
>>> easier to follow.
>>
>> Here's my try:
>>
>> /*
>>
On Fri, 6 May 2011 18:36:31 +0300
Blue Swirl wrote:
> On Fri, May 6, 2011 at 12:08 PM, Markus Armbruster wrote:
> > Blue Swirl writes:
> >
> >> On Mon, May 2, 2011 at 6:57 PM, Luiz Capitulino
> >> wrote:
> >>> On Sat, 30 Apr 2011 09:33:15 +0300
> >>> Blue Swirl wrote:
> >>>
> On Sat, Ap
No patch here (sorry) but collection of thoughts about these features
and their potential building blocks. Please review (also on
http://wiki.qemu.org/Features/LiveBlockMigration)
Future qemu is expected to support these features (some already
implemented):
* Live block copy
Ability to
> The e500 PCI controller isn't qdev'ified yet. This leads to severe issues
> when running with -drive.
>
> To be able to use a virtio disk with an e500 VM, let's convert the PCI
> controller over to qdev.
>
> Signed-off-by: Alexander Graf
Reviewed-by: Paul Brook
On Sun, May 8, 2011 at 10:29 PM, Stefan Hajnoczi
wrote:
> The virtio_queue_notify() function checks that the virtqueue number is
> less than the maximum number of virtqueues. A signed comparison is used
> but the virtqueue number could be negative if a buggy or malicious guest
> is run. This res
On 05/05/2011 12:58 PM, anthony.per...@citrix.com wrote:
From: Anthony PERARD
Hi all,
Here is an update on the series that add the support of a Xen HVM guest to
QEMU.
It doesn't introduce regressions and I really don't want to keep this
patch set hanging more than it should be. If we encount
On 05/08/2011 12:10 PM, Andreas Färber wrote:
Alex,
Am 08.05.2011 um 11:15 schrieb Andreas Färber:
Am 05.05.2011 um 15:15 schrieb Alexander Graf:
On 05.05.2011, at 14:56, Paolo Bonzini wrote:
On 05/05/2011 11:36 AM, Alexander Graf wrote:
When running qemu-system on Darwin, the vcpu process
On 05/08/2011 08:25 PM, Rob Landley wrote:
On 05/08/2011 09:10 AM, Andreas Färber wrote:
Am 06.05.2011 um 14:48 schrieb Alexander Graf:
On 06.05.2011, at 01:50, Rob Landley wrote:
On 05/05/2011 06:26 PM, Alexander Graf wrote:
As an aside: I think QEMU should have an option which is "just lo
On 05/08/2011 09:10 PM, Jan Kiszka wrote:
Hi Alex,
I've seen crashes caused by ahci_check_cmd_bh unregistering a NULL bh.
It looks like ahci_dma_set_inactive can a called while there is already
a bh hanging around. Patch below cures the issue, but I have no clue if
such an invocation order is va
Quoting Stefan Berger (stef...@linux.vnet.ibm.com):
> The following series of patches adds a TPM (Trusted Platform Module)
> TIS (TPM Interface Spec) interface to Qemu and with that provides
> means to access a backend implementing the actual TPM functionality.
> This frontend enables for example L
Am 09.05.2011 16:12, schrieb Alexander Graf:
> On 05/08/2011 09:10 PM, Jan Kiszka wrote:
>> Hi Alex,
>>
>> I've seen crashes caused by ahci_check_cmd_bh unregistering a NULL bh.
>> It looks like ahci_dma_set_inactive can a called while there is already
>> a bh hanging around. Patch below cures the
On 05/09/11 14:50, Peter Maydell wrote:
On 9 May 2011 14:11, Gerd Hoffmann wrote:
Here are the fixes.
pleae pull,
Stefan Weil (1):
usb-linux: Add missing break statement
The commit comment for this change looks like it still
includes the remark:
# Please check whether adding a brea
On 05/09/2011 08:58 AM, Alexander Graf wrote:
On 05/05/2011 12:58 PM, anthony.per...@citrix.com wrote:
From: Anthony PERARD
Hi all,
Here is an update on the series that add the support of a Xen HVM
guest to
QEMU.
It doesn't introduce regressions and I really don't want to keep this
patch set
On 05/09/2011 04:26 PM, Kevin Wolf wrote:
Am 09.05.2011 16:12, schrieb Alexander Graf:
On 05/08/2011 09:10 PM, Jan Kiszka wrote:
Hi Alex,
I've seen crashes caused by ahci_check_cmd_bh unregistering a NULL bh.
It looks like ahci_dma_set_inactive can a called while there is already
a bh hanging
On 2011-05-09 16:31, Alexander Graf wrote:
> On 05/09/2011 04:26 PM, Kevin Wolf wrote:
>> Am 09.05.2011 16:12, schrieb Alexander Graf:
>>> On 05/08/2011 09:10 PM, Jan Kiszka wrote:
Hi Alex,
I've seen crashes caused by ahci_check_cmd_bh unregistering a NULL bh.
It looks like ahci
On 05/09/2011 08:40 AM, Dor Laor wrote:
No patch here (sorry) but collection of thoughts about these features
and their potential building blocks. Please review (also on
http://wiki.qemu.org/Features/LiveBlockMigration)
Future qemu is expected to support these features (some already
implemented)
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
qemu-common.h |2 +-
qemu-progress.c | 24 +---
2 files changed, 22 insertions(+), 4 deletions(-)
diff --git a/qemu-common.h b/qemu-common.h
index f9f705d..78b7a4a 100644
--- a/qemu-common.h
+++ b/qemu-common.h
@@ -
Block drivers may use timers for flushing metadata to disk or
reconnecting to a network drive. Stub out the following functions in
qemu-tool.c:
QEMUTimer *qemu_new_timer_ns(QEMUClock *clock, int scale,
QEMUTimerCB *cb, void *opaque)
void qemu_free_timer(QEMUTimer *ts)
This patch marks QED images as clean periodically when it is safe to do so.
This reduces the chance of having to perform a consistency check at startup.
Previously we left the image dirty even when it was consistent, therefore
risking an unnecessary consistency check after crash.
The first patch s
One strategy to limit the startup delay of consistency check when
opening image files is to ensure that the file is marked dirty for as
little time as possible.
QED currently marks the image dirty when the first allocating write
request is issued and clears the dirty bit again when the image is
cl
If ahci_dma_set_inactive is called a while there is still a pending BH
from a previous run, we will crash on the second run of
ahci_check_cmd_bh as it overwrites AHCIDevice::check_bh. Avoid this
broken and redundant duplicate registration.
Signed-off-by: Jan Kiszka
---
hw/ide/ahci.c |8 +
Hi all,
this is a first draft for what I think could be added when we increase qcow2's
version number to 3. This includes points that have been made by several people
over the past few months. We're probably not going to implement this next week,
but I think it's important to get discussions start
On 9 May 2011 16:11, Alexander Graf wrote:
[about -kernel, unless I've got confused]
> The issue is that this is not how it works on real hardware. Grub won't just
> load a vmlinux file and boot it. I'm not even sure how much exactly the
> early entry code handles in Linux before it jumps to the E
When we balloon a guest, we currently use madvise to let the
underlying VM know our intentions for those pages. As the balloon
inflates (pages given back to the host), MMU notifiers in the host
let us detach the pages. When we deflate the balloon and retrieve
pages back from the host, I'm not sur
On 05/09/2011 10:21 AM, Serge E. Hallyn wrote:
Quoting Stefan Berger (stef...@linux.vnet.ibm.com):
The following series of patches adds a TPM (Trusted Platform Module)
TIS (TPM Interface Spec) interface to Qemu and with that provides
means to access a backend implementing the actual TPM function
Hi Anthony,
These are Anthony's patches for Xen HVM support, nicely signed off,
rebased to fit today's HEAD and compile tested.
Please pull.
Alex
The following changes since commit 85097db6956bc86e2377b63a8309cb8b24d54139:
Richard Henderson (1):
irq: Privatize CPU_INTERRUPT_NMI.
are
On 05/09/2011 09:25 AM, Gerd Hoffmann wrote:
On 05/09/11 14:50, Peter Maydell wrote:
On 9 May 2011 14:11, Gerd Hoffmann wrote:
Here are the fixes.
pleae pull,
Stefan Weil (1):
usb-linux: Add missing break statement
The commit comment for this change looks like it still
includes the remark
Am Samstag 07 Mai 2011, 22:49:33 schrieb Stefan Weil:
> cppcheck report:
> target-lm32/translate.c:587: style:
> Variable 't0' is assigned a value that is never used
> target-lm32/translate.c:588: style:
> Variable 'l1' is assigned a value that is never used
>
> Remove both variables. Plea
how are you?
i bought an iphone from this website, and received it, very amazing, they also
sell blackberry.conon camera,laptop.tv and so on.the price is much lower.
Web : eorol.com
2:43:24
On Sat, 7 May 2011 23:36:29 +0200
Alexander Graf wrote:
> On 07.05.2011, at 00:25, Scott Wood wrote:
> >> +void helper_booke206_tlbsx(target_ulong address_hi, target_ulong
> >> address_lo)
> >
> > What is address_hi?
> >
> > From gen_tlbsx_booke206() it looks like these two arguments correspon
On 09.05.2011, at 21:27, Scott Wood wrote:
> On Sat, 7 May 2011 23:36:29 +0200
> Alexander Graf wrote:
>
>> On 07.05.2011, at 00:25, Scott Wood wrote:
+void helper_booke206_tlbsx(target_ulong address_hi, target_ulong
address_lo)
>>>
>>> What is address_hi?
>>>
>>> From gen_tlbsx_bo
> > This is a case where you almost certainly want to check this
> > condition inside QEMU and translate the opcode differently.
> >
> > See cpu_get_tb_cpu_state, which sets bits in *flags. These
> > flags can then be checked in tb->flags while translating.
> > At which point you'd avoid all the
On Mon, 9 May 2011 21:36:12 +0200
Alexander Graf wrote:
>
> On 09.05.2011, at 21:27, Scott Wood wrote:
>
> > On Sat, 7 May 2011 23:36:29 +0200
> > Alexander Graf wrote:
> >
> >> On 07.05.2011, at 00:25, Scott Wood wrote:
> +void helper_booke206_tlbsx(target_ulong address_hi, target_ulong
On 05/09/2011 12:38 PM, Max Filippov wrote:
> do I understand it right that if I use tb->flags or mem_index to make
> decisions during translation, then I must issue exit_tb on
> instructions that can change state they reflect?
Yes.
Quite often it's some sort of branch instruction anyway, such as
On 05/09/2011 06:23 PM, Anthony Liguori wrote:
On 05/09/2011 08:40 AM, Dor Laor wrote:
No patch here (sorry) but collection of thoughts about these features
and their potential building blocks. Please review (also on
http://wiki.qemu.org/Features/LiveBlockMigration)
Future qemu is expected to s
Signed-off-by: Richard Henderson
---
cpu-common.h |7 +++
exec.c | 12 ++--
2 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/cpu-common.h b/cpu-common.h
index 6410ccc..6e48917 100644
--- a/cpu-common.h
+++ b/cpu-common.h
@@ -56,6 +56,13 @@ static inline void
The QEMU emulation PALcode will use EV6 PALcode insns regardless
of the "real" cpu instruction set being emulated.
Signed-off-by: Richard Henderson
---
alpha-dis.c |4
dis-asm.h |3 +++
disas.c |2 +-
3 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/alpha-dis
Since virtio devices intentionally access memory directly, we
are not actually dependant on the iommu patches in order to
make progress. Merely fixing the PCI interrupt setup was
enough to get the virtio-pci interface working.
We now make it quite a long way into the Debian Lenny install.
At
These aren't actually used yet, but we can at least access
them via the HW_MFPR and HW_MTPR instructions.
Signed-off-by: Richard Henderson
---
target-alpha/cpu.h | 13 +++
target-alpha/translate.c | 87 -
2 files changed, 98 insertions(+)
This is, more or less, the read accessor to pci_bus_set_mem_base
as a write accessor. It will be needed for implementing sparse
memory spaces for Alpha.
Signed-off-by: Richard Henderson
---
hw/pci.c |3 +--
hw/pci.h |1 +
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw
We were failing to generate EXC_DEBUG in the EXIT_PC_UPDATED path.
This caused us not to stop at the instruction after a branch, but
on the instruction afterward.
Signed-off-by: Richard Henderson
---
target-alpha/translate.c | 35 ---
1 files changed, 20 inserti
Signed-off-by: Richard Henderson
---
target-alpha/translate.c | 16 +---
1 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/target-alpha/translate.c b/target-alpha/translate.c
index 9e1576d..09edb0f 100644
--- a/target-alpha/translate.c
+++ b/target-alpha/translate.c
@@
There's no need to attempt to match EXCP_* values with PALcode entry
point offsets. Instead, compress all the values to make for more
efficient switch statements within QEMU.
We will be doing TLB fill within QEMU proper, not within the PALcode,
so all of the ITB/DTB miss, double fault, and access
Don't bother including executive and supervisor modes.
Signed-off-by: Richard Henderson
---
target-alpha/cpu.h | 36
1 files changed, 28 insertions(+), 8 deletions(-)
diff --git a/target-alpha/cpu.h b/target-alpha/cpu.h
index 1fc21dc..bdd396c 100644
--- a/
Compiles, but no machine defined yet, so this will crash on startup.
Signed-off-by: Richard Henderson
---
Makefile.target |3 +-
configure |1 +
default-configs/alpha-softmmu.mak |9
target-alpha/machine.c| 87 +
Introduce and use arith_excp, filling in the trap_arg[01] IPRs.
Signed-off-by: Richard Henderson
---
target-alpha/op_helper.c | 34 +-
1 files changed, 21 insertions(+), 13 deletions(-)
diff --git a/target-alpha/op_helper.c b/target-alpha/op_helper.c
index 73e5
The EXC_M_* constants were being set for the EV6, not as set for
the Unix kernel entry point.
Use PS_USER_MODE instead of hard-coding access to the PS register.
Signed-off-by: Richard Henderson
---
target-alpha/cpu.h | 56 +++--
target-alpha/trans
This gets the PC right after an arithmetic exception. Also tidies
the code in the TLB fault handlers to use common code.
Signed-off-by: Richard Henderson
---
target-alpha/op_helper.c | 49 -
1 files changed, 30 insertions(+), 19 deletions(-)
diff -
All of the "raw" memory accesses should be "phys" instead. Fix
some confusion about argument ordering of the store routines.
Fix the implementation of store-conditional.
Delete the "alt-mode" helpers. Because we only implement two
mmu modes, let /a imply user-mode unconditionally.
For the momen
Delete all the code that tried to emulate the real IPRs of some
unnamed CPU. Replace those with just 3 slots that we can use to
communicate trap information between the helper functions that
signal exceptions and the OS trap handler.
Signed-off-by: Richard Henderson
---
linux-user/main.c
Signed-off-by: Richard Henderson
---
target-alpha/cpu.h |8 +++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/target-alpha/cpu.h b/target-alpha/cpu.h
index 50a8109..88281bb 100644
--- a/target-alpha/cpu.h
+++ b/target-alpha/cpu.h
@@ -357,7 +357,13 @@ enum {
static inl
Signed-off-by: Richard Henderson
---
target-alpha/helper.c | 121 +
1 files changed, 111 insertions(+), 10 deletions(-)
diff --git a/target-alpha/helper.c b/target-alpha/helper.c
index c5479fd..a49f632 100644
--- a/target-alpha/helper.c
+++ b/targ
Interrupts are disabled in PALmode, and when the PS IL is high enough.
Signed-off-by: Richard Henderson
---
cpu-exec.c | 33 ++---
target-alpha/cpu.h |5 +
target-alpha/exec.h | 12 +++-
3 files changed, 46 insertions(+), 4 deletions(-)
Signed-off-by: Richard Henderson
---
target-alpha/cpu.h |1 +
target-alpha/helper.c| 37 -
target-alpha/op_helper.c |5 -
3 files changed, 41 insertions(+), 2 deletions(-)
diff --git a/target-alpha/cpu.h b/target-alpha/cpu.h
index 60445
This code does not work, and will be replaced by a bios image.
Signed-off-by: Richard Henderson
---
Makefile.target |2 +-
hw/alpha_palcode.c | 1048 --
target-alpha/cpu.h | 35 --
target-alpha/helper.c|2 +-
target-a
Signed-off-by: Richard Henderson
---
target-alpha/cpu.h |2 --
target-alpha/op_helper.c | 14 +++---
2 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/target-alpha/cpu.h b/target-alpha/cpu.h
index d26a870..c94becf 100644
--- a/target-alpha/cpu.h
+++ b/target-alph
Signed-off-by: Richard Henderson
---
target-alpha/helper.c | 10 +++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/target-alpha/helper.c b/target-alpha/helper.c
index 96b407b..bd3af38 100644
--- a/target-alpha/helper.c
+++ b/target-alpha/helper.c
@@ -220,14 +220,18 @@ st
The existing code for this really shouldn't be in pc.c.
Signed-off-by: Richard Henderson
---
hw/alpha_dp264.c |2 +-
hw/alpha_pci.c | 33 -
hw/alpha_sys.h |2 ++
3 files changed, 35 insertions(+), 2 deletions(-)
diff --git a/hw/alpha_dp264.c b/hw/al
We had two different methods in use, both of which referenced ENV,
and neither of which indicated to the generic code when different
compilation modes are not compatible.
Signed-off-by: Richard Henderson
---
target-alpha/cpu.h | 32 -
target-alpha/translate.c | 396 +
Expose these via MTPR, more or less like the real HW does.
Signed-off-by: Richard Henderson
---
target-alpha/helper.h|3 +++
target-alpha/op_helper.c | 11 ++-
target-alpha/translate.c | 32 +---
3 files changed, 34 insertions(+), 12 deletions(-)
Signed-off-by: Richard Henderson
---
target-alpha/op_helper.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/target-alpha/op_helper.c b/target-alpha/op_helper.c
index 91ef90a..42fec07 100644
--- a/target-alpha/op_helper.c
+++ b/target-alpha/op_helper.c
@@ -66,7 +66,8 @
In particular, SWPIPL is used quite a lot by the Linux kernel.
Doing this inline makes it significantly easier to step through
without the debugger getting confused by the mode switch.
Signed-off-by: Richard Henderson
---
target-alpha/translate.c | 141 --
---
target-alpha/translate.c | 31 +--
1 files changed, 21 insertions(+), 10 deletions(-)
diff --git a/target-alpha/translate.c b/target-alpha/translate.c
index 8107d19..7b976be 100644
--- a/target-alpha/translate.c
+++ b/target-alpha/translate.c
@@ -1621,9 +1621,10
Signed-off-by: Richard Henderson
---
default-configs/alpha-softmmu.mak |1 +
hw/alpha_dp264.c |1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/default-configs/alpha-softmmu.mak
b/default-configs/alpha-softmmu.mak
index 32167cd..be86d0c 100644
--- a/de
Reads the page table how PALcode would, except that the virtual
page table base register is not used.
Signed-off-by: Richard Henderson
---
target-alpha/cpu.h| 13 +
target-alpha/helper.c | 129 +++--
2 files changed, 138 insertions(+), 4 del
1 - 100 of 123 matches
Mail list logo