The following patch, along with the previous solaris patch posted, booted
DamnSmallLinux
(x86) on a Sun Ultra10 Workstation running Solaris 9, using the -vnc display.
Other than the colors being GBR instead of RGB (and I hear a fix for that in
the vnc
code is in development) it works.
Ben
--- qemu-solaris/slirp/slirp.c.ORIG 2006-05-01 13:50:53.685359000 -0400
+++ qemu-solaris/slirp/slirp.c 2006-05-01 13:51:30.716587000 -0400
@@ -137,6 +137,16 @@
}
#endif
+#if defined(HOST_SOLARIS) && defined(__sparc__)
+ /*
+ * Tell the kernel to fix unaligned accesses for us.
+ *
+ * The slirp code accesses at least |struct ip| structures
+ * from unaligned addresses.
+ */
+ asm("ta 6");
+#endif
+
link_up = 1;
if_init();
_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel