[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v1 0/3] Some armv7m fixes
From: |
KONRAD Frederic |
Subject: |
[Qemu-devel] [PATCH v1 0/3] Some armv7m fixes |
Date: |
Thu, 29 Jun 2017 11:28:50 +0200 |
Hi,
While playing with armv7m, I found two little bugs:
- When there is an alias @0x00000000 to a flash memory the cpu state isn't
reset correctly which leads later to an exception as ARM instruction-set is
used. Presumably this bug might be present with the netduino2 board.
- If the developer omits to set system_clock_rate we later go in a livelock
when systick is triggered. Better aborting before to avoid the pain chasing
the livelock.
Thanks,
Fred
KONRAD Frederic (3):
add memory_region_get_offset_within_address_space
arm: fix the armv7m reset state
armv7m_systick: abort instead of locking on a bad rate
hw/timer/armv7m_systick.c | 3 +++
include/exec/memory.h | 10 ++++++++++
memory.c | 22 ++++++++++++++++++++--
target/arm/cpu.c | 14 ++++++++++++++
4 files changed, 47 insertions(+), 2 deletions(-)
--
1.8.3.1
- [Qemu-devel] [PATCH v1 0/3] Some armv7m fixes,
KONRAD Frederic <=
[Qemu-devel] [PATCH v1 1/3] add memory_region_get_offset_within_address_space, KONRAD Frederic, 2017/06/29
[Qemu-devel] [PATCH v1 3/3] armv7m_systick: abort instead of locking on a bad rate, KONRAD Frederic, 2017/06/29