: Andreas Färber afaer...@suse.de
Signed-off-by: Michael Walle mich...@walle.cc
---
target-lm32/translate.c | 72 ++-
1 file changed, 40 insertions(+), 32 deletions(-)
diff --git a/target-lm32/translate.c b/target-lm32/translate.c
index 9605494..1d94d52
Instead of translating the instruction to a no-op, pause the VM and display
a message to the user.
As a side effect, this also works for instructions where the operands are
only known at runtime.
Signed-off-by: Michael Walle mich...@walle.cc
I have some doubt about the implementation
The new MMU tests use longer names.
Signed-off-by: Michael Walle mich...@walle.cc
---
hw/misc/lm32_sys.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/misc/lm32_sys.c b/hw/misc/lm32_sys.c
index 9bdb781..8176cdb 100644
--- a/hw/misc/lm32_sys.c
+++ b/hw/misc
This has been forgotton in the initial commit. Fix it.
Reported-by: Richard Henderson r...@twiddle.net
Signed-off-by: Michael Walle mich...@walle.cc
---
target-lm32/translate.c |3 +++
1 file changed, 3 insertions(+)
diff --git a/target-lm32/translate.c b/target-lm32/translate.c
index
Introduce new target check_% to run indiviudal test caes, eg.
make check_mmu
Signed-off-by: Michael Walle mich...@walle.cc
---
tests/tcg/lm32/Makefile |3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/tcg/lm32/Makefile b/tests/tcg/lm32/Makefile
index 9a00ef7..19e0664 100644
Hi,
Am 2013-09-17 20:46, schrieb Richard Henderson:
On 09/17/2013 10:46 AM, Michael Walle wrote:
Am Montag, 9. September 2013, 18:47:21 schrieb Peter Maydell:
For lm32 you might consider raising EXCP_BREAKPOINT;
then if you have a gdb connected to the debug stub
the developer will get
it to qemu_chr_fe_write_all() to fix.
Reported-by: Peter Crosthwaite peter.crosthwa...@xilinx.com
Acked-by Peter Crosthwaite peter.crosthwa...@xilinx.com
Signed-off-by: Antony Pavlov antonynpav...@gmail.com
CC: Peter Crosthwaite peter.crosthwa...@xilinx.com
CC: Michael Walle mich...@walle.cc
CC: Andreas
Am Montag, 9. September 2013, 18:47:21 schrieb Peter Maydell:
On 9 September 2013 17:39, Michael Walle mich...@walle.cc wrote:
Am 2013-09-04 11:04, schrieb Andreas Färber:
On part 11, rth said for alpha that using CPUAlphaState in
DisasContext was bad
and that the relevant fields should
Hi Andreas,
Am Mittwoch, 4. September 2013, 11:04:40 schrieb Andreas Färber:
On part 11, rth said for alpha that using CPUAlphaState in DisasContext was
bad and that the relevant fields should be copied into DisasContext
instead; a few targets still have an env field though and use it for
Hi,
Am 2013-09-04 11:04, schrieb Andreas Färber:
On part 11, rth said for alpha that using CPUAlphaState in
DisasContext was bad
and that the relevant fields should be copied into DisasContext
instead; a few
targets still have an env field though and use it for register access
and
-by: Antony Pavlov antonynpav...@gmail.com
CC: Peter Crosthwaite peter.crosthwa...@xilinx.com
CC: Michael Walle mich...@walle.cc
CC: Andreas Färber afaer...@suse.de
---
hw/char/milkymist-uart.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/char/milkymist-uart.c b/hw
Am 2013-08-05 15:27, schrieb Andreas Färber:
Signed-off-by: Andreas Färber afaer...@suse.de
Acked-by: Michael Walle mich...@walle.cc
---
hw/lm32/milkymist.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hw/lm32/milkymist.c b/hw/lm32/milkymist.c
index 7ceedb8..a8e7230
;
uint16_t *gen_opc_end;
Acked-by: Michael Walle mich...@walle.cc
--
michael
be interest in adding a program-counter
dynamic property to the CPU, given that a setter has been factored out here?
Available for testing at:
git://github.com/afaerber/qemu-cpu.git qom-cpu-11.v1
https://github.com/afaerber/qemu-cpu/commits/qom-cpu-11.v1
For all lm32 parts:
Acked-by: Michael Walle mich
-by: Andreas Färber afaer...@suse.de
Acked-by: Michael Walle mich...@walle.cc
Breaks the build:
[aliguori@ccnode4 qemu]$ make
CClm32-softmmu/hw/lm32/../milkymist-softusb.o
/home/aliguori/git/qemu/hw/lm32/../milkymist-softusb.c: In function
‘softusb_mouse_hid_datain’:
/home/aliguori/git/qemu
Am Donnerstag 28 März 2013, 19:33:48 schrieb Peter Maydell:
On 28 March 2013 18:31, Michael Walle mich...@walle.cc wrote:
Am Donnerstag 28 März 2013, 18:55:59 schrieb Anthony Liguori:cc
Breaks the build:
[aliguori@ccnode4 qemu]$ make
CClm32-softmmu/hw/lm32/../milkymist
) {
error_report(milkymist_softusb: read pmem out of bounds
at offset 0x%x, len %d, offset, len);
+memset(buf, 0, len);
return;
}
Acked-By: Michael Walle mich...@walle.cc
-by: Michael Walle mich...@walle.cc
--
michael
at:
git://github.com/mwalle/qemu.git for-upstream
Michael Walle (12):
target-lm32: fix debug memory access
lm32-dis: fix NULL pointer dereference
milkymist-uart: fix receive buffering
lm32_uart: fix receive buffering
target-lm32: don't log cpu state in translation
Hi all,
Sorry for digging out such an old thread :) but this patch introduced a memory
corruption, see below.
Am Dienstag 30 Oktober 2012, 09:44:24 schrieb Peter Maydell:
From: Igor Mitsyanko i.mitsya...@gmail.com
This patch updates SD card model to support save/load of card's state.
Inform qemu-char when more input data can be received.
Signed-off-by: Michael Walle mich...@walle.cc
---
hw/milkymist-uart.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/hw/milkymist-uart.c b/hw/milkymist-uart.c
index e73eb84..29572b7 100644
--- a/hw/milkymist-uart.c
Signed-off-by: Michael Walle mich...@walle.cc
---
disas/lm32.c |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/disas/lm32.c b/disas/lm32.c
index a8eefe0..1718c86 100644
--- a/disas/lm32.c
+++ b/disas/lm32.c
@@ -303,11 +303,11 @@ int print_insn_lm32(bfd_vma memaddr
This patchset contains various minor fixes and cleanups for the
LatticeMico32 target and its supported hardware models.
Patch 11 and 12 were already posted on this list, but never picked up.
If there are no objections, i'll send a pull request next week.
Michael Walle (12):
target-lm32: fix
Inform qemu-char when more input data can be received.
Signed-off-by: Michael Walle mich...@walle.cc
---
hw/lm32_uart.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/hw/lm32_uart.c b/hw/lm32_uart.c
index 9c89cca..5b44f7f 100644
--- a/hw/lm32_uart.c
+++ b/hw/lm32_uart.c
CPU models which have the LM32_FLAG_IGNORE_MSB flag set will shadow the
lower 2GB to the upper 2GB memory space. This will fix the debug memory
access used by qemu console and GDB to match this behaviour.
Signed-off-by: Michael Walle mich...@walle.cc
---
target-lm32/helper.c |7 ++-
1
Signed-off-by: Michael Walle mich...@walle.cc
---
target-lm32/cpu.h | 10 --
1 files changed, 0 insertions(+), 10 deletions(-)
diff --git a/target-lm32/cpu.h b/target-lm32/cpu.h
index 6948d0e..03db008 100644
--- a/target-lm32/cpu.h
+++ b/target-lm32/cpu.h
@@ -232,18 +232,8 @@ static
Esp. for testing zero/sign extend in compare operations.
Signed-off-by: Michael Walle mich...@walle.cc
---
tests/tcg/lm32/test_cmpgei.S | 15 +++
tests/tcg/lm32/test_cmpgeui.S | 15 +++
tests/tcg/lm32/test_cmpgi.S | 15 +++
tests/tcg/lm32
Probe for GL and GLX symbols and X11 library. This fixes a build error
where the header files are available but the libraries are not.
Signed-off-by: Michael Walle mich...@walle.cc
---
configure |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
Don't dump the cpu state because it can also be enabled by the -d cpu
parameter.
Signed-off-by: Michael Walle mich...@walle.cc
---
target-lm32/translate.c |5 -
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/target-lm32/translate.c b/target-lm32/translate.c
index 695d9c5
As the probe now actually checks for the availability of GLX, rename it
accordingly. The only user of this feature is the milkymist-tmu2 model.
Signed-off-by: Michael Walle mich...@walle.cc
---
configure | 30 +++---
hw/lm32/Makefile.objs |2 +-
hw
For unsigned compares the immediate has to be zero extended.
Signed-off-by: Michael Walle mich...@walle.cc
---
target-lm32/translate.c | 18 ++
1 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/target-lm32/translate.c b/target-lm32/translate.c
index f51ffc5
Instead of hardcoding the function name, use the HELPER() macro for this.
Signed-off-by: Michael Walle mich...@walle.cc
---
target-lm32/op_helper.c | 20 ++--
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/target-lm32/op_helper.c b/target-lm32/op_helper.c
The tlb data is stored within the CPU env. Therefore, the initialization
has to be done after we clear the environment. Otherwise the tlb will have
a valid entry for address 0x0.
Signed-off-by: Michael Walle mich...@walle.cc
---
target-lm32/cpu.c |4 ++--
1 files changed, 2 insertions(+), 2
Am Montag 25 Februar 2013, 19:22:50 schrieb Andreas Färber:
Add a vmstate_lm32_cpu referencing the previous VMStateDescription as a
sub-struct and hook it up to CPUClass::vmsd. Drop cpu_{save,load}().
Signed-off-by: Andreas Färber afaer...@suse.de
Acked-by: Michael Walle mich...@walle.cc
On Mon, March 4, 2013 18:11, Paolo Bonzini wrote:
The milkymist-minimac device in fact does not exist at all.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
Acked-by: Michael Walle mich...@walle.cc
---
hw/milkymist-hw.h | 16
1 file changed, 16 deletions(-)
diff
in the device's own
init function.
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
Acked-by: Michael Walle mich...@walle.cc
---
hw/milkymist-hw.h |2 +-
hw/milkymist-minimac2.c |5 +
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/hw/milkymist-hw.h b/hw
properties. Instead of going via
cpu_physical_memory_read/_write when the device wants to access the
RAMs, we just keep a host pointer to the memory and use that.
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
Acked-by: Michael Walle mich...@walle.cc
---
hw/milkymist-hw.h
Am Donnerstag 14 Februar 2013, 17:48:09 schrieb Peter Maydell:
Hi; I'm looking for test images (and command lines) for the musicpal
and milkymist targets, because I have a patchset which makes some
changes to them [I'm trying to get rid of sysbus_add_memory()].
Does anybody have any to hand?
chosen logging settings.
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
Acked-by: Michael Walle mich...@walle.cc
Am Freitag 30 November 2012, 23:24:11 schrieben Sie:
Probe for GL and GLX symbols and X11 library. This fixes a build error
where the header files are available but the libraries are not.
Signed-off-by: Michael Walle mich...@walle.cc
---
configure |6 +++---
1 files changed, 3
Probe for GL and GLX symbols and X11 library. This fixes a build error
where the header files are available but the libraries are not.
Signed-off-by: Michael Walle mich...@walle.cc
---
configure |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/configure b/configure
As the probe now actually checks for the availability of GLX, rename it
accordingly. The only user of this feature is the milkymist-tmu2 model.
Signed-off-by: Michael Walle mich...@walle.cc
---
configure | 30 +++---
hw/lm32/Makefile.objs |2 +-
hw
, with
target_phys_addr_t unconditionally typedefed to uint64_t.
Signed-off-by: Avi Kivity a...@redhat.com
---
v2: no changes, but copied the maintainers of architectures that will
see their target_phys_addr_t changed as a result. Please view and/or
test.
For lm32 target:
Tested-by: Michael Walle
Am Donnerstag 09 August 2012, 15:31:14 schrieb Markus Armbruster:
Cc: Michael Walle mich...@walle.cc
Suppress default floppy and CD-ROM drives for machines lm32-evr,
lm32-uclinux, milkymist.
Suppress default SD card drive for machines lm32-evr, lm32-uclinux.
Signed-off-by: Markus
Make the include paths for cpu-qom.h consistent to allow using LM32CPU
in cpu.h.
Turn cpu_init macro into a static inline function returning CPULM32State
for backwards compatibility.
Signed-off-by: Andreas Färber afaer...@suse.de
Acked-by: Michael Walle mich...@walle.cc
--
Michael
Make the include paths for cpu-qom.h consistent to allow using LM32CPU
in cpu.h.
Let cpu_init() return CPULM32State for backwards compatibility.
Signed-off-by: Andreas Färber afaer...@suse.de
[..]
Acked-by: Michael Walle mich...@walle.cc
Am Sonntag 06 Mai 2012, 17:34:42 schrieb Andreas Färber:
Needed for main_cpu_reset().
Signed-off-by: Andreas Färber afaer...@suse.de
[..]
Acked-by: Michael Walle mich...@walle.cc
Am Sonntag 06 Mai 2012, 17:34:43 schrieb Andreas Färber:
Allows us to use cpu_reset() in place of cpu_state_reset() in
main_cpu_reset().
Signed-off-by: Andreas Färber afaer...@suse.de
[..]
Acked-by: Michael Walle mich...@walle.cc
Needed for main_cpu_reset().
Signed-off-by: Andreas Färber afaer...@suse.de
[..]
Acked-by: Michael Walle mich...@walle.cc
Allows us to use cpu_reset() in place of cpu_state_reset() in
main_cpu_reset().
Signed-off-by: Andreas Färber afaer...@suse.de
[..]
Acked-by: Michael Walle mich...@walle.cc
@@ void cpu_lm32_set_phys_msb_ignore(CPULM32State *env,
int value) env-flags = ~LM32_FLAG_IGNORE_MSB;
}
}
-
-void cpu_state_reset(CPULM32State *env)
-{
-cpu_reset(ENV_GET_CPU(env));
-}
-
Acked-by: Michael Walle mich...@walle.cc
Andreas Färber (3):
target-lm32: QOM'ify CPU
target-lm32: QOM'ify CPU init
target-lm32: QOM'ify CPU reset
Acked-by: Michael Walle mich...@walle.cc
--
michael
(2012-03-31 12:10:07 +)
are available in the git repository at:
git://github.com/mwalle/qemu.git for-upstream
Michael Walle (5):
tests: fix out-of-tree building for lm32 target
target-lm32: init tcg only if available
milkymist-sysctl: support for new core version
Signed-off-by: Michael Walle mich...@walle.cc
---
configure |4 +++-
tests/tcg/lm32/Makefile | 13 -
2 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/configure b/configure
index b51a749..4ef5ec6 100755
--- a/configure
+++ b/configure
@@ -3876,7
Once qtest support for target-lm32 arrives, tcg may be disabled.
Signed-off-by: Michael Walle mich...@walle.cc
---
target-lm32/helper.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/target-lm32/helper.c b/target-lm32/helper.c
index 5db8f8d..78076e4 100644
--- a/target
The new version introduces the following new registers:
- SoC clock frequency: read-only of system clock used on the SoC
- debug scratchpad: 8 bit scratchpad register
- debug write lock: write once register, without any function on QEMU
Signed-off-by: Michael Walle mich...@walle.cc
---
hw
This bug existed since the first commit. Fortunately, the affected
registers have no functionality in qemu. This will only prevent the
following warning:
milkymist_vgafb: write access to unknown register 0x0034
Signed-off-by: Michael Walle mich...@walle.cc
---
hw/milkymist-vgafb.c |5
Because binutils disassembler is based on libopcode, this is a rewrite from
scratch.
Signed-off-by: Michael Walle mich...@walle.cc
---
Makefile.objs |1 +
configure |4 +
dis-asm.h |3 +
disas.c |6 +
lm32-dis.c| 361
Because binutils disassembler is based on libopcode, this is a rewrite from
scratch.
Signed-off-by: Michael Walle mich...@walle.cc
---
Makefile.objs |1 +
configure |4 +
dis-asm.h |3 +
disas.c |6 +
lm32-dis.c| 351
Once qtest support for target-lm32 arrives, tcg may be disabled.
Signed-off-by: Michael Walle mich...@walle.cc
---
target-lm32/helper.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/target-lm32/helper.c b/target-lm32/helper.c
index 5db8f8d..78076e4 100644
--- a/target
The new version introduces the following new registers:
- SoC clock frequency: read-only of system clock used on the SoC
- debug scratchpad: 8 bit scratchpad register
- debug write lock: write once register, without any function on QEMU
Signed-off-by: Michael Walle mich...@walle.cc
---
hw
This bug existed since the first commit. Fortunately, the affected
registers have no functionality in qemu. This will only prevent the
following warning:
milkymist_vgafb: write access to unknown register 0x0034
Signed-off-by: Michael Walle mich...@walle.cc
---
hw/milkymist-vgafb.c |5
repository at:
git://github.com/mwalle/qemu.git for-upstream
Michael Walle (5):
tests: fix out-of-tree building for lm32 target
target-lm32: init tcg only if available
milkymist-sysctl: support for new core version
target-lm32: add simple disassembler
milkymist-vgafb
Signed-off-by: Michael Walle mich...@walle.cc
---
configure |4 +++-
tests/tcg/lm32/Makefile | 13 -
2 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/configure b/configure
index b51a749..4ef5ec6 100755
--- a/configure
+++ b/configure
@@ -3876,7
*/
+
+CPULM32State env;
+} LM32CPU;
+
+static inline LM32CPU *cris_env_get_cpu(CPULM32State *env)
cris? :)
+{
+return LM32_CPU(container_of(env, LM32CPU, env));
+}
+
+#define ENV_GET_CPU(e) CPU(cris_env_get_cpu(e))
ditto
Apart from that:
Acked-by: Michael Walle mich...@walle.cc
Am Donnerstag 02 Februar 2012, 22:12:48 schrieb Stefan Weil:
config.h was missing in cpu.h.
Cc: Michael Walle mich...@walle.cc
Signed-off-by: Stefan Weil s...@weilnetz.de
---
target-lm32/cpu.h |1 +
target-lm32/helper.c|5 -
target-lm32/translate.c |8
Am Montag 17 Oktober 2011, 19:46:11 schrieb Stefan Weil:
So let's start. For any of my contributions, I agree to GPL v2 or later.
Later generations should have the possibility to replace GPL v2 by
something which matches future requirements.
I agree to GPL v2 or later.
--
Michael
On Fri, January 13, 2012 19:32, Anthony Liguori wrote:
diff --git a/qtest.c b/qtest.c
new file mode 100644
index 000..f41a9c3
--- /dev/null
+++ b/qtest.c
@@ -0,0 +1,357 @@
+/*
+ * Test Server
+ *
+ * Copyright IBM, Corp. 2011
+ *
+ * Authors:
+ * Anthony Liguori
Once qtest support for target-lm32 arrives, tcg may be disabled.
Signed-off-by: Michael Walle mich...@walle.cc
---
target-lm32/helper.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/target-lm32/helper.c b/target-lm32/helper.c
index fc0b444..d6f38bf 100644
--- a/target
); \
*(to++) = tmp 0xff; \
*(to++) = (tmp 8) 0xff; \
*(to++) = (tmp 16) 0xff; \
This change breaks the otherwise consistent alignment of the '\'
characters in column 51...
apart from that,
Acked-by: Michael Walle mich...@walle.cc
Signed-off-by: Michael Walle mich...@walle.cc
---
configure |4 +++-
tests/tcg/lm32/Makefile | 13 -
2 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/configure b/configure
index 467e87b..168be85 100755
--- a/configure
+++ b/configure
@@ -3775,7
+ *
+ * Copyright (C) 2011 Red Hat, Inc.
+ *
+ * Author(s):
+ * Juan Quintela quint...@redhat.com
+ *
+ * Based on qemu-file support done by:
+ * Michael Walle mich...@walle.cc
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2. See
+ * the COPYING file in the top-level
const VMStateDescription vmstate_cpu = {
+const VMStateDescription vmstate_cpu = {
.name = cpu,
.version_id = CPU_SAVE_VERSION,
.minimum_version_id = 1,
diff --git a/target-m68k/machine.c b/target-m68k/machine.c
index e69de29..86b6fe9 100644
[..]
Acked-by: Michael Walle mich
Am Dienstag 25 Oktober 2011, 16:00:40 schrieb Juan Quintela:
Signed-off-by: Juan Quintela quint...@redhat.com
CC: Michael Walle mich...@walle.cc
---
target-lm32/cpu.h |2 --
target-lm32/machine.c | 12 +---
2 files changed, 1 insertions(+), 13 deletions(-)
diff --git
in the git repository at:
git://git.serverraum.org/git/mw/qemu-lm32.git for-upstream
Michael Walle (3):
lm32: add missing qemu_init_vcpu() call
milkymist_uart: support new core version
milkymist: new interrupt map
hw/milkymist-hw.h|5 +--
hw/milkymist-uart.c | 72
Instead of the offset property use the proper addr property to calculate
the offsets.
Additionally, be a little more verbose on the warning and print the
subregion name.
Signed-off-by: Michael Walle mich...@walle.cc
---
memory.c | 13 -
1 files changed, 8 insertions(+), 5
Signed-off-by: Michael Walle mich...@walle.cc
---
target-lm32/helper.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/target-lm32/helper.c b/target-lm32/helper.c
index 014fd8d..fc0b444 100644
--- a/target-lm32/helper.c
+++ b/target-lm32/helper.c
@@ -218,6 +218,7
' into staging
(2011-09-15 13:33:03 -0500)
are available in the git repository at:
http://git.serverraum.org/git/mw/qemu-lm32.git for-upstream
Michael Walle (3):
lm32: add missing qemu_init_vcpu() call
milkymist_uart: support new core version
milkymist: new interrupt map
hw
The new version of the uart core introduces status and control bits.
Signed-off-by: Michael Walle mich...@walle.cc
---
hw/milkymist-hw.h |5 +--
hw/milkymist-uart.c | 72 --
hw/milkymist.c |2 +-
trace-events|4 +-
4
Due to the new uart core version the interrupt mapping has changed.
Signed-off-by: Michael Walle mich...@walle.cc
---
hw/milkymist.c | 12 ++--
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/hw/milkymist.c b/hw/milkymist.c
index 6d99260..b7a8c1c 100644
--- a/hw
Am Donnerstag 01 September 2011, 07:54:28 schrieb Avi Kivity:
On 09/01/2011 01:54 AM, Michael Walle wrote:
Hi Avi,
while debugging, i noticed, that mr-offset is never set, expect in the
initializer. (The subregion collision warning is printed although the
regions are not overlapping
Signed-off-by: Michael Walle mich...@walle.cc
---
hw/milkymist-ac97.c | 32
1 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/hw/milkymist-ac97.c b/hw/milkymist-ac97.c
index 6104732..5c5ed27 100644
--- a/hw/milkymist-ac97.c
+++ b/hw/milkymist-ac97
This patchset converts the remaining milkymist models to the new memory
API. Additionally, it fixes a minor naming issue.
This patches are againts avi's memory/master branch, for inclusion into his
memory queue.
Michael Walle (9):
milkymist-ac97: convert to memory API
milkymist-hpdmc
Signed-off-by: Michael Walle mich...@walle.cc
---
hw/milkymist-pfpu.c | 33 -
1 files changed, 16 insertions(+), 17 deletions(-)
diff --git a/hw/milkymist-pfpu.c b/hw/milkymist-pfpu.c
index 306d1ce..672f6e4 100644
--- a/hw/milkymist-pfpu.c
+++ b/hw/milkymist
Signed-off-by: Michael Walle mich...@walle.cc
---
hw/milkymist-memcard.c | 32
1 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/hw/milkymist-memcard.c b/hw/milkymist-memcard.c
index 22dc377..fb6e558 100644
--- a/hw/milkymist-memcard.c
+++ b/hw
Be consistent with other milkymist models.
Signed-off-by: Michael Walle mich...@walle.cc
---
hw/milkymist-minimac2.c |4 ++--
hw/milkymist-softusb.c |4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/hw/milkymist-minimac2.c b/hw/milkymist-minimac2.c
index fb48e37
Signed-off-by: Michael Walle mich...@walle.cc
---
hw/milkymist-uart.c | 33 +
1 files changed, 17 insertions(+), 16 deletions(-)
diff --git a/hw/milkymist-uart.c b/hw/milkymist-uart.c
index e8e309d..128cd8c 100644
--- a/hw/milkymist-uart.c
+++ b/hw/milkymist
Signed-off-by: Michael Walle mich...@walle.cc
---
hw/milkymist-vgafb.c | 33 -
1 files changed, 16 insertions(+), 17 deletions(-)
diff --git a/hw/milkymist-vgafb.c b/hw/milkymist-vgafb.c
index 2e55e42..be81abd 100644
--- a/hw/milkymist-vgafb.c
+++ b/hw/milkymist
Signed-off-by: Michael Walle mich...@walle.cc
---
hw/milkymist-tmu2.c | 32
1 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/hw/milkymist-tmu2.c b/hw/milkymist-tmu2.c
index 790cdcb..82cb6af 100644
--- a/hw/milkymist-tmu2.c
+++ b/hw/milkymist-tmu2
Signed-off-by: Michael Walle mich...@walle.cc
---
hw/milkymist-hpdmc.c | 32
1 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/hw/milkymist-hpdmc.c b/hw/milkymist-hpdmc.c
index c0962fb..17c840f 100644
--- a/hw/milkymist-hpdmc.c
+++ b/hw/milkymist
Signed-off-by: Michael Walle mich...@walle.cc
---
hw/milkymist-sysctl.c | 32
1 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/hw/milkymist-sysctl.c b/hw/milkymist-sysctl.c
index 7b2d544..5783f08 100644
--- a/hw/milkymist-sysctl.c
+++ b/hw
Hi Avi,
while debugging, i noticed, that mr-offset is never set, expect in the
initializer. (The subregion collision warning is printed although the regions
are not overlapping.) Is this intended?
btw. you may include the memory region name in the warning.
--
Michael
Hi Avi,
docs/memory.txt, states the following:
- .impl.valid specifies that the *implementation* only supports unaligned
accesses; unaligned accesses will be emulated by two aligned accesses.
i guess that should read .. implementation only supports _aligned_
accesses..
--
Michael
This USB patchset moves the HID VM state stuff from usb-hid.c to hid.c, so
it can be reused by other devices.
changes v1-v2:
- don't reorder vmstate field to be backward compatible
Michael Walle (4):
hid: register kbd hander in init()
hid: introduce hid vmstate macros
usb-hid: use hid
Use new hid vmstate macro. Version stays the same, because there is no
reordering of the fields.
Signed-off-by: Michael Walle mich...@walle.cc
---
hw/usb-hid.c | 41 ++---
1 files changed, 2 insertions(+), 39 deletions(-)
diff --git a/hw/usb-hid.c b/hw/usb
Register the keyboard event handler in hid's init() instead of its reset()
function.
Signed-off-by: Michael Walle mich...@walle.cc
---
hw/hid.c |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/hw/hid.c b/hw/hid.c
index 7b5ef5f..6934f05 100644
--- a/hw/hid.c
+++ b/hw
Add VMSTATE macros to describe a HIDState. Based on usb-hid.c descriptions.
Signed-off-by: Michael Walle mich...@walle.cc
---
hw/hid.c | 58 ++
hw/hw.h | 20
2 files changed, 78 insertions(+), 0 deletions(-)
diff
Remove the dummy USB device and use the HID code directly. Use the HID code
for the mouse support, too.
Signed-off-by: Michael Walle mich...@walle.cc
---
hw/milkymist-softusb.c | 122 +++-
1 files changed, 38 insertions(+), 84 deletions(-)
diff --git
Remove the dummy USB device and use the HID code directly. Use the HID code
for the mouse support, too.
Signed-off-by: Michael Walle mich...@walle.cc
---
hw/milkymist-softusb.c | 122 +++-
1 files changed, 38 insertions(+), 84 deletions(-)
diff --git
Increase version id, this will make almost any saved vm incompatible :(
Signed-off-by: Michael Walle mich...@walle.cc
---
hw/usb-hid.c | 51 ---
1 files changed, 8 insertions(+), 43 deletions(-)
diff --git a/hw/usb-hid.c b/hw/usb-hid.c
index
201 - 300 of 426 matches
Mail list logo