From: Laurent Vivier <laurent@vivier.eu>
To: qemu-devel@nongnu.org, Pavel.Dovgaluk@ispras.ru
Cc: famz@redhat.com, dovgaluk@ispras.ru
Subject: Re: [Qemu-devel] [PATCH] m68k: implement movep instruction
Date: Tue, 6 Feb 2018 11:20:28 +0100 [thread overview]
Message-ID: <1036a7be-d034-b584-7941-c461a1e0da4a@vivier.eu> (raw)
In-Reply-To: <151791158212.102.18197332970427652985@bdbb90650ae5>
Le 06/02/2018 à 11:06, no-reply@patchew.org a écrit :
...
> CC m68k-softmmu/target/m68k/translate.o
> /var/tmp/patchew-tester-tmp-87qny0g5/src/target/m68k/translate.c: In function ‘disas_movep’:
> /var/tmp/patchew-tester-tmp-87qny0g5/src/target/m68k/translate.c:2110:13: error: too few arguments to function ‘gen_store’
> gen_store(s, OS_BYTE, abuf, dbuf);
> ^~~~~~~~~
> /var/tmp/patchew-tester-tmp-87qny0g5/src/target/m68k/translate.c:315:20: note: declared here
> static inline void gen_store(DisasContext *s, int opsize, TCGv addr, TCGv val,
> ^~~~~~~~~
> /var/tmp/patchew-tester-tmp-87qny0g5/src/target/m68k/translate.c:2118:20: error: too few arguments to function ‘gen_load’
> dbuf = gen_load(s, OS_BYTE, abuf, 1);
> ^~~~~~~~
> /var/tmp/patchew-tester-tmp-87qny0g5/src/target/m68k/translate.c:287:20: note: declared here
> static inline TCGv gen_load(DisasContext *s, int opsize, TCGv addr,
> ^~~~~~~~
My last series has added the index parameter to gen_load() and gen_store().
See
commit 54e1e0b5b5ce4fc76335b1fbbf09cb8fdd5ab89d
Author: Laurent Vivier <laurent@vivier.eu>
Date: Thu Jan 18 20:38:43 2018 +0100
target/m68k: add index parameter to gen_load()/gen_store() and Co.
The instruction "moves" can select source and destination
address space (user or kernel). This patch modifies
all the load/store functions to be able to provide
the address space the caller wants to use instead
of using the current one. All the callers are modified
to provide the default address space to these functions.
You need to add "IS_USER(s)" to your calls.
Thanks,
Laurent
next prev parent reply other threads:[~2018-02-06 10:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-06 9:56 [Qemu-devel] [PATCH] m68k: implement movep instruction Pavel Dovgalyuk
2018-02-06 10:06 ` no-reply
2018-02-06 10:20 ` Laurent Vivier [this message]
2018-02-06 10:14 ` Thomas Huth
2018-02-06 10:23 ` no-reply
2018-02-06 11:19 ` Laurent Vivier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1036a7be-d034-b584-7941-c461a1e0da4a@vivier.eu \
--to=laurent@vivier.eu \
--cc=Pavel.Dovgaluk@ispras.ru \
--cc=dovgaluk@ispras.ru \
--cc=famz@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).