2011-04-05 10:38:00 +02:00
|
|
|
# $NetBSD: Makefile,v 1.79 2011/04/05 08:38:00 wiz Exp $
|
2004-11-09 14:05:33 +01:00
|
|
|
|
2010-10-27 15:24:09 +02:00
|
|
|
DISTNAME= qemu-0.13.0
|
2010-11-09 11:37:12 +01:00
|
|
|
PKGREVISION= 1
|
2004-11-09 14:05:33 +01:00
|
|
|
CATEGORIES= emulators
|
2009-08-31 12:18:49 +02:00
|
|
|
MASTER_SITES= http://download.savannah.gnu.org/releases/qemu/
|
2004-11-09 14:05:33 +01:00
|
|
|
|
2007-07-09 22:01:44 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2010-01-14 23:32:33 +01:00
|
|
|
HOMEPAGE= http://www.qemu.org/
|
2004-11-09 14:05:33 +01:00
|
|
|
COMMENT= CPU emulator using dynamic translation
|
2010-01-24 18:11:17 +01:00
|
|
|
LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1 AND mit AND modified-bsd
|
2004-11-09 14:05:33 +01:00
|
|
|
|
2007-12-18 01:16:56 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2006-09-17 09:51:56 +02:00
|
|
|
CONFLICTS+= qemu-bin-[0-9]*
|
2005-02-20 00:12:59 +01:00
|
|
|
NOT_FOR_PLATFORM= NetBSD-1.[0-6]*-*
|
2004-11-09 14:05:33 +01:00
|
|
|
|
2010-10-27 15:24:09 +02:00
|
|
|
USE_TOOLS+= gmake makeinfo perl:build
|
2011-04-05 10:38:00 +02:00
|
|
|
UNLIMIT_RESOURCES= datasize
|
2004-11-09 14:05:33 +01:00
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
|
2006-09-16 23:39:30 +02:00
|
|
|
BUILD_DEPENDS+= texi2html-[0-9]*:../../textproc/texi2html
|
|
|
|
|
2011-02-28 18:49:30 +01:00
|
|
|
.include "options.mk"
|
|
|
|
|
2006-09-08 17:27:31 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2009-09-22 14:18:33 +02:00
|
|
|
CONFIGURE_ENV+= mansuffix=/${PKGMANDIR}
|
2010-12-27 13:33:32 +01:00
|
|
|
CONFIGURE_ARGS+= --prefix=${PREFIX}
|
|
|
|
CONFIGURE_ARGS+= --interp-prefix=${PREFIX}/share/qemu
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
2010-11-09 11:37:12 +01:00
|
|
|
|
|
|
|
CONF_FILES= ${EGDIR}/target-x86_64.conf \
|
|
|
|
${PKG_SYSCONFDIR}/target-x86_64.conf
|
|
|
|
EGDIR= ${PREFIX}/share/examples/qemu
|
|
|
|
INSTALL_MAKE_FLAGS= egdir=${EGDIR}
|
|
|
|
PKG_SYSCONFSUBDIR= qemu
|
2004-11-09 14:05:33 +01:00
|
|
|
|
2009-10-11 18:04:13 +02:00
|
|
|
# Avoid clash with system include file:
|
2009-08-31 12:18:49 +02:00
|
|
|
pre-patch:
|
|
|
|
mv ${WRKSRC}/audio/audio.h ${WRKSRC}/audio/qaudio.h
|
|
|
|
|
|
|
|
SUBST_CLASSES+= qaudio
|
|
|
|
SUBST_STAGE.qaudio= pre-configure
|
2010-10-27 15:24:09 +02:00
|
|
|
SUBST_FILES.qaudio= arch_init.c monitor.c savevm.c vl.c \
|
2010-08-09 13:49:10 +02:00
|
|
|
audio/*.c \
|
|
|
|
hw/ac97.c \
|
|
|
|
hw/adlib.c \
|
|
|
|
hw/cs4231a.c \
|
|
|
|
hw/es1370.c \
|
|
|
|
hw/gus.c \
|
|
|
|
hw/marvell_88w8618_audio.c \
|
2010-10-27 15:24:09 +02:00
|
|
|
hw/mips_fulong2e.c \
|
2010-08-09 13:49:10 +02:00
|
|
|
hw/mips_jazz.c \
|
|
|
|
hw/mips_malta.c \
|
|
|
|
hw/omap2.c \
|
|
|
|
hw/palm.c \
|
|
|
|
hw/pcspk.c \
|
|
|
|
hw/sb16.c \
|
|
|
|
hw/spitz.c \
|
|
|
|
hw/tsc210x.c \
|
2010-10-27 15:24:09 +02:00
|
|
|
hw/wm8750.c \
|
|
|
|
ui/vnc.h
|
2009-08-31 12:18:49 +02:00
|
|
|
SUBST_SED.qaudio= -e s,audio.h\",qaudio.h\",g
|
2010-08-09 22:56:32 +02:00
|
|
|
SUBST_MESSAGE.qaudio= Fixing audio.h confusion
|
2006-09-16 23:39:30 +02:00
|
|
|
|
2009-08-31 12:18:49 +02:00
|
|
|
REPLACE_PERL+= texi2pod.pl
|
2005-05-18 15:07:32 +02:00
|
|
|
|
2009-01-22 08:27:28 +01:00
|
|
|
BUILDLINK_PASSTHRU_DIRS+= /usr/lib
|
|
|
|
BUILDLINK_PASSTHRU_RPATHDIRS+= /usr/lib
|
|
|
|
|
2007-12-18 01:16:56 +01:00
|
|
|
INSTALLATION_DIRS= ${PKGMANDIR}/man1 share/doc/qemu
|
2005-10-01 06:12:32 +02:00
|
|
|
|
2010-04-10 07:57:40 +02:00
|
|
|
UE_ARCHS+= alpha arm armeb cris i386 m68k microblaze mips mipsel
|
2010-08-09 22:35:25 +02:00
|
|
|
UE_ARCHS+= ppc ppc64 ppc64abi32 sh4 sh4eb sparc sparc32plus
|
Update qemu to 0.12.4. Okay'ed by wiz@, in PR pkg/43311 filed by me.
---
version 0.12.4:
- Workaround for broken OSS_GETVERSION on FreeBSD, part two (Juergen Lock)
- oss: fix fragment setting (malc)
- oss: issue OSS_GETVERSION ioctl only when needed (malc)
- oss: refactor code around policy setting (malc)
- oss: workaround for cases when OSS_GETVERSION is not defined (malc)
- block: Free iovec arrays allocated by multiwrite_merge() (Stefan Hajnoczi)
- lsi: fix segfault in lsi_command_complete (Gerd Hoffmann)
- lsi: pass lsi_request to lsi_reselect (Gerd Hoffmann)
- lsi: move dma_len+dma_buf into lsi_request (Gerd Hoffmann)
- lsi: move current_dev into lsi_request (Gerd Hoffmann)
- lsi: have lsi_request for the whole life time of the request. (Gerd Hoffmann)
- lsi: use QTAILQ for lsi_queue (Gerd Hoffmann)
- tcp/mips: Change TCG_AREG0 (fp -> s0) (Stefan Weil)
- sh_pci: fix memory and I/O access (Aurelien Jarno)
- Fix incoming migration with iothread (Marcelo Tosatti)
- Fix SIGFPE for vnc display of width/height = 1 (Chris Webb)
- net: remove broken net_set_boot_mask() boot device validation (Eduardo Habkost)
- qcow2: Remove request from in-flight list after error (Kevin Wolf)
- qcow2: Don't ignore immediate read/write failures (Kevin Wolf)
- block: Fix multiwrite memory leak in error case (Kevin Wolf)
- block: Fix error code in multiwrite for immediate failures (Kevin Wolf)
- block: Fix multiwrite error handling (Kevin Wolf)
- scsi-disk: fix buffer overflow (Gerd Hoffmann)
- qcow2: Rewrite alloc_refcount_block/grow_refcount_table (Kevin Wolf)
- qcow2: Factor next_refcount_table_size out (Kevin Wolf)
- block: avoid creating too large iovecs in multiwrite_merge (Christoph Hellwig)
- json-parser: Fix segfault on malformed input (Kevin Wolf)
- linux-user: switch default ppc64 CPU to 970fx from 970 (Aurelien Jarno)
- target-sh4: MMU: fix store queue addresses (Aurelien Jarno)
- target-sh4: MMU: fix ITLB priviledge check (Aurelien Jarno)
- target-sh4: MMU: fix mem_idx computation (Aurelien Jarno)
- sh7750: handle MMUCR TI bit (Aurelien Jarno)
- UHCI spurious interrut fix (Paul Brook)
- tcg/mips: fix branch offset during retranslation (Aurelien Jarno)
- tcg/arm: correctly save/restore registers in prologue/epilogue (Aurelien Jarno)
- workaround for cmd646 bmdma register access while no dma is active (Igor V. Kovalenko)
- Fix corner case in chardev udp: parameter (Jan Kiszka)
- Don't set default monitor when there is a mux'ed one (Jan Kiszka)
- spelling typo (compatibilty) in hw/fw_cfg.c (Vagrant Cascadian)
- fdc: fix drive property handling. (Gerd Hoffmann)
- target-i386: fix commit c22549204a6edc431e8e4358e61bd56386ff6957 (TeLeMan)
- target-i386: fix SIB decoding with index = 4 (Aurelien Jarno)
- Fix segfault with ram_size > 4095M without kvm (Ryan Harper)
- target-i386: Fix long jumps/calls in long mode with REX.W set (malc)
- target-i386: fix lddqu SSE instruction (Aurelien Jarno)
- qemu-char.c: drop debug printfs from qemu_chr_parse_compat (Jan Kiszka)
- fix undefined shifts by >32 (Paolo Bonzini)
- Fix qemu -net user,hostfwd= example (Aurelien Jarno)
---
Also add a patch for e1000.c NIC to make wm(4) work on NetBSD guest:
---
* Reset EEPROM internal state on CS rise edge,
not SK rise edge during CS is low, per CS pin description in
the FM93C06 EEPROM manual:
"... a rising edge on this signal is required to reset the
internal state-machine to accept a new cycle ..."
Intel's em driver seems to explicitly raise and lower SK output
after CS is negated in em_standby_eeprom() so many other OSes
that use Intel's driver don't have this problem, but I can't find
articles that say the MICROWIRE or EEPROM spec requires such sequence.
* It isn't a good idea to use memset(,0,) to clear EEPROM state values,
so explicitly clear status members and preserve the previous EECD values
---
This patch is also filed as upstream QEMU bugs #581737.
While here, several tweaks in Makefile to appease pkglint.
2010-05-17 16:31:07 +02:00
|
|
|
UE_ARCHS+= sparc64 x86_64
|
2010-04-10 07:57:40 +02:00
|
|
|
|
2010-11-20 15:37:42 +01:00
|
|
|
.if ${OPSYS} == "NetBSD"
|
|
|
|
.if (!empty(OS_VERSION:M5.99.*) || !empty(OS_VERSION:M[6-9].*))
|
|
|
|
# XXX
|
|
|
|
# i386 and x86_64 user emul require newer binutils for PROVIDE_HIDDEN()
|
|
|
|
# http://git.qemu.org/qemu.git/commit/?id=845f2c2812d9ed24b36c02a3d06ee83aeafe8b49
|
|
|
|
# but binutils-2.19 was enabled around 5.99.22:
|
|
|
|
# http://cvsweb.NetBSD.org/bsdweb.cgi/src/share/mk/bsd.own.mk#rev1.594
|
|
|
|
USER_EMUL= i386 x86_64 sparc sparc64
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-bsd-user
|
|
|
|
USER_EMUL=
|
|
|
|
.endif
|
|
|
|
PLIST.nbd= YES
|
|
|
|
.elif !empty(OPSYS:M*BSD) || !empty(OPSYS:MDragonFly)
|
2010-04-10 07:57:40 +02:00
|
|
|
USER_EMUL= i386 x86_64 sparc sparc64
|
2010-10-27 15:24:09 +02:00
|
|
|
PLIST.nbd= YES
|
2010-04-10 07:57:40 +02:00
|
|
|
.elif !empty(OPSYS:MDarwin)
|
2010-12-27 13:33:32 +01:00
|
|
|
USER_EMUL=
|
|
|
|
CONFIGURE_ARGS+= --disable-bsd-user
|
|
|
|
CONFIGURE_ARGS+= --disable-darwin-user
|
|
|
|
PLIST.nbd= YES
|
Update qemu to 0.12.4. Okay'ed by wiz@, in PR pkg/43311 filed by me.
---
version 0.12.4:
- Workaround for broken OSS_GETVERSION on FreeBSD, part two (Juergen Lock)
- oss: fix fragment setting (malc)
- oss: issue OSS_GETVERSION ioctl only when needed (malc)
- oss: refactor code around policy setting (malc)
- oss: workaround for cases when OSS_GETVERSION is not defined (malc)
- block: Free iovec arrays allocated by multiwrite_merge() (Stefan Hajnoczi)
- lsi: fix segfault in lsi_command_complete (Gerd Hoffmann)
- lsi: pass lsi_request to lsi_reselect (Gerd Hoffmann)
- lsi: move dma_len+dma_buf into lsi_request (Gerd Hoffmann)
- lsi: move current_dev into lsi_request (Gerd Hoffmann)
- lsi: have lsi_request for the whole life time of the request. (Gerd Hoffmann)
- lsi: use QTAILQ for lsi_queue (Gerd Hoffmann)
- tcp/mips: Change TCG_AREG0 (fp -> s0) (Stefan Weil)
- sh_pci: fix memory and I/O access (Aurelien Jarno)
- Fix incoming migration with iothread (Marcelo Tosatti)
- Fix SIGFPE for vnc display of width/height = 1 (Chris Webb)
- net: remove broken net_set_boot_mask() boot device validation (Eduardo Habkost)
- qcow2: Remove request from in-flight list after error (Kevin Wolf)
- qcow2: Don't ignore immediate read/write failures (Kevin Wolf)
- block: Fix multiwrite memory leak in error case (Kevin Wolf)
- block: Fix error code in multiwrite for immediate failures (Kevin Wolf)
- block: Fix multiwrite error handling (Kevin Wolf)
- scsi-disk: fix buffer overflow (Gerd Hoffmann)
- qcow2: Rewrite alloc_refcount_block/grow_refcount_table (Kevin Wolf)
- qcow2: Factor next_refcount_table_size out (Kevin Wolf)
- block: avoid creating too large iovecs in multiwrite_merge (Christoph Hellwig)
- json-parser: Fix segfault on malformed input (Kevin Wolf)
- linux-user: switch default ppc64 CPU to 970fx from 970 (Aurelien Jarno)
- target-sh4: MMU: fix store queue addresses (Aurelien Jarno)
- target-sh4: MMU: fix ITLB priviledge check (Aurelien Jarno)
- target-sh4: MMU: fix mem_idx computation (Aurelien Jarno)
- sh7750: handle MMUCR TI bit (Aurelien Jarno)
- UHCI spurious interrut fix (Paul Brook)
- tcg/mips: fix branch offset during retranslation (Aurelien Jarno)
- tcg/arm: correctly save/restore registers in prologue/epilogue (Aurelien Jarno)
- workaround for cmd646 bmdma register access while no dma is active (Igor V. Kovalenko)
- Fix corner case in chardev udp: parameter (Jan Kiszka)
- Don't set default monitor when there is a mux'ed one (Jan Kiszka)
- spelling typo (compatibilty) in hw/fw_cfg.c (Vagrant Cascadian)
- fdc: fix drive property handling. (Gerd Hoffmann)
- target-i386: fix commit c22549204a6edc431e8e4358e61bd56386ff6957 (TeLeMan)
- target-i386: fix SIB decoding with index = 4 (Aurelien Jarno)
- Fix segfault with ram_size > 4095M without kvm (Ryan Harper)
- target-i386: Fix long jumps/calls in long mode with REX.W set (malc)
- target-i386: fix lddqu SSE instruction (Aurelien Jarno)
- qemu-char.c: drop debug printfs from qemu_chr_parse_compat (Jan Kiszka)
- fix undefined shifts by >32 (Paolo Bonzini)
- Fix qemu -net user,hostfwd= example (Aurelien Jarno)
---
Also add a patch for e1000.c NIC to make wm(4) work on NetBSD guest:
---
* Reset EEPROM internal state on CS rise edge,
not SK rise edge during CS is low, per CS pin description in
the FM93C06 EEPROM manual:
"... a rising edge on this signal is required to reset the
internal state-machine to accept a new cycle ..."
Intel's em driver seems to explicitly raise and lower SK output
after CS is negated in em_standby_eeprom() so many other OSes
that use Intel's driver don't have this problem, but I can't find
articles that say the MICROWIRE or EEPROM spec requires such sequence.
* It isn't a good idea to use memset(,0,) to clear EEPROM state values,
so explicitly clear status members and preserve the previous EECD values
---
This patch is also filed as upstream QEMU bugs #581737.
While here, several tweaks in Makefile to appease pkglint.
2010-05-17 16:31:07 +02:00
|
|
|
.elif !empty(OPSYS:MLinux)
|
2010-04-10 07:57:40 +02:00
|
|
|
USER_EMUL= ${UE_ARCHS}
|
Update qemu to 0.12.4. Okay'ed by wiz@, in PR pkg/43311 filed by me.
---
version 0.12.4:
- Workaround for broken OSS_GETVERSION on FreeBSD, part two (Juergen Lock)
- oss: fix fragment setting (malc)
- oss: issue OSS_GETVERSION ioctl only when needed (malc)
- oss: refactor code around policy setting (malc)
- oss: workaround for cases when OSS_GETVERSION is not defined (malc)
- block: Free iovec arrays allocated by multiwrite_merge() (Stefan Hajnoczi)
- lsi: fix segfault in lsi_command_complete (Gerd Hoffmann)
- lsi: pass lsi_request to lsi_reselect (Gerd Hoffmann)
- lsi: move dma_len+dma_buf into lsi_request (Gerd Hoffmann)
- lsi: move current_dev into lsi_request (Gerd Hoffmann)
- lsi: have lsi_request for the whole life time of the request. (Gerd Hoffmann)
- lsi: use QTAILQ for lsi_queue (Gerd Hoffmann)
- tcp/mips: Change TCG_AREG0 (fp -> s0) (Stefan Weil)
- sh_pci: fix memory and I/O access (Aurelien Jarno)
- Fix incoming migration with iothread (Marcelo Tosatti)
- Fix SIGFPE for vnc display of width/height = 1 (Chris Webb)
- net: remove broken net_set_boot_mask() boot device validation (Eduardo Habkost)
- qcow2: Remove request from in-flight list after error (Kevin Wolf)
- qcow2: Don't ignore immediate read/write failures (Kevin Wolf)
- block: Fix multiwrite memory leak in error case (Kevin Wolf)
- block: Fix error code in multiwrite for immediate failures (Kevin Wolf)
- block: Fix multiwrite error handling (Kevin Wolf)
- scsi-disk: fix buffer overflow (Gerd Hoffmann)
- qcow2: Rewrite alloc_refcount_block/grow_refcount_table (Kevin Wolf)
- qcow2: Factor next_refcount_table_size out (Kevin Wolf)
- block: avoid creating too large iovecs in multiwrite_merge (Christoph Hellwig)
- json-parser: Fix segfault on malformed input (Kevin Wolf)
- linux-user: switch default ppc64 CPU to 970fx from 970 (Aurelien Jarno)
- target-sh4: MMU: fix store queue addresses (Aurelien Jarno)
- target-sh4: MMU: fix ITLB priviledge check (Aurelien Jarno)
- target-sh4: MMU: fix mem_idx computation (Aurelien Jarno)
- sh7750: handle MMUCR TI bit (Aurelien Jarno)
- UHCI spurious interrut fix (Paul Brook)
- tcg/mips: fix branch offset during retranslation (Aurelien Jarno)
- tcg/arm: correctly save/restore registers in prologue/epilogue (Aurelien Jarno)
- workaround for cmd646 bmdma register access while no dma is active (Igor V. Kovalenko)
- Fix corner case in chardev udp: parameter (Jan Kiszka)
- Don't set default monitor when there is a mux'ed one (Jan Kiszka)
- spelling typo (compatibilty) in hw/fw_cfg.c (Vagrant Cascadian)
- fdc: fix drive property handling. (Gerd Hoffmann)
- target-i386: fix commit c22549204a6edc431e8e4358e61bd56386ff6957 (TeLeMan)
- target-i386: fix SIB decoding with index = 4 (Aurelien Jarno)
- Fix segfault with ram_size > 4095M without kvm (Ryan Harper)
- target-i386: Fix long jumps/calls in long mode with REX.W set (malc)
- target-i386: fix lddqu SSE instruction (Aurelien Jarno)
- qemu-char.c: drop debug printfs from qemu_chr_parse_compat (Jan Kiszka)
- fix undefined shifts by >32 (Paolo Bonzini)
- Fix qemu -net user,hostfwd= example (Aurelien Jarno)
---
Also add a patch for e1000.c NIC to make wm(4) work on NetBSD guest:
---
* Reset EEPROM internal state on CS rise edge,
not SK rise edge during CS is low, per CS pin description in
the FM93C06 EEPROM manual:
"... a rising edge on this signal is required to reset the
internal state-machine to accept a new cycle ..."
Intel's em driver seems to explicitly raise and lower SK output
after CS is negated in em_standby_eeprom() so many other OSes
that use Intel's driver don't have this problem, but I can't find
articles that say the MICROWIRE or EEPROM spec requires such sequence.
* It isn't a good idea to use memset(,0,) to clear EEPROM state values,
so explicitly clear status members and preserve the previous EECD values
---
This patch is also filed as upstream QEMU bugs #581737.
While here, several tweaks in Makefile to appease pkglint.
2010-05-17 16:31:07 +02:00
|
|
|
PLIST.nbd= YES
|
2010-04-10 07:57:40 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
PLIST_VARS+= ${UE_ARCHS} nbd
|
|
|
|
.for _var_ in ${USER_EMUL}
|
Update qemu to 0.12.4. Okay'ed by wiz@, in PR pkg/43311 filed by me.
---
version 0.12.4:
- Workaround for broken OSS_GETVERSION on FreeBSD, part two (Juergen Lock)
- oss: fix fragment setting (malc)
- oss: issue OSS_GETVERSION ioctl only when needed (malc)
- oss: refactor code around policy setting (malc)
- oss: workaround for cases when OSS_GETVERSION is not defined (malc)
- block: Free iovec arrays allocated by multiwrite_merge() (Stefan Hajnoczi)
- lsi: fix segfault in lsi_command_complete (Gerd Hoffmann)
- lsi: pass lsi_request to lsi_reselect (Gerd Hoffmann)
- lsi: move dma_len+dma_buf into lsi_request (Gerd Hoffmann)
- lsi: move current_dev into lsi_request (Gerd Hoffmann)
- lsi: have lsi_request for the whole life time of the request. (Gerd Hoffmann)
- lsi: use QTAILQ for lsi_queue (Gerd Hoffmann)
- tcp/mips: Change TCG_AREG0 (fp -> s0) (Stefan Weil)
- sh_pci: fix memory and I/O access (Aurelien Jarno)
- Fix incoming migration with iothread (Marcelo Tosatti)
- Fix SIGFPE for vnc display of width/height = 1 (Chris Webb)
- net: remove broken net_set_boot_mask() boot device validation (Eduardo Habkost)
- qcow2: Remove request from in-flight list after error (Kevin Wolf)
- qcow2: Don't ignore immediate read/write failures (Kevin Wolf)
- block: Fix multiwrite memory leak in error case (Kevin Wolf)
- block: Fix error code in multiwrite for immediate failures (Kevin Wolf)
- block: Fix multiwrite error handling (Kevin Wolf)
- scsi-disk: fix buffer overflow (Gerd Hoffmann)
- qcow2: Rewrite alloc_refcount_block/grow_refcount_table (Kevin Wolf)
- qcow2: Factor next_refcount_table_size out (Kevin Wolf)
- block: avoid creating too large iovecs in multiwrite_merge (Christoph Hellwig)
- json-parser: Fix segfault on malformed input (Kevin Wolf)
- linux-user: switch default ppc64 CPU to 970fx from 970 (Aurelien Jarno)
- target-sh4: MMU: fix store queue addresses (Aurelien Jarno)
- target-sh4: MMU: fix ITLB priviledge check (Aurelien Jarno)
- target-sh4: MMU: fix mem_idx computation (Aurelien Jarno)
- sh7750: handle MMUCR TI bit (Aurelien Jarno)
- UHCI spurious interrut fix (Paul Brook)
- tcg/mips: fix branch offset during retranslation (Aurelien Jarno)
- tcg/arm: correctly save/restore registers in prologue/epilogue (Aurelien Jarno)
- workaround for cmd646 bmdma register access while no dma is active (Igor V. Kovalenko)
- Fix corner case in chardev udp: parameter (Jan Kiszka)
- Don't set default monitor when there is a mux'ed one (Jan Kiszka)
- spelling typo (compatibilty) in hw/fw_cfg.c (Vagrant Cascadian)
- fdc: fix drive property handling. (Gerd Hoffmann)
- target-i386: fix commit c22549204a6edc431e8e4358e61bd56386ff6957 (TeLeMan)
- target-i386: fix SIB decoding with index = 4 (Aurelien Jarno)
- Fix segfault with ram_size > 4095M without kvm (Ryan Harper)
- target-i386: Fix long jumps/calls in long mode with REX.W set (malc)
- target-i386: fix lddqu SSE instruction (Aurelien Jarno)
- qemu-char.c: drop debug printfs from qemu_chr_parse_compat (Jan Kiszka)
- fix undefined shifts by >32 (Paolo Bonzini)
- Fix qemu -net user,hostfwd= example (Aurelien Jarno)
---
Also add a patch for e1000.c NIC to make wm(4) work on NetBSD guest:
---
* Reset EEPROM internal state on CS rise edge,
not SK rise edge during CS is low, per CS pin description in
the FM93C06 EEPROM manual:
"... a rising edge on this signal is required to reset the
internal state-machine to accept a new cycle ..."
Intel's em driver seems to explicitly raise and lower SK output
after CS is negated in em_standby_eeprom() so many other OSes
that use Intel's driver don't have this problem, but I can't find
articles that say the MICROWIRE or EEPROM spec requires such sequence.
* It isn't a good idea to use memset(,0,) to clear EEPROM state values,
so explicitly clear status members and preserve the previous EECD values
---
This patch is also filed as upstream QEMU bugs #581737.
While here, several tweaks in Makefile to appease pkglint.
2010-05-17 16:31:07 +02:00
|
|
|
PLIST.${_var_}= YES
|
2010-04-10 07:57:40 +02:00
|
|
|
.endfor
|
|
|
|
|
2007-12-18 01:16:56 +01:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/Makefile.multinode-NetBSD \
|
|
|
|
${DESTDIR}${PREFIX}/share/doc/qemu/
|
2006-09-16 23:39:30 +02:00
|
|
|
|
2010-12-27 13:33:32 +01:00
|
|
|
# On Darwin, qemu uses Cocoa and CoreAudio
|
|
|
|
.if empty(OPSYS:MDarwin)
|
2006-03-09 22:04:39 +01:00
|
|
|
.include "../../mk/oss.buildlink3.mk"
|
2010-12-27 13:33:32 +01:00
|
|
|
.endif
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
2004-11-15 12:35:30 +01:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
2004-11-09 14:05:33 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|