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
just skips old
versions.
Michael Walle (4):
hid: register kbd hander in init()
hid: introduce hid vmstate macros
usb-hid: use hid vmstate macro
milkymist-softusb: use hid code directly
hw/hid.c | 63 -
hw/hw.h| 20
hw
I want -rc2 to be the final build so I'm delaying -rc3 until tomorrow so
we can sort out how to handle this migration issue.
Ok, one more try :)
Anthony, could you please commit the following small patch to the 0.15
branch:
http://lists.nongnu.org/archive/html/qemu-devel/2011-07/msg02183.html
Am Donnerstag 21 Juli 2011, 20:52:24 schrieb Michael Walle:
The QEMU keyboard and mouse reports themselves as full speed devices,
though they are actually low speed devices. Until this is fixed, claim that
we are supporting full speed devices.
Signed-off-by: Michael Walle mich...@walle.cc
Hi Anthony,
could you please apply this patch to the 0.15 (and master) branch.
Am Donnerstag 21 Juli 2011, 20:52:24 schrieb Michael Walle:
The QEMU keyboard and mouse reports themselves as full speed devices,
though they are actually low speed devices. Until this is fixed, claim that
we
The QEMU keyboard and mouse reports themselves as full speed devices,
though they are actually low speed devices. Until this is fixed, claim that
we are supporting full speed devices.
Signed-off-by: Michael Walle mich...@walle.cc
---
hw/milkymist-softusb.c |6 --
1 files changed, 4
check whether that is the correct solution.
Cc: Michael Walle mich...@walle.cc
Cc: Edgar E. Iglesias edgar.igles...@gmail.com
Signed-off-by: Stefan Weil w...@mail.berlios.de
Leftovers from ecbe1de823 therefore:
Acked-by: Michael Walle mich...@walle.cc
---
target-lm32/translate.c |6
Am Dienstag 03 Mai 2011, 18:49:34 schrieb Paolo Bonzini:
This patch adds proper unmapping of the memory when the addresses
cross multiple memory blocks, and it also uses a single map_fast
operation for the RMW access to the destination frame buffer.
Cc: Michael Walle mich...@walle.cc
Signed
Am Mittwoch 13 April 2011, 00:29:32 schrieb Michael Walle:
This patchset combines some lm32/bsp fixes and support for the new
Milkymist minimac2 hardware.
Ping :)
--
Michael
Am Montag 25 April 2011, 22:04:58 schrieb Aurelien Jarno:
On Thu, Apr 14, 2011 at 11:14:58PM +0200, Michael Walle wrote:
This patch is the first attempt to make configure more intelligent with
regard to how it links to libraries. It divides the softmmu libraries
into two lists, a general
Because the opengl library is only linked to for the lm32 target, we can
now safely enable opengl by default again.
Signed-off-by: Michael Walle mich...@walle.cc
---
configure |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configure b/configure
index 9825b12..6c131dd
This patch is the first attempt to make configure more intelligent with
regard to how it links to libraries. It divides the softmmu libraries into
two lists, a general one and a list which depends on the target
architecture.
Signed-off-by: Michael Walle mich...@walle.cc
Reviewed-by: Aurelien
Am Montag 25 April 2011, 11:41:24 schrieb qemu_wanghuang:
In Ful-system emulation, when we use -d op_opt,we can not find the pc of
guestinstruction in logfile.However,we can get this in log by using
command -d op. It is funny that when we use -d op,op_opt,we get pc in
both op's log and
changes v2
- add libfdt for microblaze targets
This patch is the first attempt to make configure more intelligent with
regard to how it links to libraries. It divides the softmmu libraries into
two lists, a general one and a list which depends on the target
architecture.
Signed-off-by: Michael Walle mich...@walle.cc
Reviewed-by: Aurelien
This patch is the first attempt to make configure more intelligent with
regard to how it links to libraries. It divides the softmmu libraries into
two lists, a general one and a list which depends on the target
architecture.
---
configure | 12 +---
1 files changed, 9 insertions(+), 3
This patch adds support for Milkymist's minimal Ethernet MAC v2. It
superseds minimac1.
Signed-off-by: Michael Walle mich...@walle.cc
---
Makefile.target |2 +-
hw/milkymist-hw.h | 20 ++
hw/milkymist-minimac.c | 568 ---
hw
This patchset combines some lm32/bsp fixes and support for the new
Milkymist minimac2 hardware.
Global interrupt enable bit is already saved within the exception handler
helper routine. Thus remove extra code in translation routines.
Additionally, debug exceptions has always DEBA as base address.
Signed-off-by: Michael Walle mich...@walle.cc
---
target-lm32/helper.c|6
After enabling the framebuffer, ensure that the console is resized.
Signed-off-by: Michael Walle mich...@walle.cc
---
hw/milkymist-vgafb.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/hw/milkymist-vgafb.c b/hw/milkymist-vgafb.c
index 8922731..2e55e42 100644
--- a/hw
Prevent timers from firing right after starting.
Signed-off-by: Michael Walle mich...@walle.cc
---
hw/milkymist-sysctl.c | 26 +++---
1 files changed, 7 insertions(+), 19 deletions(-)
diff --git a/hw/milkymist-sysctl.c b/hw/milkymist-sysctl.c
index eaea543..6bd0cb9 100644
There is a bug in nvidia's binary GPU driver, which causes a segmentation
fault if linked to libGL.
Signed-off-by: Michael Walle mich...@walle.cc
---
configure |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index 2bb3faa..be40a31 100755
Am Freitag 08 April 2011, 12:00:32 schrieb Edgar E. Iglesias:
On Thu, Apr 07, 2011 at 11:35:47PM +0200, Michael Walle wrote:
Am Mittwoch 06 April 2011, 16:13:58 schrieb Benjamin Poirier:
Works as usual.
The problem I'm facing stems from linking to libGL and memory
protection issues
Am Mittwoch 06 April 2011, 16:13:58 schrieb Benjamin Poirier:
Works as usual.
The problem I'm facing stems from linking to libGL and memory
protection issues. The particular system I ran this on has the binary
nvidia driver and its companion libGL.so.260.19.44. As such I'd take
no offense if
Hi Benjamin,
Let me know if you need more info.
what happens if you configure with
./configure --target-list=x86_64-softmmu --disable-opengl
--
Michael
Am Mittwoch 16 März 2011, 19:12:44 schrieb malc:
diff --git a/hw/milkymist-ac97.c b/hw/milkymist-ac97.c
new file mode 100644
index 000..6c9e318
--- /dev/null
+++ b/hw/milkymist-ac97.c
@@ -0,0 +1,335 @@
+/*
+ * QEMU model of the Milkymist System Controller.
+ *
+
Am Freitag 11 März 2011, 06:57:18 schrieben Sie:
On 17.02.2011, at 23:51, Michael Walle wrote:
Am Samstag 12 Februar 2011, 07:49:52 schrieb Blue Swirl:
That said, IMHO the best handling of unknown opcodes would be to kill
the VM.
In this case it should be OK. Alternatively the VM could
Am Montag 07 März 2011, 14:20:09 schrieb Edgar E. Iglesias:
Got a conflict on patch nr 16 though. Would be good if you could double
check upstreams configure to verify I resolved it correctly...
It's OK, thanks.
--
Michael
To be consistent with the new reference manual.
Signed-off-by: Michael Walle mich...@walle.cc
---
target-lm32/lm32-decode.h |2 +-
target-lm32/translate.c |4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/target-lm32/lm32-decode.h b/target-lm32/lm32-decode.h
index
Instead of a for loop use a faster lookup table.
Signed-off-by: Michael Walle mich...@walle.cc
---
target-lm32/lm32-decode.h | 78 ---
target-lm32/translate.c | 80 ++--
2 files changed, 18 insertions(+), 140
This is the second (and last) patchset of the LatticeMico32 support. It
adds almost complete support for the opensource and openhardware Milkymist
One board [1].
[1] http://www.milkymist.org/mmone.html
This patch adds support for the Milkymist AC97 compatible sound output and
input core.
Signed-off-by: Michael Walle mich...@walle.cc
---
Makefile.target |1 +
configure |3 +
hw/milkymist-ac97.c | 335 +++
trace-events
devices, eg. input events translates directly to the corresponding expected
messages.
Signed-off-by: Michael Walle mich...@walle.cc
---
Makefile.target|1 +
hw/milkymist-softusb.c | 357
trace-events |8 +
3 files changed, 366
and
always returns the expected hardware states, eg. PLL locked etc.
Signed-off-by: Michael Walle mich...@walle.cc
---
Makefile.target |1 +
hw/milkymist-hpdmc.c | 161 ++
trace-events |4 +
3 files changed, 166 insertions(+), 0
This patch adds support for Milkymist's simple UART.
Signed-off-by: Michael Walle mich...@walle.cc
---
Makefile.target |1 +
hw/milkymist-uart.c | 180 +++
trace-events|6 ++
3 files changed, 187 insertions(+), 0 deletions
This patch adds support for Milkymist's minimal Ethernet MAC.
Signed-off-by: Michael Walle mich...@walle.cc
---
Makefile.target|1 +
hw/milkymist-minimac.c | 568
trace-events | 12 +
3 files changed, 581 insertions(+), 0
This patch adds support for Milkymist's VGA framebuffer.
Signed-off-by: Michael Walle mich...@walle.cc
---
Makefile.target |2 +
hw/milkymist-vgafb.c | 318 +
hw/milkymist-vgafb_template.h | 74 ++
trace-events
This patch adds almost complete support for the Milkymist system-on-chip
(http://www.milkymist.org).
Additional to running bare metal applications, booting a linux kernel with
initrd is supported.
Signed-off-by: Michael Walle mich...@walle.cc
---
Makefile.target |1
This patch adds support for Milkymist's memory card core.
Signed-off-by: Michael Walle mich...@walle.cc
---
Makefile.target |1 +
default-configs/lm32-softmmu.mak |1 +
hw/milkymist-memcard.c | 294 ++
trace-events
This patch adds wrappers for easy creation of the qdev devices.
Signed-off-by: Michael Walle mich...@walle.cc
---
hw/milkymist-hw.h | 204 +
1 files changed, 204 insertions(+), 0 deletions(-)
create mode 100644 hw/milkymist-hw.h
diff --git
Signed-off-by: Michael Walle mich...@walle.cc
---
MAINTAINERS |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 9f3ff0e..e6f853d 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -214,6 +214,11 @@ M: Michael Walle mich...@walle.cc
S
This patch introduce a new config option CONFIG_OPENGL.
Signed-off-by: Michael Walle mich...@walle.cc
---
configure | 33 +
1 files changed, 33 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index e75e1a2..fe8791d 100755
--- a/configure
+++ b
System Controller.
+ *
+ * Copyright (c) 2010 Michael Walle mich...@walle.cc
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License
This patch adds support for Milkymist's Programmable FPU.
Signed-off-by: Michael Walle mich...@walle.cc
---
Makefile.target |1 +
hw/milkymist-pfpu.c | 536 +++
trace-events|6 +
3 files changed, 543 insertions(+), 0 deletions
This patch adds support for Milkymist's texture mapping unit. For fast
computation this model needs hardware accelerated 3D graphics support
(OpenGL). There is no graphical output, all computations belong to internal
framebuffers only.
Signed-off-by: Michael Walle mich...@walle.cc
Am Dienstag 01 März 2011, 22:31:58 schrieb Edgar E. Iglesias:
On Fri, Feb 25, 2011 at 12:03:37AM +0100, Michael Walle wrote:
Am Donnerstag 17 Februar 2011, 23:45:01 schrieb Michael Walle:
This patchset adds support for the LatticeMico32 softcore processor by
Lattice Semiconductor
Am Donnerstag 17 Februar 2011, 23:45:01 schrieb Michael Walle:
This patchset adds support for the LatticeMico32 softcore processor by
Lattice Semiconductor.
Changes since v2:
- lots of CODING_STYLE fixes
- reworked pic and juart model, CPUState is not passed anymore
- use qdev reset
This patch adds general target documentation and a todo list.
Signed-off-by: Michael Walle mich...@walle.cc
---
target-lm32/README | 46 ++
target-lm32/TODO |3 +++
2 files changed, 49 insertions(+), 0 deletions(-)
create mode 100644 target
This patch adds init functions for the PIC and JTAG UART commonly used
in the board initialization.
Signed-off-by: Michael Walle mich...@walle.cc
---
hw/lm32.h | 25 +
1 files changed, 25 insertions(+), 0 deletions(-)
create mode 100644 hw/lm32.h
diff --git a/hw/lm32
This patch adds support for saving and loading the processor state.
Signed-off-by: Michael Walle mich...@walle.cc
---
target-lm32/machine.c | 33 +
1 files changed, 33 insertions(+), 0 deletions(-)
create mode 100644 target-lm32/machine.c
diff --git a/target
This patch adds support for the LatticeMico32 system timer.
Signed-off-by: Michael Walle mich...@walle.cc
---
Makefile.target |1 +
hw/lm32_timer.c | 222 +++
trace-events|6 ++
3 files changed, 229 insertions(+), 0 deletions
This patch adds helper functions to create a ROM, which contains a hardware
description of a board. This is used in Theobromas LM32 Linux port.
Signed-off-by: Michael Walle mich...@walle.cc
---
hw/lm32_hwsetup.h | 178 +
1 files changed, 178
Signed-off-by: Michael Walle mich...@walle.cc
---
configure | 10 +++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/configure b/configure
index a3f5345..a9f6992 100755
--- a/configure
+++ b/configure
@@ -280,7 +280,7 @@ else
fi
case $cpu in
- alpha|cris|ia64|m68k
This patchset adds support for the LatticeMico32 softcore processor by
Lattice Semiconductor.
Changes since v2:
- lots of CODING_STYLE fixes
- reworked pic and juart model, CPUState is not passed anymore
- use qdev reset field instead of qemu_register_reset()
- add missing include guards
-
Add me as the lm32-target and machines maintainer.
Signed-off-by: Michael Walle mich...@walle.cc
---
MAINTAINERS | 12
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index ab48380..9f3ff0e 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
This patch adds the main translation routine. All opcodes of the
LatticeMico32 processor are supported and translated to TCG ops.
Signed-off-by: Michael Walle mich...@walle.cc
---
target-lm32/helper.c | 259 +
target-lm32/lm32-decode.h | 78 +++
target-lm32/translate.c | 1317
This patch adds support for the LatticeMico32 softcore processor by Lattice
Semiconductor.
Signed-off-by: Michael Walle mich...@walle.cc
---
Makefile.target|2 +
arch_init.c|2 +
arch_init.h| 13 ++--
cpu-exec.c | 13 +++-
elf.h |1
Am Samstag 12 Februar 2011, 07:49:52 schrieb Blue Swirl:
That said, IMHO the best handling of unknown opcodes would be to kill the
VM.
In this case it should be OK. Alternatively the VM could be halted, so
that instead of restarting QEMU, only system_reset needs to be issued.
This may be
This patch adds translation helper functions.
Signed-off-by: Michael Walle mich...@walle.cc
---
target-lm32/helper.h| 14 ++
target-lm32/op_helper.c | 106 +++
2 files changed, 120 insertions(+), 0 deletions(-)
create mode 100644 target
This patch adds lm32 support to the gdbstub.
Signed-off-by: Michael Walle mich...@walle.cc
---
gdbstub.c | 76 +
1 files changed, 76 insertions(+), 0 deletions(-)
diff --git a/gdbstub.c b/gdbstub.c
index ed51a8a..1e9f931 100644
This patch creates tests/lm32 directory and adds tests for every
LatticeMico32 opcode.
Signed-off-by: Michael Walle mich...@walle.cc
---
tests/Makefile|4 ++
tests/lm32/Makefile | 102 +
tests/lm32/crt.S | 84
This patch add support for the LatticeMico32 UART.
Signed-off-by: Michael Walle mich...@walle.cc
---
Makefile.target |1 +
hw/lm32_uart.c | 288 +++
trace-events|5 +
3 files changed, 294 insertions(+), 0 deletions(-)
create mode
This patch adds support for the following two BSPs:
- LM32 EVR32 BSP (as used by RTEMS)
- uclinux BSP by Theobroma Systems
Signed-off-by: Michael Walle mich...@walle.cc
---
Makefile.target |3 +
default-configs/lm32-softmmu.mak |4 +
hw/lm32_boards.c
This patch adds the interrupt controller of the lm32. Because the PIC is
accessed through special control registers and opcodes, there are callbacks
from the lm32 translation code to this model.
Signed-off-by: Michael Walle mich...@walle.cc
---
Makefile.target |1 +
hw/lm32_pic.c | 190
. Instead a user has to add it explicitly with the '-device'
commandline parameter.
Signed-off-by: Michael Walle mich...@walle.cc
---
Makefile.target |1 +
hw/lm32_sys.c | 161 +++
trace-events|3 +
3 files changed, 165 insertions
This patch adds the JTAG UART model. It is accessed through special control
registers and opcodes. Therefore the translation uses callbacks to this
model.
Signed-off-by: Michael Walle mich...@walle.cc
---
Makefile.target |1 +
hw/lm32_juart.c | 150
Am Freitag 11 Februar 2011, 22:42:28 schrieb Blue Swirl:
+/* Convenient binary macros */
+#define HEX__(n) 0x##n##LU
+#define B8__(x) (((x0x000FLU) ? 1 : 0) \
+ + ((x0x00F0LU) ? 2 : 0) \
+ + ((x0x0F00LU) ? 4 : 0) \
+ +
Hi,
Regarding all the comments on raising an exception. The real hardware does
only support a few basic exception (like div by zero or interrupts and system
calls). There is no checking if an instruction is supported or not. If an
illegal opcode (like divu if the hardware divider is not
Am Freitag 11 Februar 2011, 22:22:32 schrieb Blue Swirl:
+static uint32_t timer_read(void *opaque, target_phys_addr_t addr)
+{
+LM32TimerState *s = opaque;
+uint32_t r = 0;
+
+addr = 2;
+switch (addr) {
+case R_SR:
+case R_CR:
+case R_PERIOD:
+
Am Freitag 11 Februar 2011, 22:03:40 schrieb Blue Swirl:
+static int lm32_sys_init(SysBusDevice *dev)
+{
+LM32SysState *s = FROM_SYSBUS(typeof(*s), dev);
+int sys_regs;
+
+sys_regs = cpu_register_io_memory(sys_read_fn, sys_write_fn, s,
+DEVICE_NATIVE_ENDIAN);
Am Freitag 11 Februar 2011, 21:52:17 schrieb Blue Swirl:
+static inline void hwsetup_add_uart(struct hwsetup *hw,
+const char *name, uint32_t base, uint32_t irq)
+{
+hwsetup_add_u32(hw, 56); /* size */
+hwsetup_add_tag(hw, HWSETUP_TAG_UART);
+hwsetup_add_str(hw,
Am Freitag 11 Februar 2011, 21:41:14 schrieb Blue Swirl:
+Special instructions
+
+The translation recognizes one special instruction to halt the cpu:
+ and r0, r0, r0
+On real hardware this instruction is a nop. It is not used by GCC and
+should (hopefully) not be
This patch adds lm32 support to the gdbstub.
Signed-off-by: Michael Walle mich...@walle.cc
---
gdbstub.c | 76 +
1 files changed, 76 insertions(+), 0 deletions(-)
diff --git a/gdbstub.c b/gdbstub.c
index d6556c9..a4b37b7 100644
This patchset adds support for the LatticeMico32 softcore processor by
Lattice Semiconductor.
Changes since v1:
- removed variables which are no longer in use
- replaced some tcg ops with specialized ones
- kill VM in case of an unknown opcode
- fixed tracepoints format strings to match
This patch adds support for the following two BSPs:
- LM32 EVR32 BSP (as used by RTEMS)
- uclinux BSP by Theobroma Systems
Signed-off-by: Michael Walle mich...@walle.cc
---
Makefile.target |3 +
default-configs/lm32-softmmu.mak |4 +
hw/lm32_boards.c
This patch adds general target documentation and a todo list.
Signed-off-by: Michael Walle mich...@walle.cc
---
target-lm32/README | 46 ++
target-lm32/TODO |3 +++
2 files changed, 49 insertions(+), 0 deletions(-)
create mode 100644 target
This patch adds support for saving and loading the processor state.
Signed-off-by: Michael Walle mich...@walle.cc
---
target-lm32/machine.c | 33 +
1 files changed, 33 insertions(+), 0 deletions(-)
create mode 100644 target-lm32/machine.c
diff --git a/target
This patch adds helper functions to create a ROM, which contains a hardware
description of a board. This is used in Theobromas LM32 Linux port.
Signed-off-by: Michael Walle mich...@walle.cc
---
hw/lm32_hwsetup.h | 172 +
1 files changed, 172
This patch adds init functions for the PIC and JTAG UART commonly used
in the board initialization.
Signed-off-by: Michael Walle mich...@walle.cc
---
hw/lm32.h | 31 +++
1 files changed, 31 insertions(+), 0 deletions(-)
create mode 100644 hw/lm32.h
diff --git a/hw
This patch adds support for the LatticeMico32 softcore processor by Lattice
Semiconductor.
Signed-off-by: Michael Walle mich...@walle.cc
---
Makefile.target|5 +
arch_init.c|2 +
arch_init.h| 13 ++--
cpu-exec.c | 13 +++-
elf.h |1
. Instead a user has to add it explicitly with the '-device'
commandline parameter.
Signed-off-by: Michael Walle mich...@walle.cc
---
Makefile.target |1 +
hw/lm32_sys.c | 156 +++
trace-events|3 +
3 files changed, 160 insertions
This patch creates tests/lm32 directory and adds tests for every
LatticeMico32 opcode.
Signed-off-by: Michael Walle mich...@walle.cc
---
tests/Makefile|4 ++
tests/lm32/Makefile | 102 +
tests/lm32/crt.S | 84
Signed-off-by: Michael Walle mich...@walle.cc
---
configure | 10 +++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/configure b/configure
index 598e8e1..8ba7182 100755
--- a/configure
+++ b/configure
@@ -280,7 +280,7 @@ else
fi
case $cpu in
- alpha|cris|ia64|m68k
This patch add support for the LatticeMico32 UART.
Signed-off-by: Michael Walle mich...@walle.cc
---
Makefile.target |1 +
hw/lm32_uart.c | 292 +++
trace-events|5 +
3 files changed, 298 insertions(+), 0 deletions(-)
create mode
This patch adds the JTAG UART model. It is accessed through special control
registers and opcodes. Therefore the translation uses callbacks to this
model.
Signed-off-by: Michael Walle mich...@walle.cc
---
hw/lm32_juart.c | 151 +++
hw
Add me as the lm32-target and machines maintainer.
Signed-off-by: Michael Walle mich...@walle.cc
---
MAINTAINERS | 12
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index ab48380..9f3ff0e 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
This patch adds the interrupt controller of the lm32. Because the PIC is
accessed through special control registers and opcodes, there are callbacks
from the lm32 translation code to this model.
Signed-off-by: Michael Walle mich...@walle.cc
---
hw/lm32_pic.c | 191
This patch adds translation helper functions.
Signed-off-by: Michael Walle mich...@walle.cc
---
target-lm32/helper.h| 14 ++
target-lm32/op_helper.c | 106 +++
2 files changed, 120 insertions(+), 0 deletions(-)
create mode 100644 target
This patch adds support for the LatticeMico32 system timer.
Signed-off-by: Michael Walle mich...@walle.cc
---
Makefile.target |1 +
hw/lm32_timer.c | 227 +++
trace-events|6 ++
3 files changed, 234 insertions(+), 0 deletions
This patch adds the main translation routine. All opcodes of the
LatticeMico32 processor are supported and translated to TCG ops.
Signed-off-by: Michael Walle mich...@walle.cc
---
target-lm32/helper.c | 259 +
target-lm32/lm32-decode.h | 78 +++
target-lm32/translate.c | 1315
Am Dienstag 08 Februar 2011, 18:32:57 schrieb Richard Henderson:
On 01/30/2011 04:30 PM, Michael Walle wrote:
+if (dc-format == OP_FMT_RI) {
+tcg_gen_brcondi_tl(cond, cpu_R[rY], sign_extend(dc-imm16, 16),
l1); +} else {
+tcg_gen_brcond_tl(cond, cpu_R[rY], cpu_R[rZ
Hi Edgar.
first of all let me thank you for the review.
On Mon, Feb 07 2011, 19:41:25, Edgar E. Iglesias wrote:
+#define JMP_NOJMP0
+#define JMP_DIRECT 1
+#define JMP_INDIRECT 2
These don't seem to be used, can we remove them?
Good catch :) I'll remove them.
+
+/* This is the
On Mon, Feb 07 2011, 23:20:33, Edgar E. Iglesias wrote:
Yes, I found the nop tracking handy too but It exposes a way for guests
to completely abort the vm with valid code. On microblaze, even guest
userspace can trig the cpu_abort. Your port doesn't have an MMU so guest
userland can probably
This patchset adds support for the LatticeMico32 softcore processor by
Lattice Semiconductor.
This is the first part of a larger patchset. It adds target support and two
simple BSPs. The second part will add support for the milkymist hardware
platform.
This patch adds translation helper functions.
Signed-off-by: Michael Walle mich...@walle.cc
---
target-lm32/helper.h| 14 ++
target-lm32/op_helper.c | 106 +++
2 files changed, 120 insertions(+), 0 deletions(-)
create mode 100644 target
This patch adds lm32 support to the gdbstub.
Signed-off-by: Michael Walle mich...@walle.cc
---
gdbstub.c | 76 +
1 files changed, 76 insertions(+), 0 deletions(-)
diff --git a/gdbstub.c b/gdbstub.c
index d6556c9..a4b37b7 100644
This patch adds support for the LatticeMico32 softcore processor by Lattice
Semiconductor.
Signed-off-by: Michael Walle mich...@walle.cc
---
Makefile.target|5 +
arch_init.c|2 +
arch_init.h| 13 ++--
cpu-exec.c | 13 +++-
elf.h |1
This patch adds support for saving and loading the processor state.
Signed-off-by: Michael Walle mich...@walle.cc
---
target-lm32/machine.c | 33 +
1 files changed, 33 insertions(+), 0 deletions(-)
create mode 100644 target-lm32/machine.c
diff --git a/target
This patch adds support for the LatticeMico32 system timer.
Signed-off-by: Michael Walle mich...@walle.cc
---
Makefile.target |1 +
hw/lm32_timer.c | 227 +++
trace-events|6 ++
3 files changed, 234 insertions(+), 0 deletions
301 - 400 of 426 matches
Mail list logo