From: "Andreas Färber" <afaerber@suse.de>
To: qemu-devel@nongnu.org
Cc: "Peter Maydell" <peter.maydell@linaro.org>,
"Andreas Färber" <afaerber@suse.de>
Subject: [Qemu-devel] [PATCH qom-cpu] HACKING: Document vaddr type usage
Date: Mon, 22 Jul 2013 18:36:15 +0200 [thread overview]
Message-ID: <1374510975-9896-1-git-send-email-afaerber@suse.de> (raw)
Signed-off-by: Andreas Färber <afaerber@suse.de>
---
HACKING | 1 +
1 file changed, 1 insertion(+)
diff --git a/HACKING b/HACKING
index e73ac79..d9dbb46 100644
--- a/HACKING
+++ b/HACKING
@@ -42,6 +42,7 @@ ram_addr_t.
Use target_ulong (or abi_ulong) for CPU virtual addresses, however
devices should not need to use target_ulong.
+Use vaddr for CPU virtual addresses in target-independent code.
Of course, take all of the above with a grain of salt. If you're about
to use some system interface that requires a type like size_t, pid_t or
--
1.8.1.4
next reply other threads:[~2013-07-22 16:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-22 16:36 Andreas Färber [this message]
2013-07-22 17:27 ` [Qemu-devel] [PATCH qom-cpu] HACKING: Document vaddr type usage Peter Maydell
2013-07-22 17:32 ` Andreas Färber
2013-07-22 17:36 ` Peter Maydell
2013-07-23 0:51 ` Andreas Färber
2013-07-23 6:33 ` Paolo Bonzini
2013-07-23 9:14 ` Andreas Färber
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=1374510975-9896-1-git-send-email-afaerber@suse.de \
--to=afaerber@suse.de \
--cc=peter.maydell@linaro.org \
--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).