qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH RFC 0/3] QEMU Object Model
@ 2009-08-06 13:52 Luiz Capitulino
  2009-08-06 13:52 ` [Qemu-devel] [PATCH 1/3] Introduce qobject header file Luiz Capitulino
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Luiz Capitulino @ 2009-08-06 13:52 UTC (permalink / raw)
  To: qemu-devel; +Cc: aliguori, filip.navara, avi

 Hi guys,

 Before I ago all over the command handlers again, I thought it would be
a good idea to submit _early_ implemention of the two most basic types
for review: QNumber and QString.

 I'm a bit concerned about QNumber, because it has to allow us to drop
the current long type handling in the monitor and work right on any arch.

 The way I'm thinking in doing this is to change GET_TLONG() and
GET_TPHYSADDR() to receive a QNumber as parameter and work with it to
return the appropriate value.

 For Example:

#if TARGET_LONG_BITS == 64
#define GET_TLONG(qnum) qnumber_get_int64(qnum);
#else
#define GET_TLONG(qnum) qnumber_get_int32(qnum);
#endif

 Remeber that the monitor will always work with int64_t for the
'l' argument type.

Thanks.

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2009-08-06 21:21 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-06 13:52 [Qemu-devel] [PATCH RFC 0/3] QEMU Object Model Luiz Capitulino
2009-08-06 13:52 ` [Qemu-devel] [PATCH 1/3] Introduce qobject header file Luiz Capitulino
2009-08-06 14:02   ` [Qemu-devel] " Avi Kivity
2009-08-06 14:07     ` Luiz Capitulino
2009-08-06 15:54   ` [Qemu-devel] " malc
2009-08-06 13:52 ` [Qemu-devel] [PATCH 2/3] Introduce QString data type Luiz Capitulino
2009-08-06 13:52 ` [Qemu-devel] [PATCH 3/3] Introduce QNumber " Luiz Capitulino
2009-08-06 14:04   ` [Qemu-devel] " Avi Kivity
2009-08-06 14:05     ` François Revol
2009-08-06 14:48       ` Avi Kivity
2009-08-06 14:10     ` Luiz Capitulino
2009-08-06 21:21     ` Luiz Capitulino
2009-08-06 14:06 ` [Qemu-devel] Re: [PATCH RFC 0/3] QEMU Object Model Avi Kivity

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).