[Qemu-devel] qemu vl.c hw/an5206.c hw/boards.h hw/dummy_m68k...

2007-11-18 Thread Blue Swirl
CVSROOT:/cvsroot/qemu
Module name:qemu
Changes by: Blue Swirl blueswir1  07/11/18 08:46:58

Modified files:
.  : vl.c 
hw : an5206.c boards.h dummy_m68k.c etraxfs.c 
 integratorcp.c mcf5208.c mips_malta.c 
 mips_mipssim.c mips_pica61.c mips_r4k.c palm.c 
 pc.c ppc405_boards.c ppc_chrp.c ppc_oldworld.c 
 ppc_prep.c r2d.c realview.c shix.c spitz.c 
 stellaris.c sun4m.c sun4u.c versatilepb.c 

Log message:
 Remove unused parameters from QEMUMachineInitFunc (Laurent Vivier)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/vl.c?cvsroot=qemur1=1.367r2=1.368
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/an5206.c?cvsroot=qemur1=1.6r2=1.7
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/boards.h?cvsroot=qemur1=1.1r2=1.2
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/dummy_m68k.c?cvsroot=qemur1=1.3r2=1.4
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/etraxfs.c?cvsroot=qemur1=1.4r2=1.5
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/integratorcp.c?cvsroot=qemur1=1.25r2=1.26
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/mcf5208.c?cvsroot=qemur1=1.7r2=1.8
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/mips_malta.c?cvsroot=qemur1=1.50r2=1.51
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/mips_mipssim.c?cvsroot=qemur1=1.8r2=1.9
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/mips_pica61.c?cvsroot=qemur1=1.13r2=1.14
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/mips_r4k.c?cvsroot=qemur1=1.54r2=1.55
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/palm.c?cvsroot=qemur1=1.11r2=1.12
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/pc.c?cvsroot=qemur1=1.94r2=1.95
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/ppc405_boards.c?cvsroot=qemur1=1.9r2=1.10
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/ppc_chrp.c?cvsroot=qemur1=1.52r2=1.53
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/ppc_oldworld.c?cvsroot=qemur1=1.8r2=1.9
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/ppc_prep.c?cvsroot=qemur1=1.55r2=1.56
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/r2d.c?cvsroot=qemur1=1.5r2=1.6
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/realview.c?cvsroot=qemur1=1.15r2=1.16
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/shix.c?cvsroot=qemur1=1.8r2=1.9
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/spitz.c?cvsroot=qemur1=1.17r2=1.18
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/stellaris.c?cvsroot=qemur1=1.3r2=1.4
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/sun4m.c?cvsroot=qemur1=1.63r2=1.64
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/sun4u.c?cvsroot=qemur1=1.28r2=1.29
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/versatilepb.c?cvsroot=qemur1=1.21r2=1.22




[Qemu-devel] Qemu forum

2007-11-18 Thread Ottavio Caruso
Hello,

has anybody got any news on when the Qemu Forum will be up again?

Thanks

--
Ottavio
http://www.pledgebank.com/boycottvista


  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs




Re: [Qemu-devel] USB Asynchronous I/O

2007-11-18 Thread Salil Bijur
On Nov 15, 2007 5:46 PM, Arnon Gilboa [EMAIL PROTECTED] wrote:
 I believe you can do it similar to the way I did for isochronous
 transfers in usb-linux.c.
 Remember that using SUBMITURB and REAPURBNDELAY ioctls, you need to add
 another signal and signal handler for the async bulk, and there might be
 some issues in the ohci/uhci because they currently assume only
 isochronous transfers are async. A minute ago I tried to implement the
 bulk transfers using SUBMITURB and REAPURB (which blocks until response)
 but it seems to hang qemu upon connecting a disk-on-key.


What about interrupt packets? For a bluetooth device, the interrupt
packets are sent almost every 2-3 ms. taking up most of the bandwidth.
These in turn called the synchronous ioctls hanging qemu for that
time. Making these asynchronous gives a timeout in the kernel's usb
subsystem.




Re: [Qemu-devel] USB Asynchronous I/O

2007-11-18 Thread Paul Brook
 there might be
 some issues in the ohci/uhci because they currently assume only
 isochronous transfers are async.

That's definitely incorrect. The USB mass storage emulation uses async bulk 
transfers.

Paul




RE: [Qemu-devel] USB Asynchronous I/O

2007-11-18 Thread Arnon Gilboa
Sorry, it was my mistake. I only meant it may require some changes in
ohci/uhci.

