qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] success installing openbsd 3.5 in


From: Brad Watson
Subject: [Qemu-devel] success installing openbsd 3.5 in
Date: Mon, 31 May 2004 11:34:41 -0700 (PDT)

Hi All,

I'm pleased to report the successful installation of
OpenBSD 3.5 using QEMU compiled from the CVS source
downloaded the morning of May 31, 2004.

In order to get the OpenBSD GENERIC kernel to work
with QEMUs emulated ne2000 without modifying the
kernel, I made a simple change to QEMU hw/pc.c file
(as shown in the attached patch file.)  Note: a
similar change was also needed in order to get
emulated ne2000 to work with the GENERIC NetBSD
kernel.

Thanks for all the great work!

Regards,

Brad Watson




        
                
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 
--- pc.c.orig   2004-05-31 10:14:57.000000000 -0700
+++ pc.c        2004-05-31 10:14:05.000000000 -0700
@@ -289,10 +289,10 @@
 static const int ide_iobase2[2] = { 0x3f6, 0x376 };
 static const int ide_irq[2] = { 14, 15 };
 
-#define NE2000_NB_MAX 6
+#define NE2000_NB_MAX 3
 
-static uint32_t ne2000_io[NE2000_NB_MAX] = { 0x300, 0x320, 0x340, 
0x360, 0x280, 0x380 };
-static int ne2000_irq[NE2000_NB_MAX] = { 9, 10, 11, 3, 4, 5 };
+static uint32_t ne2000_io[NE2000_NB_MAX] = { 0x240, 0x300, 0x280 };
+static int ne2000_irq[NE2000_NB_MAX] = { 9, 10, 9 };
 
 /* PC hardware initialisation */
 void pc_init(int ram_size, int vga_ram_size, int boot_device,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]