> Cc: Guan Xuetao
> Signed-off-by: Richard Henderson
Acked-by: Guan Xuetao
> ---
> target-unicore32/translate.c | 83
> ++--
> 1 file changed, 11 insertions(+), 72 deletions(-)
>
> diff --git a/target-unicore32/translate.c b/target-unicore32/translate.c
> Am 29.01.2013 10:23, schrieb Guan Xuetao:
>>> -���浠跺��浠�-
>>> ���浠朵��: Andreas F盲rber [mailto:afaer...@suse.de]
>>> 堕��: Sunday, January 27, 2013 21:32
>>> ��朵欢浜�: qemu-devel@nongnu.org
>>> ��: Andreas F盲rber; Guan Xuetao (maintainer:UniCore32)
>>> 涓婚��: [RFC 19/19] target-uni
>
> As indicated above, this patch has a bug, sorry. I will send a v2.
> Forking in linux-user will be broken (cpu_copy()), everything else
> should work though, no?
>
> Can you please test qemu.git master and confirm that it is not broken
> without this patch?
>
> I do not have any unicore32 image
> Introduce a realizefn and set realized = true in uc32_cpu_init().
>
> Signed-off-by: Andreas F盲rber
LGTM.
Acked-by: Guan Xuetao
> ---
> target-unicore32/cpu.c| 15 +++
> target-unicore32/helper.c |2 +-
> 2 Dateien ge盲ndert, 16 Zeilen hinzugef眉gt(+), 1 Zeile entfernt(-
> Pass around CPUState instead of using global cpu_single_env.
>
> Signed-off-by: Blue Swirl
For unicore32 part:
Acked-by: Guan Xuetao
> ---
> disas.c | 149
> ++---
> disas.h |3 +-
> qemu-log.h
> Pass around CPUState instead of using global cpu_single_env.
>
> Signed-off-by: Blue Swirl
Acked-by: Guan Xuetao
> ---
> target-unicore32/softmmu.c |8
> 1 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/target-unicore32/softmmu.c b/target-unicore32/softmmu.c
> i
> Add an explicit CPUState parameter instead of relying on AREG0
> and switch to AREG0 free mode.
>
> Signed-off-by: Blue Swirl
Thanks,
Tested-by: Guan Xuetao
> ---
> configure |2 +-
> target-unicore32/Makefile.objs |2 -
> target-unicore32/helper.h | 26 +
>
> This still breaks build. Please fix, something like ret = 0 when the
> variable is declared should be enough.
> /src/qemu/hw/puv3_gpio.c: In function 'puv3_gpio_read':
> /src/qemu/hw/puv3_gpio.c:48:5: error: 'ret' may be used uninitialized
> in this function [-Werror=maybe-uninitialized]
> /src
> On Wed, Aug 1, 2012 at 3:07 AM, wrote:
>> From: Guan Xuetao
>>
>> This patch just splits ucf64 instruction simulation helpers from
>> helper.c.
>> Also, two checkpatch warnings are solved.
>>
>> v1->v2: adjust copyright information for new ucf64_helper.c
>
> The patches don't apply, do they de
> On Wed, Aug 1, 2012 at 3:13 AM, wrote:
>> are available in the git repository at:
>>
>> git://github.com/gxt/QEMU.git unicore32
>
> I'm still getting these errors, please fix:
> CClibhw32/hw/puv3_gpio.o
> /src/qemu/hw/puv3_gpio.c: In function 'puv3_gpio_read':
> /src/qemu/hw/puv3_gpio.c
> Am 01.08.2012 05:09, schrieb g...@mprc.pku.edu.cn:
>
> Why is a TCG helper missing with curses directly? Shouldn't that use
> QEMU's console infrastructure and leave it to the user whether to use
> curses as a backend at runtime?
>
> What is the problem you are trying to solve? If you just need s
> 2012/7/13 Guan Xuetao :
>> This patch only add puv3 soc/board support, which introduces puv3
>> machine description, and specifies console type.
>>
>> Signed-off-by: Guan Xuetao
>> ---
>> default-configs/unicore32-softmmu.mak |1 +
>> hw/puv3.c | 93
>>
>> > Does this pass scripts/checkpatch.pl? These should become
>> > if (cop != 0) {
>> > goto unrecognized;
>> > }
>> Thanks for pointing it out, and sorry for that.
>> I will correct it in next version.
>
> You can run scripts/checkpatch.pl before you submit the patch.
>
> Regards,
> chenwj
[snip]
>>> > +unrecognized:
>>> > + �� ��cpu_abort(env, "Wrong register (%d) or wrong operation (%d) in
>>> cp0_set!\n",
>>> > + �� �� �� �� �� ��creg, cop);
>>>
>>> The call to cpu_abort() would mean that the guest is able to terminate
>>> QEMU at will, which is not OK. What does real HW do?
>> In
> On Wed, Jun 20, 2012 at 2:10 AM, Guan Xuetao wrote:
>> On Mon, 2012-06-18 at 19:59 +, Blue Swirl wrote:
>> [snip]
>>>
>>> hw_error() also aborts, it would be nice to avoid that. However, the
>>> situation is somewhat different from the instruction case, since only
>>> privileged guest code (
> On Wed, Jun 20, 2012 at 1:56 AM, Guan Xuetao wrote:
>> On Mon, 2012-06-18 at 20:02 +, Blue Swirl wrote:
>> [snip]
>>> > diff --git a/hw/puv3.h b/hw/puv3.h
>>> > new file mode 100644
>>> > index 000..bcfc978
>>> > --- /dev/null
>>> > +++ b/hw/puv3.h
>>> > @@ -0,0 +1,49 @@
>>> > +/*
>>> >
> Am 28.05.2012 12:08, schrieb guanxue...@mprc.pku.edu.cn:
>>> Am 25.05.2012 13:29, schrieb Guan Xuetao:
This patch adds configure and makefile support for unicore32-softmmu.
All puv3-soc devices are put into hw/pkunity directory, so this dir
will be added when unicore32-softmmu is s
> Am 28.05.2012 11:43, schrieb guanxue...@mprc.pku.edu.cn:
>>> Am 25.05.2012 13:29, schrieb Guan Xuetao:
Signed-off-by: Guan Xuetao
---
target-unicore32/cpu.c | 17 +
target-unicore32/cpu.h |2 +-
2 files changed, 14 insertions(+), 5 deletions(-)
>>>
> Am 25.05.2012 13:29, schrieb Guan Xuetao:
>> Signed-off-by: Guan Xuetao
>> ---
>> target-unicore32/cpu.c | 17 +
>> target-unicore32/cpu.h |2 +-
>> 2 files changed, 14 insertions(+), 5 deletions(-)
>>
>> diff --git a/target-unicore32/cpu.c b/target-unicore32/cpu.c
>> inde
> Am 25.05.2012 13:29, schrieb Guan Xuetao:
>> This patch only add minimal necessary system-control modules simulation
>> for successfully kernel booting and busybox running.
>>
>> Signed-off-by: Guan Xuetao
>> ---
>> hw/pkunity/puv3.c | 130 +
>> hw/
> Hi Guan,
>
>> +void cpu_save(QEMUFile *f, void *opaque)
>> +{
>> +int i;
>> +CPUUniCore32State *env = (CPUUniCore32State *)opaque;
>> +
>> +for (i = 0; i < 32; i++) {
>> +qemu_put_be32(f, env->regs[i]);
>> +}
>> +qemu_put_be32(f, cpu_asr_read(env));
>> +qemu_put_be
> Am 25.05.2012 13:29, schrieb Guan Xuetao:
>> This patch adds generic cpu state save/load functions for UniCore32 ISA.
>> All architecture related registers are saved or loaded, and no
>> optimization.
>>
>> Signed-off-by: Guan Xuetao
>> ---
>> target-unicore32/machine.c | 99
>> ++
> Am 25.05.2012 13:29, schrieb Guan Xuetao:
>> This patch adds configure and makefile support for unicore32-softmmu.
>> All puv3-soc devices are put into hw/pkunity directory, so this dir
>> will be added when unicore32-softmmu is selected.
>>
>> Signed-off-by: Guan Xuetao
>> ---
>> Makefile.targ
> Am 25.05.2012 13:29, schrieb Guan Xuetao:
>> This patch only add minimal necessary system-control modules simulation
>> for successfully kernel booting and busybox running.
>>
>> Signed-off-by: Guan Xuetao
>> ---
>> hw/pkunity/puv3.c | 130 +
>> hw/
24 matches
Mail list logo