mirror of
https://git.freebsd.org/ports.git
synced 2025-06-27 15:40:32 -04:00
- Update emulators/qemu-devel to 1.4.0 with preliminary bsd-user patches. Thanx to: sson, cognet, and others for much improved bsd-user support - it now runs at least quite a few mips64 and single-threaded arm binaries, see: https://wiki.freebsd.org/QemuUserModeHowTo
14 lines
347 B
C
14 lines
347 B
C
--- a/hw/ppc/mac_oldworld.c
|
|
+++ b/hw/ppc/mac_oldworld.c
|
|
@@ -47,6 +47,11 @@
|
|
#define MAX_IDE_BUS 2
|
|
#define CFG_ADDR 0xf0000510
|
|
|
|
+/* FreeBSD headers define this */
|
|
+#ifdef round_page
|
|
+#undef round_page
|
|
+#endif
|
|
+
|
|
static int fw_cfg_boot_set(void *opaque, const char *boot_device)
|
|
{
|
|
fw_cfg_add_i16(opaque, FW_CFG_BOOT_DEVICE, boot_device[0]);
|