-Original Message-
From: Paul Brook [mailto:[EMAIL PROTECTED] 
Sent: Sunday, November 18, 2007 3:31 PM
To: qemu-devel@nongnu.org
Cc: Arnon Gilboa
Subject: Re: [Qemu-devel] USB Asynchronous I/O

 there might be
 some issues in the ohci/uhci because they currently assume only 
 isochronous transfers are async.

That's definitely incorrect. The USB mass storage emulation uses async
bulk transfers.

Paul




[Qemu-devel] qemu Makefile hw/devices.h hw/irq.c hw/stellari...

2007-11-18 Thread Paul Brook
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Paul Brook pbrook 07/11/18 14:36:09

Modified files:
.  : Makefile 
hw : devices.h irq.c stellaris.c 
Added files:
hw : stellaris_input.c 

Log message:
Luminary board input support.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/Makefile?cvsroot=qemur1=1.132r2=1.133
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/devices.h?cvsroot=qemur1=1.1r2=1.2
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/irq.c?cvsroot=qemur1=1.4r2=1.5
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/stellaris.c?cvsroot=qemur1=1.4r2=1.5
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/stellaris_input.c?cvsroot=qemurev=1.1




[Qemu-devel] qemu fpu/softfloat-specialize.h fpu/softfloat.c...

2007-11-18 Thread Paul Brook
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Paul Brook pbrook 07/11/18 14:33:24

Modified files:
fpu: softfloat-specialize.h softfloat.c softfloat.h 
target-arm/nwfpe: double_cpdo.c single_cpdo.c 
target-m68k: helper.c op.c 
target-mips: op_helper.c 

Log message:
Add strict checking mode for softfp code.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/fpu/softfloat-specialize.h?cvsroot=qemur1=1.4r2=1.5
http://cvs.savannah.gnu.org/viewcvs/qemu/fpu/softfloat.c?cvsroot=qemur1=1.7r2=1.8
http://cvs.savannah.gnu.org/viewcvs/qemu/fpu/softfloat.h?cvsroot=qemur1=1.9r2=1.10
http://cvs.savannah.gnu.org/viewcvs/qemu/target-arm/nwfpe/double_cpdo.c?cvsroot=qemur1=1.6r2=1.7
http://cvs.savannah.gnu.org/viewcvs/qemu/target-arm/nwfpe/single_cpdo.c?cvsroot=qemur1=1.5r2=1.6
http://cvs.savannah.gnu.org/viewcvs/qemu/target-m68k/helper.c?cvsroot=qemur1=1.10r2=1.11
http://cvs.savannah.gnu.org/viewcvs/qemu/target-m68k/op.c?cvsroot=qemur1=1.13r2=1.14
http://cvs.savannah.gnu.org/viewcvs/qemu/target-mips/op_helper.c?cvsroot=qemur1=1.73r2=1.74




[Qemu-devel] qemu/hw gumstix.c

2007-11-18 Thread Paul Brook
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Paul Brook pbrook 07/11/18 14:40:35

Modified files:
hw : gumstix.c 

Log message:
Fix connex board init routine.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/gumstix.c?cvsroot=qemur1=1.3r2=1.4




Re : [Qemu-devel] qemu/audio alsaaudio.c coreaudio.c dsoundaudio....

2007-11-18 Thread Sylvain Petreolle
Hi,
- Message d'origine 
De : Paul Brook [EMAIL PROTECTED]
À : qemu-devel@nongnu.org
Envoyé le : Samedi, 17 Novembre 2007, 18h35mn 54s
Objet : [Qemu-devel] qemu/audio alsaaudio.c coreaudio.c dsoundaudio

CVSROOT:/sources/qemu
Module name:qemu
Changes by:Paul Brook pbrook07/11/17 17:35:54

Modified files:
audio  : alsaaudio.c coreaudio.c dsoundaudio.c 
 fmodaudio.c 

Log message:
Remove stray uses of vl.h.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/audio/alsaaudio.c?cvsroot=qemur1=1.10r2=1.11
http://cvs.savannah.gnu.org/viewcvs/qemu/audio/coreaudio.c?cvsroot=qemur1=1.8r2=1.9
http://cvs.savannah.gnu.org/viewcvs/qemu/audio/dsoundaudio.c?cvsroot=qemur1=1.3r2=1.4
http://cvs.savannah.gnu.org/viewcvs/qemu/audio/fmodaudio.c?cvsroot=qemur1=1.7r2=1.8



hw/adlib.c is still missing audio/audio.h include, patch attached.

 
Kind regards,
Sylvain Petreolle (aka Usurp)
Je ne suis pas d'accord avec ce que vous dites, mais je me battrai jusqu'à la 
mort pour que vous ayez le droit de le dire.
I may disagree with what you have to say, but I shall defend, to the death, 
your right to say it. - Voltaire

Run your favorite Windows apps with free ReactOS : http://www.reactos.org
Listen to non-DRMised Music: http://www.jamendo.com





Index: hw/adlib.c
===
RCS file: /cvsroot/qemu/qemu/hw/adlib.c,v
retrieving revision 1.8
diff -u -r1.8 adlib.c
--- hw/adlib.c	17 Nov 2007 17:14:40 -	1.8
+++ hw/adlib.c	18 Nov 2007 15:27:55 -
@@ -24,6 +24,7 @@
 #include assert.h
 #include hw.h
 #include audiodev.h
+#include audio/audio.h
 
 #define ADLIB_KILL_TIMERS 1
 


[Qemu-devel] [RFC] thunk.c / thunk.h bugfix

2007-11-18 Thread J. Mayer
There's a problem in thunk.h as 2 possibly recursive functions are
declared as inline. There could be 2 solutions for this. We can never
inline those functions and move them to thunk.c (see the attached
patch). The drawback is that all cases that do not recurse would be less
efficient. The other solution would be to call another intermediary
function that would not be inlined to handle the recursive case.
The second solution may be better as it would keep the fast cases
inlined.

-- 
J. Mayer [EMAIL PROTECTED]
Never organized
Index: thunk.c
===
RCS file: /sources/qemu/qemu/thunk.c,v
retrieving revision 1.10
diff -u -d -d -p -r1.10 thunk.c
--- thunk.c	11 Nov 2007 19:31:34 -	1.10
+++ thunk.c	18 Nov 2007 15:50:56 -
@@ -31,7 +31,7 @@
 /* XXX: make it dynamic */
 StructEntry struct_entries[MAX_STRUCTS];
 
-static inline const argtype *thunk_type_next(const argtype *type_ptr)
+static const argtype *thunk_type_next(const argtype *type_ptr)
 {
 int type;
 
@@ -267,3 +267,78 @@ unsigned int host_to_target_bitmask(unsi
 }
 return(x86_mask);
 }
+
+#ifndef NO_THUNK_TYPE_SIZE
+int thunk_type_size(const argtype *type_ptr, int is_host)
+{
+int type, size;
+const StructEntry *se;
+
+type = *type_ptr;
+switch(type) {
+case TYPE_CHAR:
+return 1;
+case TYPE_SHORT:
+return 2;
+case TYPE_INT:
+return 4;
+case TYPE_LONGLONG:
+case TYPE_ULONGLONG:
+return 8;
+case TYPE_LONG:
+case TYPE_ULONG:
+case TYPE_PTRVOID:
+case TYPE_PTR:
+if (is_host) {
+return HOST_LONG_SIZE;
+} else {
+return TARGET_ABI_BITS / 8;
+}
+break;
+case TYPE_ARRAY:
+size = type_ptr[1];
+return size * thunk_type_size(type_ptr + 2, is_host);
+case TYPE_STRUCT:
+se = struct_entries + type_ptr[1];
+return se-size[is_host];
+default:
+return -1;
+}
+}
+
+int thunk_type_align(const argtype *type_ptr, int is_host)
+{
+int type;
+const StructEntry *se;
+
+type = *type_ptr;
+switch(type) {
+case TYPE_CHAR:
+return 1;
+case TYPE_SHORT:
+return 2;
+case TYPE_INT:
+return 4;
+case TYPE_LONGLONG:
+case TYPE_ULONGLONG:
+return 8;
+case TYPE_LONG:
+case TYPE_ULONG:
+case TYPE_PTRVOID:
+case TYPE_PTR:
+if (is_host) {
+return HOST_LONG_SIZE;
+} else {
+return TARGET_ABI_BITS / 8;
+}
+break;
+case TYPE_ARRAY:
+return thunk_type_align(type_ptr + 2, is_host);
+case TYPE_STRUCT:
+se = struct_entries + type_ptr[1];
+return se-align[is_host];
+default:
+return -1;
+}
+}
+#endif /* ndef NO_THUNK_TYPE_SIZE */
Index: thunk.h
===
RCS file: /sources/qemu/qemu/thunk.h,v
retrieving revision 1.15
diff -u -d -d -p -r1.15 thunk.h
--- thunk.h	14 Oct 2007 16:27:28 -	1.15
+++ thunk.h	18 Nov 2007 15:50:56 -
@@ -75,78 +75,8 @@ const argtype *thunk_convert(void *dst, 
 
 extern StructEntry struct_entries[];
 
-static inline int thunk_type_size(const argtype *type_ptr, int is_host)
-{
-int type, size;
-const StructEntry *se;
-
-type = *type_ptr;
-switch(type) {
-case TYPE_CHAR:
-return 1;
-case TYPE_SHORT:
-return 2;
-case TYPE_INT:
-return 4;
-case TYPE_LONGLONG:
-case TYPE_ULONGLONG:
-return 8;
-case TYPE_LONG:
-case TYPE_ULONG:
-case TYPE_PTRVOID:
-case TYPE_PTR:
-if (is_host) {
-return HOST_LONG_SIZE;
-} else {
-return TARGET_ABI_BITS / 8;
-}
-break;
-case TYPE_ARRAY:
-size = type_ptr[1];
-return size * thunk_type_size(type_ptr + 2, is_host);
-case TYPE_STRUCT:
-se = struct_entries + type_ptr[1];
-return se-size[is_host];
-default:
-return -1;
-}
-}
-
-static inline int thunk_type_align(const argtype *type_ptr, int is_host)
-{
-int type;
-const StructEntry *se;
-
-type = *type_ptr;
-switch(type) {
-case TYPE_CHAR:
-return 1;
-case TYPE_SHORT:
-return 2;
-case TYPE_INT:
-return 4;
-case TYPE_LONGLONG:
-case TYPE_ULONGLONG:
-return 8;
-case TYPE_LONG:
-case TYPE_ULONG:
-case TYPE_PTRVOID:
-case TYPE_PTR:
-if (is_host) {
-return HOST_LONG_SIZE;
-} else {
-return TARGET_ABI_BITS / 8;
-}
-break;
-case TYPE_ARRAY:
-return thunk_type_align(type_ptr + 2, is_host);
-case TYPE_STRUCT:
-se = struct_entries + type_ptr[1];
-return se-align[is_host];
-default:
-return -1;
-}
-}
+int thunk_type_size(const argtype *type_ptr, int is_host);
+int thunk_type_align(const argtype *type_ptr, int is_host);
 
 

[Qemu-devel] qemu dyngen.h

2007-11-18 Thread Jocelyn Mayer
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Jocelyn Mayer j_mayer 07/11/18 15:50:41

Modified files:
.  : dyngen.h 

Log message:
Fix for ISO C compliance:
 function qualifiers must always come before the return type.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/dyngen.h?cvsroot=qemur1=1.17r2=1.18




[Qemu-devel] [RFC] Fix for random Qemu crashes

2007-11-18 Thread J. Mayer
Here's an updated patch to fix the inlining problems that make some Qemu
targets crash randomly.
As we have at least one broken target in the CVS because of this bug
(and maybe more), we have an urgent need of a fix. I'll then commit this
patch today if there is no other fix proposed that actually solves the
problem.

-- 
J. Mayer [EMAIL PROTECTED]
Never organized
Index: exec-all.h
===
RCS file: /sources/qemu/qemu/exec-all.h,v
retrieving revision 1.70
diff -u -d -d -p -r1.70 exec-all.h
--- exec-all.h	4 Nov 2007 02:24:57 -	1.70
+++ exec-all.h	18 Nov 2007 15:44:16 -
@@ -21,36 +21,6 @@
 /* allow to see translation results - the slowdown should be negligible, so we leave it */
 #define DEBUG_DISAS
 
-#ifndef glue
-#define xglue(x, y) x ## y
-#define glue(x, y) xglue(x, y)
-#define stringify(s)	tostring(s)
-#define tostring(s)	#s
-#endif
-
-#ifndef likely
-#if __GNUC__  3
-#define __builtin_expect(x, n) (x)
-#endif
-
-#define likely(x)   __builtin_expect(!!(x), 1)
-#define unlikely(x)   __builtin_expect(!!(x), 0)
-#endif
-
-#ifndef always_inline
-#if (__GNUC__  3) || defined(__APPLE__)
-#define always_inline inline
-#else
-#define always_inline __attribute__ (( always_inline )) inline
-#endif
-#endif
-
-#ifdef __i386__
-#define REGPARM(n) __attribute((regparm(n)))
-#else
-#define REGPARM(n)
-#endif
-
 /* is_jmp field values */
 #define DISAS_NEXT0 /* next instruction can be analyzed */
 #define DISAS_JUMP1 /* only pc was modified dynamically */
Index: osdep.h
===
RCS file: /sources/qemu/qemu/osdep.h,v
retrieving revision 1.10
diff -u -d -d -p -r1.10 osdep.h
--- osdep.h	7 Jun 2007 23:09:47 -	1.10
+++ osdep.h	18 Nov 2007 15:44:16 -
@@ -3,6 +3,44 @@
 
 #include stdarg.h
 
+#ifndef glue
+#define xglue(x, y) x ## y
+#define glue(x, y) xglue(x, y)
+#define stringify(s)	tostring(s)
+#define tostring(s)	#s
+#endif
+
+#ifndef likely
+#if __GNUC__  3
+#define __builtin_expect(x, n) (x)
+#endif
+
+#define likely(x)   __builtin_expect(!!(x), 1)
+#define unlikely(x)   __builtin_expect(!!(x), 0)
+#endif
+
+#ifndef MIN
+#define MIN(a, b) (((a)  (b)) ? (a) : (b))
+#endif
+#ifndef MAX
+#define MAX(a, b) (((a)  (b)) ? (a) : (b))
+#endif
+
+#ifndef always_inline
+#if (__GNUC__  3) || defined(__APPLE__)
+#define always_inline inline
+#else
+#define always_inline __attribute__ (( always_inline )) __inline__
+#endif
+#endif
+#define inline always_inline
+
+#ifdef __i386__
+#define REGPARM(n) __attribute((regparm(n)))
+#else
+#define REGPARM(n)
+#endif
+
 #define qemu_printf printf
 
 void *qemu_malloc(size_t size);
Index: qemu-common.h
===
RCS file: /sources/qemu/qemu/qemu-common.h,v
retrieving revision 1.2
diff -u -d -d -p -r1.2 qemu-common.h
--- qemu-common.h	17 Nov 2007 17:14:38 -	1.2
+++ qemu-common.h	18 Nov 2007 15:44:16 -
@@ -62,37 +62,6 @@ static inline char *realpath(const char 
 
 #endif /* !defined(NEED_CPU_H) */
 
-#ifndef glue
-#define xglue(x, y) x ## y
-#define glue(x, y) xglue(x, y)
-#define stringify(s)	tostring(s)
-#define tostring(s)	#s
-#endif
-
-#ifndef likely
-#if __GNUC__  3
-#define __builtin_expect(x, n) (x)
-#endif
-
-#define likely(x)   __builtin_expect(!!(x), 1)
-#define unlikely(x)   __builtin_expect(!!(x), 0)
-#endif
-
-#ifndef MIN
-#define MIN(a, b) (((a)  (b)) ? (a) : (b))
-#endif
-#ifndef MAX
-#define MAX(a, b) (((a)  (b)) ? (a) : (b))
-#endif
-
-#ifndef always_inline
-#if (__GNUC__  3) || defined(__APPLE__)
-#define always_inline inline
-#else
-#define always_inline __attribute__ (( always_inline )) inline
-#endif
-#endif
-
 /* bottom halves */
 typedef struct QEMUBH QEMUBH;
 
Index: translate-op.c
===
RCS file: /sources/qemu/qemu/translate-op.c,v
retrieving revision 1.3
diff -u -d -d -p -r1.3 translate-op.c
--- translate-op.c	18 Nov 2007 01:44:36 -	1.3
+++ translate-op.c	18 Nov 2007 15:44:16 -
@@ -24,6 +24,7 @@
 #include inttypes.h
 
 #include config.h
+#include osdep.h
 
 enum {
 #define DEF(s, n, copy_size) INDEX_op_ ## s,
Index: darwin-user/qemu.h
===
RCS file: /sources/qemu/qemu/darwin-user/qemu.h,v
retrieving revision 1.1
diff -u -d -d -p -r1.1 qemu.h
--- darwin-user/qemu.h	18 Jan 2007 20:06:33 -	1.1
+++ darwin-user/qemu.h	18 Nov 2007 15:44:16 -
@@ -1,13 +1,13 @@
 #ifndef GEMU_H
 #define GEMU_H
 
-#include thunk.h
-
 #include signal.h
 #include string.h
 
 #include cpu.h
 
+#include thunk.h
+
 #include gdbstub.h
 
 typedef siginfo_t target_siginfo_t;


Re: [Qemu-devel] [PATCH] Gumstix verdex support

2007-11-18 Thread Thorsten Zitterell

Hi.

andrzej zaborowski wrote:

On 17/11/2007, Thorsten Zitterell [EMAIL PROTECTED] wrote:

Patch to add gumstix verdex board support.


The code has:

+/* Interrupt line of NIC is connected to GPIO line 49 */
+smc91c111_init(nd_table[0], 0x04000300,
+pxa2xx_gpio_in_get(cpu-gpio)[99]);

Should it be 49 or 99?


99 is right.


Regarding the usage example, I think not many people will look into
the code for this kind of information, it would be of more use in the
mailing list archives and optionally the docs.


I will give better documentation and provide example images for the docs 
soon.



Do these boards have an LCD? If not, you can pass NULL as the ds
parameter to pxa2xx_init() I think (not tested). I see that -nographic
is used in both examples.


There are optional LCDs for both connex and verdex boards. I do not have 
one so I could not test how they are supposed to work on the real 
hardware. However, booting a Gumstix image in QEMU shows graphical 
output with the company logo when not using -nographic.


--
 Thorsten




Re: [Qemu-devel] [RFC][PATCH] fix sparc32 mxcc 64 bit read word order

2007-11-18 Thread Robert Reif

Blue Swirl wrote:


On 11/16/07, Robert Reif [EMAIL PROTECTED] wrote:
 


This patch fixes the word order for 64 bit reads of the mxcc registers.
 



Otherwise everything seems OK, but it breaks NetBSD version 3 on SS10:
clock0 at obio0 slot 0 offset 0x20: mk48t08
timer0 at obio0 slot 0 offset 0x30data fault: pc=0xf0111a0c
addr=0x0 sfsr=126PERR=0,LVL=1,AT=1,FT=1,FAV,OW
panic: kernel fault
halted

halt, power off

Without the patch I get:
clock0 at obio0 slot 0 offset 0x20: mk48t08
timer0 at obio0 slot 0 offset 0x30: delay constant 99
zs0 at obio0 slot 0 offset 0x10 level 12 softpri 6
zstty0 at zs0 channel 0 (console i/o)
zstty1 at zs0 channel 1
scsi-disk: Unsupported command length, command 79



 

This is a classic case of two wrongs make a right.  OpenBios need to be 
fixed to set mbus module id to start at 8, not 0 for mbus based machines.



Index: drivers/obio.c
===
--- drivers/obio.c  (revision 178)
+++ drivers/obio.c  (working copy)
@@ -891,7 +891,15 @@
 push_str(cache-coherence?);
 fword(property);
 
-PUSH(i);
+   switch (machine_id) {
+case 0x71:
+case 0x72:
+PUSH(i + 8);
+break;
+case 0x80:
+PUSH(i);
+break;
+}
 fword(encode-int);
 push_str(mid);
 fword(property);


Re: [Qemu-devel] [RFC][PATCH] fix sparc32 mxcc 64 bit read word order

2007-11-18 Thread Blue Swirl
On 11/18/07, Robert Reif [EMAIL PROTECTED] wrote:
 Blue Swirl wrote:

 On 11/16/07, Robert Reif [EMAIL PROTECTED] wrote:
 
 
 This patch fixes the word order for 64 bit reads of the mxcc registers.
 
 
 
 Otherwise everything seems OK, but it breaks NetBSD version 3 on SS10:
 clock0 at obio0 slot 0 offset 0x20: mk48t08
 timer0 at obio0 slot 0 offset 0x30data fault: pc=0xf0111a0c
 addr=0x0 sfsr=126PERR=0,LVL=1,AT=1,FT=1,FAV,OW
 panic: kernel fault
 halted
 
 halt, power off
 
 Without the patch I get:
 clock0 at obio0 slot 0 offset 0x20: mk48t08
 timer0 at obio0 slot 0 offset 0x30: delay constant 99
 zs0 at obio0 slot 0 offset 0x10 level 12 softpri 6
 zstty0 at zs0 channel 0 (console i/o)
 zstty1 at zs0 channel 1
 scsi-disk: Unsupported command length, command 79
 
 
 
 
 
 This is a classic case of two wrongs make a right.  OpenBios need to be
 fixed to set mbus module id to start at 8, not 0 for mbus based machines.

Turbosparc manual says that the module id is hardwired to 0x8, so
would it be OK if mid was  i + 8 for all machines?




[Qemu-devel] qemu Makefile

2007-11-18 Thread Paul Brook
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Paul Brook pbrook 07/11/18 21:12:37

Modified files:
.  : Makefile 

Log message:
Fix out of tree builds.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/Makefile?cvsroot=qemur1=1.133r2=1.134




[Qemu-devel] [PATCH] [RESEND] hw/sh7750.c: use TARGET_FMT_plx to printf target_phys_addr_t

2007-11-18 Thread Carlo Marcelo Arenas Belon
The following patch changes the formatting string from %08x to TARGET_FMT_plx
to accommodate for compilation in 64bit hosts and that manifests with the
following warning :

  qemu/hw/sh7750.c: In function `error_access':
  qemu/hw/sh7750.c:186: warning: unsigned int format, different type arg (arg 5)
  qemu/hw/sh7750.c: In function `ignore_access':
  qemu/hw/sh7750.c:192: warning: unsigned int format, different type arg (arg 5)
 
Carlo

---
Index: sh7750.c
===
RCS file: /sources/qemu/qemu/hw/sh7750.c,v
retrieving revision 1.11
diff -u -r1.11 sh7750.c
--- sh7750.c17 Nov 2007 17:14:48 -  1.11
+++ sh7750.c18 Nov 2007 21:08:37 -
@@ -182,13 +182,13 @@
 
 static void error_access(const char *kind, target_phys_addr_t addr)
 {
-fprintf(stderr, %s to %s (0x%08x) not supported\n,
+fprintf(stderr, %s to %s (0x TARGET_FMT_plx ) not supported\n,
kind, regname(addr), addr);
 }
 
 static void ignore_access(const char *kind, target_phys_addr_t addr)
 {
-fprintf(stderr, %s to %s (0x%08x) ignored\n,
+fprintf(stderr, %s to %s (0x TARGET_FMT_plx ) ignored\n,
kind, regname(addr), addr);
 }
 




[Qemu-devel] qemu check_ops.sh configure dyngen-exec.h dynge...

2007-11-18 Thread Thiemo Seufer
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Thiemo Seufer ths 07/11/18 21:22:10

Modified files:
.  : check_ops.sh configure dyngen-exec.h dyngen.c 
 exec-all.h 

Log message:
Fixes for s/390 host support, by Bastian Blank.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/check_ops.sh?cvsroot=qemur1=1.1r2=1.2
http://cvs.savannah.gnu.org/viewcvs/qemu/configure?cvsroot=qemur1=1.174r2=1.175
http://cvs.savannah.gnu.org/viewcvs/qemu/dyngen-exec.h?cvsroot=qemur1=1.38r2=1.39
http://cvs.savannah.gnu.org/viewcvs/qemu/dyngen.c?cvsroot=qemur1=1.58r2=1.59
http://cvs.savannah.gnu.org/viewcvs/qemu/exec-all.h?cvsroot=qemur1=1.70r2=1.71




[Qemu-devel] qemu Makefile

2007-11-18 Thread Thiemo Seufer
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Thiemo Seufer ths 07/11/18 21:33:07

Modified files:
.  : Makefile 

Log message:
Use CONFIG_VNC_TLS_CFLAGS for building vnc.o.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/Makefile?cvsroot=qemur1=1.134r2=1.135




[Qemu-devel] qemu configure

2007-11-18 Thread Thiemo Seufer
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Thiemo Seufer ths 07/11/18 21:37:08

Modified files:
.  : configure 

Log message:
Add -m64 to OS_LDFLAGS for Solaris/x86_64. Use OS_CFLAGS when looking 
for
libSDL. Patch by Ben Taylor.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/configure?cvsroot=qemur1=1.175r2=1.176




[Qemu-devel] qemu/hw ssd0323.c

2007-11-18 Thread Paul Brook
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Paul Brook pbrook 07/11/18 21:54:57

Modified files:
hw : ssd0323.c 

Log message:
SSD0323 vertical incrememnt mode.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/ssd0323.c?cvsroot=qemur1=1.2r2=1.3




Re: [Qemu-devel] [RFC][PATCH] fix sparc32 mxcc 64 bit read word order

2007-11-18 Thread Robert Reif

Blue Swirl wrote:


On 11/18/07, Robert Reif [EMAIL PROTECTED] wrote:
 


Blue Swirl wrote:

   


On 11/16/07, Robert Reif [EMAIL PROTECTED] wrote:


 


This patch fixes the word order for 64 bit reads of the mxcc registers.


 


Otherwise everything seems OK, but it breaks NetBSD version 3 on SS10:
clock0 at obio0 slot 0 offset 0x20: mk48t08
timer0 at obio0 slot 0 offset 0x30data fault: pc=0xf0111a0c
addr=0x0 sfsr=126PERR=0,LVL=1,AT=1,FT=1,FAV,OW
panic: kernel fault
halted

halt, power off

Without the patch I get:
clock0 at obio0 slot 0 offset 0x20: mk48t08
timer0 at obio0 slot 0 offset 0x30: delay constant 99
zs0 at obio0 slot 0 offset 0x10 level 12 softpri 6
zstty0 at zs0 channel 0 (console i/o)
zstty1 at zs0 channel 1
scsi-disk: Unsupported command length, command 79





 


This is a classic case of two wrongs make a right.  OpenBios need to be
fixed to set mbus module id to start at 8, not 0 for mbus based machines.
   



Turbosparc manual says that the module id is hardwired to 0x8, so
would it be OK if mid was  i + 8 for all machines?



 

Probably but I don't know for sure.  I just fired up a SPARCclassic X 
which has a microSPARC CPU and the mid was 0.  You may need to check the 
CPU type for the SS5.  I don't have the time right now to dig out a 
microSPARC SS5 to check it out.






[Qemu-devel] qemu Makefile.target

2007-11-18 Thread Thiemo Seufer
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Thiemo Seufer ths 07/11/18 22:34:46

Modified files:
.  : Makefile.target 

Log message:
Solaris build fixes, based on a patch by Ben Taylor.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/Makefile.target?cvsroot=qemur1=1.225r2=1.226




Re: [Qemu-devel] cdrom disc type - is this patch correct? (unbreaks recent FreeBSD guest's -cdrom access)

2007-11-18 Thread Juergen Lock
Oops, I seem to have missed this post, sorry for not answering earlier...

In article [EMAIL PROTECTED] you write:
On Tue, Nov 13 2007, Juergen Lock wrote:
 Hi!
 
  Yesterday I learned that FreeBSD 7.0-BETA2 guests will no longer
 read from the emulated cd drive, apparently because of this commit:
 
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/ata/atapi-cd.c.diff?r1=1.193;r2=1.193.2.1
 The following patch file added to the qemu-devel port fixes the issue
 for me, is it also correct?   (making the guest see a dvd in the drive
 when it is inserted, previously it saw the drive as empty.)
 
  The second hunk is already in qemu cvs so remove it if you want to
 test on that.  ISO used for testing:
 
ftp://ftp.freebsd.org:/pub/FreeBSD/ISO-IMAGES-i386/7.0/7.0-BETA2-i386-disc1.iso
 (test by either selecting fixit-cdrom or by trying to install, just
 booting it will always work because that goes thru the bios.)
 
 Index: qemu/hw/ide.c
 @@ -1339,6 +1341,8 @@
  case 0x2a:
  cpu_to_ube16(buf[0], 28 + 6);
  buf[2] = 0x70;
 +if (bdrv_is_inserted(s-bs))
 +buf[2] = 0x40;

medium type code has been obsoleted since at least 1999. Looking back at
even older docs, 0x70 is 'door closed, no disc present'. 0x40 is a
reserved value though, I would not suggest using that. Given that
freebsd breaks, my suggest change would be the below - keep the 0x70 for
when no disc is really inserted, but don't set anything if there is.

diff --git a/hw/ide.c b/hw/ide.c
index 5f76c27..52d4c78 100644
--- a/hw/ide.c
+++ b/hw/ide.c
@@ -1344,7 +1344,10 @@ static void ide_atapi_cmd(IDEState *s)
 break;
 case 0x2a:
 cpu_to_ube16(buf[0], 28 + 6);
-buf[2] = 0x70;
+  if (!bdrv_is_inserted(s-bs))
+  buf[2] = 0x70;
+  else
+  buf[2] = 0;
 buf[3] = 0;
 buf[4] = 0;
 buf[5] = 0;


 Well that (0) doesn't work.  The relevant FreeBSD header,

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/ata/atapi-cd.h?rev=1.46.2.1;content-type=text%2Fx-cvsweb-markup
, defines the following:

[...]
/* CDROM Capabilities and Mechanical Status Page */
struct cappage {
/* mode page data header */
u_int16_t   data_length;
u_int8_tmedium_type;
#define MST_TYPE_MASK_LOW   0x0f
#define MST_FMT_NONE0x00
#define MST_DATA_1200x01
#define MST_AUDIO_120   0x02
#define MST_COMB_1200x03
#define MST_PHOTO_120   0x04
#define MST_DATA_80 0x05
#define MST_AUDIO_800x06
#define MST_COMB_80 0x07
#define MST_PHOTO_800x08

#define MST_TYPE_MASK_HIGH  0x70
#define MST_CDROM   0x00
#define MST_CDR 0x10
#define MST_CDRW0x20
#define MST_DVD 0x40

#define MST_NO_DISC 0x70
#define MST_DOOR_OPEN   0x71
#define MST_FMT_ERROR   0x72

u_int8_tdev_spec;
u_int16_t   unused;
u_int16_t   blk_desc_len;

/* capabilities page */
u_int8_tpage_code;
#define ATAPI_CDROM_CAP_PAGE0x2a

u_int8_tparam_len;

u_int16_t   media;
#define MST_READ_CDR0x0001
#define MST_READ_CDRW   0x0002
#define MST_READ_PACKET 0x0004
#define MST_READ_DVDROM 0x0008
#define MST_READ_DVDR   0x0010
#define MST_READ_DVDRAM 0x0020
#define MST_WRITE_CDR   0x0100
#define MST_WRITE_CDRW  0x0200
#define MST_WRITE_TEST  0x0400
#define MST_WRITE_DVDR  0x1000
#define MST_WRITE_DVDRAM0x2000

u_int16_t   capabilities;
#define MST_AUDIO_PLAY  0x0001
#define MST_COMPOSITE   0x0002
#define MST_AUDIO_P10x0004
#define MST_AUDIO_P20x0008
#define MST_MODE2_f10x0010
#define MST_MODE2_f20x0020
#define MST_MULTISESSION0x0040
#define MST_BURNPROOF   0x0080
#define MST_READ_CDDA   0x0100
#define MST_CDDA_STREAM 0x0200
#define MST_COMBINED_RW 0x0400
#define MST_CORRECTED_RW0x0800
#define MST_SUPPORT_C2  0x1000
#define MST_ISRC0x2000
#define MST_UPC 0x4000

u_int8_tmechanism;
#define MST_LOCKABLE0x01
#define MST_LOCKED  0x02
#define MST_PREVENT 0x04
#define MST_EJECT   0x08
#define MST_MECH_MASK   0xe0
#define MST_MECH_CADDY  0x00
#define MST_MECH_TRAY   0x20
#define MST_MECH_POPUP  0x40
#define MST_MECH_CHANGER0x80
#define MST_MECH_CARTRIDGE  0xa0

uint8_t audio;
#define MST_SEP_VOL 0x01
#define MST_SEP_MUTE0x02

u_int16_t   max_read_speed; /* max raw data rate in bytes/1000 */
u_int16_t   max_vol_levels; 

[Qemu-devel] qemu exec-all.h osdep.h qemu-common.h translate...

2007-11-18 Thread Jocelyn Mayer
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Jocelyn Mayer j_mayer 07/11/19 00:38:33

Modified files:
.  : exec-all.h osdep.h qemu-common.h translate-op.c 
darwin-user: qemu.h 

Log message:
Avoid duplicated definitions: move common definitions from exec-all.h
  and qemu-common.h to osdep.h.
Include this header in translate-op.c.
Make sure it's included first in darwin-user/qemu.h.
To avoid discarded inlining bug, define inline as always_inline and
always_inline as (( attribute (always_inline) )) __inline__.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/exec-all.h?cvsroot=qemur1=1.71r2=1.72
http://cvs.savannah.gnu.org/viewcvs/qemu/osdep.h?cvsroot=qemur1=1.10r2=1.11
http://cvs.savannah.gnu.org/viewcvs/qemu/qemu-common.h?cvsroot=qemur1=1.2r2=1.3
http://cvs.savannah.gnu.org/viewcvs/qemu/translate-op.c?cvsroot=qemur1=1.3r2=1.4
http://cvs.savannah.gnu.org/viewcvs/qemu/darwin-user/qemu.h?cvsroot=qemur1=1.1r2=1.2




[Qemu-devel] qemu vl.c

2007-11-18 Thread Jocelyn Mayer
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Jocelyn Mayer j_mayer 07/11/19 01:05:22

Modified files:
.  : vl.c 

Log message:
Mark hex_dump as unused to avoid compilation warnings.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/vl.c?cvsroot=qemur1=1.368r2=1.369




[Qemu-devel] qemu thunk.c thunk.h

2007-11-18 Thread Jocelyn Mayer
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Jocelyn Mayer j_mayer 07/11/19 01:06:24

Modified files:
.  : thunk.c thunk.h 

Log message:
Fix attempt to inline recursive functions.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/thunk.c?cvsroot=qemur1=1.10r2=1.11
http://cvs.savannah.gnu.org/viewcvs/qemu/thunk.h?cvsroot=qemur1=1.15r2=1.16




[Qemu-devel] qemu hw/ppc_prep.c target-ppc/cpu.h target-ppc/...

2007-11-18 Thread Jocelyn Mayer
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Jocelyn Mayer j_mayer 07/11/19 01:48:13

Modified files:
hw : ppc_prep.c 
target-ppc : cpu.h translate_init.c 

Log message:
New PowerPC CPU flag to define the decrementer and time-base source 
clock.
Use it to properly initialize the clock for the PreP target.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/ppc_prep.c?cvsroot=qemur1=1.56r2=1.57
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/cpu.h?cvsroot=qemur1=1.101r2=1.102
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/translate_init.c?cvsroot=qemur1=1.66r2=1.67




[Qemu-devel] qemu/target-ppc translate.c

2007-11-18 Thread Jocelyn Mayer
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Jocelyn Mayer j_mayer 07/11/19 01:48:52

Modified files:
target-ppc : translate.c 

Log message:
Fix another collision in PowerPC instructions definitions.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/translate.c?cvsroot=qemur1=1.111r2=1.112




[Qemu-devel] qemu/hw stellaris.c

2007-11-18 Thread Paul Brook
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Paul Brook pbrook 07/11/19 02:38:22

Modified files:
hw : stellaris.c 

Log message:
Fix typo in error message.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/stellaris.c?cvsroot=qemur1=1.5r2=1.6




[Qemu-devel] qemu/hw omap.c omap.h tsc210x.c

2007-11-18 Thread Andrzej Zaborowski
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Andrzej Zaborowski balrog 07/11/19 03:43:51

Modified files:
hw : omap.c omap.h tsc210x.c 

Log message:
Clean-up/rewrite audio over I^2S support.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/omap.c?cvsroot=qemur1=1.23r2=1.24
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/omap.h?cvsroot=qemur1=1.17r2=1.18
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/tsc210x.c?cvsroot=qemur1=1.4r2=1.5




[Qemu-devel] [Patch] PXA27x Mainstone II board support

2007-11-18 Thread Armin

Hello,

The following patch adds basic PXA27x Mainstone II support.
Boots from initrd at the monument.

Comments and Feedback welcome.

Kind regards,
Armin
diff -ruN qemu_org/hw/boards.h qemu/hw/boards.h
--- qemu_org/hw/boards.h	2007-11-17 22:46:57.0 -1000
+++ qemu/hw/boards.h	2007-11-18 17:51:37.0 -1000
@@ -92,4 +92,7 @@
 /* dummy_m68k.c */
 extern QEMUMachine dummy_m68k_machine;
 
+/* Arm PXA27x - mainstone.c */
+extern QEMUMachine mainstone2_machine;
+
 #endif
diff -ruN qemu_org/hw/mainstone.c qemu/hw/mainstone.c
--- qemu_org/hw/mainstone.c	1969-12-31 14:00:00.0 -1000
+++ qemu/hw/mainstone.c	2007-11-18 17:52:00.0 -1000
@@ -0,0 +1,67 @@
+/*
+ * PXA270-based Intel Mainstone platforms.
+ *
+ * Copyright (c) 2007 by Armin Kuster [EMAIL PROTECTED] or
+ *[EMAIL PROTECTED]
+ *
+ * Code based on spitz platform by Andrzej Zaborowski [EMAIL PROTECTED]
+ *
+ * This code is licensed under the GNU GPL v2.
+ */
+#include hw.h
+#include pxa.h
+#include arm-misc.h
+#include sysemu.h
+#include qemu-timer.h
+#include net.h
+#include devices.h
+#include console.h
+#include boards.h
+
+enum mainstone_model_e { mainstone };
+
+static void mainstone_common_init(int ram_size, int vga_ram_size,
+DisplayState *ds, const char *kernel_filename,
+const char *kernel_cmdline, const char *initrd_filename,
+const char *cpu_model, enum mainstone_model_e model, int arm_id)
+{
+uint32_t mainstone_ram = 0x0400;
+uint32_t mainstone_rom = 0x0080;
+struct pxa2xx_state_s *cpu;
+qemu_irq *mst_irq;
+
+if (!cpu_model)
+cpu_model = pxa270-c5;
+
+/* Setup CPU  memory */
+if (ram_size  mainstone_ram + mainstone_rom + PXA2XX_INTERNAL_SIZE) {
+fprintf(stderr, This platform requires %i bytes of memory\n,
+mainstone_ram + mainstone_rom + PXA2XX_INTERNAL_SIZE);
+exit(1);
+}
+cpu = pxa270_init(mainstone_ram, ds, cpu_model);
+
+cpu_register_physical_memory(0, mainstone_rom,
+qemu_ram_alloc(mainstone_rom) | IO_MEM_ROM);
+
+/* Setup initial (reset) machine state */
+cpu-env-regs[15] = PXA2XX_SDRAM_BASE;
+
+arm_load_kernel(cpu-env, mainstone_ram, kernel_filename, kernel_cmdline,
+initrd_filename, arm_id, PXA2XX_SDRAM_BASE);
+}
+
+static void mainstone_init(int ram_size, int vga_ram_size,
+const char *boot_device, DisplayState *ds,
+const char *kernel_filename, const char *kernel_cmdline,
+const char *initrd_filename, const char *cpu_model)
+{
+mainstone_common_init(ram_size, vga_ram_size, ds, kernel_filename,
+kernel_cmdline, initrd_filename, cpu_model, mainstone, 0x196);
+}
+
+QEMUMachine mainstone2_machine = {
+mainstone,
+Mainstone II (PXA27x),
+mainstone_init,
+};
diff -ruN qemu_org/Makefile.target qemu/Makefile.target
--- qemu_org/Makefile.target	2007-11-18 12:34:46.0 -1000
+++ qemu/Makefile.target	2007-11-18 17:53:12.0 -1000
@@ -499,6 +499,7 @@
 VL_OBJS+= spitz.o ide.o serial.o nand.o ecc.o
 VL_OBJS+= omap.o omap_lcdc.o omap1_clk.o omap_mmc.o omap_i2c.o
 VL_OBJS+= palm.o tsc210x.o
+VL_OBJS+= mainstone.o
 CPPFLAGS += -DHAS_AUDIO
 endif
 ifeq ($(TARGET_BASE_ARCH), sh4)
diff -ruN qemu_org/vl.c qemu/vl.c
--- qemu_org/vl.c	2007-11-18 15:05:22.0 -1000
+++ qemu/vl.c	2007-11-18 17:51:37.0 -1000
@@ -7451,6 +7451,7 @@
 qemu_register_machine(lm3s811evb_machine);
 qemu_register_machine(lm3s6965evb_machine);
 qemu_register_machine(connex_machine);
+qemu_register_machine(mainstone2_machine);
 #elif defined(TARGET_SH4)
 qemu_register_machine(shix_machine);
 qemu_register_machine(r2d_machine);


Re: [Qemu-devel] Qemu forum

2007-11-18 Thread Shaddy Baddah

Ottavio Caruso wrote:

has anybody got any news on when the Qemu Forum will be up again?
  


I'd like to second the call for its return. At least can the archive be 
retained somewhere... I had reason to read back my own postings in the 
forum, and am lamenting my lost memory.


TIA,
Shaddy