[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Patch: Sparc system support
From: |
Renzo Davoli |
Subject: |
Re: [Qemu-devel] Patch: Sparc system support |
Date: |
Fri, 1 Oct 2004 16:10:29 +0200 |
User-agent: |
Mutt/1.3.28i |
On Fri, Oct 01, 2004 at 12:23:07AM +0200, Fabrice Bellard wrote:
> I applied your patches with some modifications. Please update your
> sources with the CVS version and tell me if you see problems in my
> modifications.
Yes, I do ;-)
With the latest cvs I get stuck during the compilation inside
sparc-user. (I am working on a linuxppc host)
In file included from
/....... /qemu/translate-all.c:41:
op.h: In function `dyngen_code':
op.h:4781: error: parse error before ')' token
op.h:4782: error: parse error before ')' token
op.h:4797: error: parse error before ')' token
op.h:4798: error: parse error before ')' token
In fact there is something wrong in the op.h file:
Line 4778:
case INDEX_op_fitos: {
extern void op_fitos();
memcpy(gen_code_ptr, (void *)((char *)&op_fitos+0), 56);
*(uint16_t *)(gen_code_ptr + 26) = ((long)(&) + 0 + 0x8000) >> 16;
*(uint16_t *)(gen_code_ptr + 30) = ((long)(&) + 0);
gen_code_ptr += 56;
}
(long)(&) .... the operand is missing.
The same error appears again some lines below:
Line 4794:
case INDEX_op_fitod: {
extern void op_fitod();
memcpy(gen_code_ptr, (void *)((char *)&op_fitod+0), 52);
*(uint16_t *)(gen_code_ptr + 26) = ((long)(&) + 8 + 0x8000) >> 16;
*(uint16_t *)(gen_code_ptr + 30) = ((long)(&) + 8);
gen_code_ptr += 52;
}
ciao
renzo
- Re: [Qemu-devel] Patch: Sparc system support,
Renzo Davoli <=