1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
Commit Graph

108 Commits

Author SHA1 Message Date
Pav Lucistnik
d095d4a965 - Remove conditional checks for FreeBSD 5.x and older 2009-01-05 19:44:02 +00:00
Juergen Lock
d6764fe00e Attempt to fix savevm that was broken by the original patch-CVE-2008-0928
by allowing writes outside the disk image boundaries if the guest isn't
running.

PR:		ports/129417
Submitted by:	Nate Eldredge <neldredge@math.ucsd.edu>
Obtained from:	debian (sid kvm_72+dfsg-3.diff.gz, adapted)
2008-12-04 22:36:46 +00:00
Juergen Lock
8a13eaf0cc Fix build in unusual environments:
- CFLAGS containing commas [1]
- Missing /usr/bin/perl symlink [2]

Requested by:	Denis Kozadaev <denis@tambov.ru> [1]
Requested by:	Michal Bartkowiak <michal@bartkowiak.biz> [2]
2008-11-18 20:07:53 +00:00
Juergen Lock
6bc005ce59 Fix heap overflow in Cirrus emulation
Obtained from:	qemu svn
Security:	http://www.vuxml.org/freebsd/07bb3bd2-a920-11dd-8503-0211060005df.html
2008-11-02 22:59:10 +00:00
Juergen Lock
906cd18ce7 Add note about pcap on 6.x 2008-08-02 18:31:15 +00:00
Juergen Lock
4cbdac07e0 - Add pcap patch as an OPTION
- Bump PORTREVISION

Submitted by:	jkim
2008-08-02 18:29:39 +00:00
Pav Lucistnik
acacd0d015 - Remove duplicates from MAKE_ENV after inclusion of CC and CXX in default MAKE_ENV 2008-07-25 09:38:45 +00:00
Juergen Lock
54b840b37a - Update to 20080620 svn snapshot, which uses the new kqemu-kmod-devel
port that now also works for the 32 bit "qemu" executable on amd64
  (if you build with the KQEMU knob on, you have to deinstall the old
  kqemu-kmod first if it is installed)
- Add an ALL_TARGETS knob that, if turned off, omits the remaining dyngen
  targets, eliminating the need for gcc 3.4 (everything but ppc and sh4
  has been converted to tcg in this snapshot)
- Add tcg fixes for amd64 guests on i386 hosts (two of three have been
  committed to qemu svn in the meantime) [1]
- Update the pkg-message about kqemu on amd64, and add a note about using
  nfs with slirp, the latter [2]
- Homepage now at http://bellard.org/qemu/ - update links

Submitted by:	nox [1]
Submitted by:	joerg [2]
2008-07-08 18:42:09 +00:00
Edwin Groothuis
090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00
Juergen Lock
de9d1ceb0a Fix NOPORTDOCS when texi2html is not installed
Found by:	itetcu
2008-06-03 18:39:51 +00:00
Juergen Lock
686e3757f3 - Add note about network boot issues to pkg-message.s
- Remove obsolete dhcp patch
- Bump PORTREVISION
2008-05-17 18:53:44 +00:00
Juergen Lock
ea0a91f50e - Add notes about how to autoload kqemu at boot and about the fact that
kqemu only accellerates qemu-system-x86_64 on amd64 that were missing
  in qemu's pkg-message [1]
- Update the note about kqemu on amd64 SMP, and add a reminder to keep
  kqemu in sync with the kernel while I'm at it
- Bump PORTREVISION

Noticed by:	bakul [1]
2008-05-13 18:29:38 +00:00
Juergen Lock
bac358a249 Fix "drive_init()" Disk Format Security Bypass
Obtained from:	qemu cvs
Security:	http://www.vuxml.org/freebsd/8950ac62-1d30-11dd-9388-0211060005df.html
2008-05-08 20:45:10 +00:00
Juergen Lock
c291820c82 - Use PREFIX for qemu-ifup, install default scripts, bump PORTREVISION [1]
- Patch a pointer to pkg-message into the manpage

Submitted by:	bms [1]
2008-04-03 20:18:40 +00:00
Juergen Lock
a0b37a1336 - Fix -curses typo concerning ctrl-d and ctrl-t handling
- Bump PORTREVISION

Obtained from:	qemu cvs
2008-03-21 22:20:07 +00:00
Juergen Lock
e2f267539d - Add runtime warning when aio is not loaded
- Bump PORTREVISION

Requested by:	several people on freebsd-emulation@
2008-03-21 17:31:52 +00:00
Pav Lucistnik
9fc1c4fe89 - Remove USE_GETOPT_LONG which is a no-op since March 2007 2008-03-20 09:56:52 +00:00
Martin Wilke
2d73db3533 - Chase devel/sdl12 shlib version bump 2008-03-13 14:28:35 +00:00
Juergen Lock
36d9a676be - Add tcg bugfix that went missing in the security rush [1]
- Change the e1000 mmio addr space according to spec [2]
- Update pkg-message
- Bump PORTREVISION

Submitted by:	nox [1]
Obtained from:	qemu cvs [2]
2008-03-12 20:01:31 +00:00
Juergen Lock
cf1bcdae1c - Update to 2008-03-02 snapshot [1]
- Fix unchecked block read/write vulnerability [2]

Submitted by:	nox [1]
Obtained from:	qemu cvs [2]
Security:	http://www.vuxml.org/freebsd/9cfbca7f-efb7-11dc-be01-0211060005df.html
2008-03-11 23:34:14 +00:00
Juergen Lock
62d040db7a Fix translation block local denial of service vulnerability
Obtained from:	qemu cvs
Security:	http://www.freebsd.org/ports/portaudit/30f5ca1d-a90b-11dc-bf13-0211060005df.html
2007-12-13 01:10:53 +00:00
Juergen Lock
d79579befe - Update to 20070802 snapshot
(longer) log is at:
  http://people.freebsd.org/~nox/qemu/qemu-devel-log-20070802.txt
2007-08-09 20:03:30 +00:00
Juergen Lock
af3dea9281 - Update to 20070702 snapshot
(longer) log is at:
  http://people.freebsd.org/~nox/qemu/qemu-devel-log-20070702.txt
- Point WWW back at fabrice.bellard.free.fr, qemu.org still seems to be down
2007-07-10 20:24:59 +00:00
Juergen Lock
d4874a8dbb Update to 2007-05-26 snapshot:
- sparc: Fill in real SparcStation 10 values
- sparc: Fix co-processor branch and store ops (Aurelien Jarno)
- sparc: Fix stdfq op (Aurelien Jarno)
- mips: Clear BEV and ERL for the fake bootloader.
- 64bit MIPS FPUs have 32 registers.
- mips: Fix RDHWR handling. Code formatting. Don't use *_direct versions
  to raise exceptions.
- mips: Fix disabling of the Cause register for R2.
- mips: Handle EBase properly.
- mips: Fix rotr immediate ops, mask shift/rotate arguments to their allowed
  size.
- mips: fix branch delay slot cornercases.
- Fix for PowerPC 64 rotates.
- Fix for PowerPC 64 load & store with immediate index.
- SD card emulation (initial implementation by Andrzei Zaborowski).
- mips: Save state for all CP0 instructions, they may throw a CPU exception.
- mips: Fix handling of ADES exceptions.
- sparc: Enforce even float register pair for double register ops
  (Aurelien Jarno)
- sparc: Full implementation of IEEE exceptions (Aurelien Jarno)
- mips: Fix ins/ext cornercase.
- mips: Actually skip over delay slot for a non-taken branch likely.
- mips: Set proper BadVAddress value for unaligned instruction fetch.
- mips: Implement prefx.
- PowerPC 64 fixes
- Unify IRQ handling.
- Fix TCX base on SS10
- Sparc32/64 CPU selection for user emulator
- Fix generated code disasm output on Sparc64 host
- ARM IRQ fix.
- mips: Remove bogus mtc0 handling.
- mips: Fix exception handling cornercase for rdhwr.
- mips: Catch unaligned sc/scd.
- mips: Mark watchpoint features as unimplemented.
- mips: Proper handling of reserved bits in the context register.
- mips: Fix CP0_IntCtl handling.
- Fix monitor disasm output for Sparc64 target
- Implement embedded IRQ controller for PowerPC 6xx/740 & 750.
  Fix PowerPC external interrupt input handling and lowering.
  Fix OpenPIC output pins management.
  Fix multiples bugs in OpenPIC IRQ management.
  Fix OpenPIC CPU(s) reset function.
  Fix Mac99 machine to properly route OpenPIC outputs to the PowerPC
  input pins.
  Fix PREP machine to properly route i8259 output to the PowerPC external
  interrupt pin.
- mips: More Context/Xcontext fixes. Ifdef some 64bit-only ops, they may
  end up empty for 32bit mips, which dyngen trips over.
- mips: Throw RI for invalid MFMC0-class instructions. Introduce optional
  MIPS_STRICT_STANDARD define to adhere more to the spec than it makes
  sense in normal operation.
- mips: Make SYNCI_Step and CCRes CPU-specific.
- Embedded PowerPC Device Control Registers infrastructure.
- Add PowerPC 405 input pins (IRQ, resets, ...) model.
- sparc: Alignment check mechanism (not fully enabled yet) (Aurelien Jarno)
- Fix Sparc64 wrfprs, move VIS ops where they belong, more VIS ops
- Fix Sparc32 device save methods
- mips: Another fix for CP0 Cause register handling.
- Add TARGET_FMT_plx to properly display target_phys_addr_t variables.
- Fix miscellaneous display warnings for PowerPC & alpha targets
  and parallel CFI flash driver.
- Know about more PCI device classes.
- mips: Restart interrupts after an exception.
- Add device save and reset methods to FDC and M48T59
- Fix Sparc64 double float gdb protocol (initial version by Paul Brook)
- gdbstub: Fix format specified for watchpoint address.
- Update OpenBIOS for Sparc32 and add a Sparc64 image
- Gallileo fixes, by Stefan Weil.
- mips: Small code generation optimization.
- mips: Fix qemu SIGFPE caused by division-by-zero due to underflow.
- mips: Don't use T2 for INS, it conflicts with branch delay slot handling.
- mips: Simplify branch likely handling.
- Fix a lot of debug traces for PowerPC emulation: use logfile instead of
  stdout
- Parallel flash bugfixes:
  - always need to register flash area back to IO_MEM_ROMD at reset time
  - disabled buffered write as it's not actually supported
  - don't check flash time at registration time
- PowerPC emulation bugfixes:
  - don't generate multiple exit_tb at the end of conditional branches
  - disable TRACE exception as it is not correct for embedded PowerPC.
- Add bus model (or input pins) into PowerPC CPU flags.
  Add PowerPC 970 bus and exceptions model.
  Add code provision for PowerPC 970 instanciation.
- PREP and heathrow machines only support PowerPC CPU with a 6xx bus.
  Mac99 machine may also support PowerPC 970 CPU.
- Add reset callbacks for PowerPC CPU.
  Move cpu_ppc_init, cpu_ppc_close, cpu_ppc_reset and ppc_tlb_invalidate
  into helper.c as they are to be called from outside of the translated code.
- PowerPC 4xx software driven TLB fixes + debug traces.
  Add code provision for more MMU models support.
- Cleanup and add more PowerPC core definitions.
- Memory-mapped interface for PS/2 controller, by Herve Poussineau.
- Memory-mapped interface for RTC, by Herve Poussineau.
- Acer Pica 61 machine, by Herve Poussineau.
- Update OpenBIOS Sparc images to SVN 125
- Add callbacks to allow dynamic change of PowerPC clocks (to be improved)
  Fix embedded PowerPC watchdog and timers
  Fix PowerPC 405 SPR
  Add generic PowerPC 405 core instanciation code + resets support.
  Implement simple peripherals shared by most PowerPC 405 implementations
  PowerPC 405 EC & EP microcontrollers preliminary support
- Support it_shift for mmapped pckbd.
- Move PowerPC 405 specific definitions into a separate file
  Preliminary code for -kernel option support for PowerPC 405 boards
  Fix DBSR in case of PowerPC 405 chip reset
  Add enums for PowerPC 405 clocks.
  Fix IRQ numbers (IBM reversed bits numbering...)
  Fix SPRG4-7 read access right
  Fix MSR mask in CPU definitions
- mips: Choose number of TLBs at runtime, by Herve Poussineau.
- Fix mmapped register alignment and endianness handling.
- TCX palette bug fix
- Ptable calculation broken for 32bit code under x86_64, by Bernhard Kauer.
- Another lsi53c895a patch, by Wang Cheng Yeh.
- Fix keyboard detection bugs
- Duplicated SPR fix for BookE PowerPC by Guglielmo Morandin
- More Gallileo register initialization, by Aurelien Jarno and Stefan Weil.
- Fix keyboard serial and mouse bugs
- TCX 24 bit model support
- lsi53c895a: Typo fix, by Wang Cheng Yeh.
- Sparc64 update: more VIS ops
- PowerPC embedded timers fixes.
  Improve PowerPC timers debug.
- PowerPC 405 microcontrollers fixes and improvments:
  - use target_phys_addr_t for physical addresses / offsets
  - implement fake general purpose timers and memory access layer
    for PowerPC 405EP
  - more assigned internal IRQs.
- Improve PowerPC 405 MMU model / share more code for other embedded targets
  support.
  Fix PowerPC 405 MSR mask.
- Code provision for new PowerPC embedded target support with:
  - 1 kB page size
  - 64 bits GPR
  - 64 bits physical address space
  - SPE extension support.
  Change TARGET_PPCSPE into TARGET_PPCEMB
- Add -pflash option to register parallel flash bloc devices.
- New target for embedded PowerPC emulation (only system emulation, for now).
- Evaluation boards for PowerPC 405EP.
- mips malta: Improved mini-bootloader, based on a patch by Alec Voropay.
- mips: Fix lui sign extension.
- Update Sparc32 rom to support *BSD boot and 24 bit TCX
- i386: Workaround qemu guest SIGSEGVs with cmpxchg8b insn, by Juergen Keil.
- Fix Sparc32 ldscript
- lsi53c895a: Fix length mismatch condition, by Wang Cheng Yeh.
- scsi-disk: Buffer length fixes, by Wang Cheng Yeh.
- mips: Switch default CPU to 24Kf for now, as the Linux FPU emulation in
  the current qemu mips emulation fails in some cases. (The Linux
  FPU emulation works on real FPU-less hardware.)
- Memory-mapped interface for VGA, by Herve Poussineau.
- Crop VNC update requests to avoid segfaults, by Thomas Tuttle.
- Fix ARM fine pagetables.
- sparc: Fix CPU type zapped by system_reset
- More Sparc32 CPUs
- mips: Kill broken host register definitions, thanks to Paul Brook and Herve
  Poussineau for debugging this.
- PCMCIA bus support. Parts of CF-ATA command set. Hitachi DSCM microdrive emulation.
- Core features of ARM XScale processors. Main PXA270 and PXA255 peripherals.
- Remove repeated code and enable encrypted SD cards and USB sticks images.
- Add remaining PXA2xx on-chip peripherals except I2C master.
- Implement iwMMXt instruction set for the PXA270 cpu.
- NAND Flash memory emulation and ECC calculation helpers for use by
  NAND controllers.
- Texas Instruments ADS7846 ADC chip.
- Maxim MAX1110/1111 ADC chip.
- Spitz PDA, example PXA270 machine (four similar models).
- Account for machine with RAM which is not mapped at 0x0 in arm_boot.c.
- PL050 status register fixes.
- Honour limited subset of --cpu values instead of ignoring.
- Implement power state changes (IDLE and SLEEP) for PXA.
- -show-cursor switch to inhibit SDL hiding cursor.
- Set OpenBIOS variables in NVRAM
- Don't define HIGH_LATENCY for ARM, this was a workaround for an ALSA problem.
- Handle division by zero case in Sparc64 udivx and sdivx ops
- vmwarevga: Change the PCI IO region start to that hardcoded in VBE bios
  (reported by Jeremy Katz)
- mips: Support for simple YAMON output, by Alec Voropay.
- Some bits of Linux/MIPS host support, still segfaulty.
- mips: Fix a really stupid bug in the [ls]d[lr] emulation, by Herve Poussineau.
- sparc: Fix slavio_misc base
- Add dummy THC and TEC registers to TCX
- mips: Clear BD slot on next exception if appropriate.
- MIPS 64-bit FPU support, plus some collateral bugfixes in the
  conditional branch handling.
- sparc: Fix pc/npc for unaligned load/stores, maybe other exceptions
- Update OpenBIOS/Sparc32 to SVN 144. Changes:
   - Fix power-management location
   - Fix out of bounds accesses
   - Increase virtual memory supply to meet NetBSD and OpenBSD demand
   - More obviously alarming return values for find_pte
   - Fix unaligned memory access
   - Fix memory corruption problems reported by glibc
   - Fix boot-device use
   - Use nvram boot-args and boot-device variables
   - Set variable defaults before nvram_init
   - Improve escape sequence handling
   - Fix nvram parameter area
   - More Sparc32 CPUs
   - Clear preloaded kernel parameters to avoid crash at reset
- sparc: Enable unaligned access faults
- ARM946 CPU support.
- Switch to qemu_ram_alloc() for memory allocation in PXA255/270.
  Pass correct RAM size to arm_load_kernel (currently unused) - thanks to
  BobOfDoom.
  Register the Xscale Internal Memory Storage.
- pxa: Set OOK when OON is set in OSCC register (thanks to BobOfDoom).
  Correct a fatal typo in timer code.
- Correct the number of PXA255 GPIO lines.  Reuse the PXA timers struct for
  PXA27x additional timers.
- Fix MIPS64 address computation specialcase, by Aurelien Jarno.
- Preliminary MIPS 64-bit MMU implementation, by Aurelien Jarno.
- PCMCIA addresses are 26-bit, widen the address type from 16 to 32 bits.
- Fix wrong branch condition in MIPS testandset.
- mips: Fix for the scd instruction, by Aurelien Jarno.
- mips: Fix missing status ro mask initialization, thanks Stefan Weil.
- Improved debug output for the MIPS opcode decoder.
- mips: Implement FP madd/msub, wire up bc1any[24][ft].
- mips: Implemented cabs FP instructions, and improve exception handling for
  trunc/floor/ceil/round.
- Fix softfloat NaN handling.
- Correct NAND erase block size.  Misc fixes in Spitz code.
- Allow VMware-SVGA operation enable before command FIFO is configured.
  Implement "screendump" for 32 bit colour depth.
- MIPS TLB style selection at runtime, by Herve Poussineau.
- mips: MMU code improvements, by Aurelien Jarno.
- Don't decode CP0 XContext on 32bit MIPS.
- Add fpu register support to the gdb code, by Magnus Damm.
- Fix mfc0 and dmtc0 instructions on MIPS64, by Aurelien Jarno.
- Full MIPS64 MMU implementation, by Aurelien Jarno.
- More generic 64 bit multiplication support, by Aurelien Jarno.
- sparc: Force the primary CPU to run and other CPUs to halt, recalculate
  timers after system_reset.
- sparc: Set limits for memory size to avoid overlap with devices
- Enable faults for unassigned memory accesses and unimplemented ASIs
- Fix Qemu division by zero triggered by NetBSD
- Make TCX registers match what NetBSD expects
- mips: Work around the lack of proper handling for self-modifying code.
- mips: Move FPU exception handling into helper functions, since they are big.
  - Fix FP-conditional branches.
  - Check FPU register mode at runtime, not translation time, as the F64
  status bit can change.
- Fix sysrq support from the monitor mux (originally by Jason Wessel).
- Use full 36-bit physical address space on SS10
- Update Sparc32 OpenBIOS image to SVN revision 149. Changes:
  r145: Fix power-management location for SS-10
  r146: Fix overallocation
  r147: NetBSD and OpenBSD fixes:
   - Correct timer and interrupt controller mappings
   - Add ESP clock frequency to avoid division by zero
   - CS4231 exists only in SS5
   - Disable BPP for now, it's not emulated by Qemu anyway
  With these fixes, one NetBSD kernel even got to root device prompt on SS5.
  r148: Update vsprintf.c from Linux to get 64-bit output
  r149: Use full 36-bit physical address space on SS10
- mips: Fix ldl/ldr implementation, by Aurelien Jarno.
- Fix slti/sltiu for MIPS64, by Aurelien Jarno.
- More MIPS 64-bit FPU support.
- Linux loader rewrite, by H. Peter Anvin.
- mips: Fix indexed FP load/store instructions.
- mips: Catch more MIPS FPU cornercases, fix addr.ps and mulr.ps instructions.
- M68k addx/subx fix.
- arm: Don't touch carry flag in ASR <reg> with zero <reg>, submitted by
  Aurelien Jarno.
- Fix interrupt controller address masking
- I2C/SMBus framework.
- mips: The previous patch to make breakpoints work was a performance
  disaster, use a similiar hack as ARM does instead.
- mips: The 24k wants more watch and srsmap registers.
- m68k/ColdFire system emulation.
- Implement the PXA2xx I2C master controller.
  Fix PXA270-specific timers and make minor changes in other PXA parts.
- Add WM8750 and MAX7310 chips (I2C slaves).
  Wolfson Microsystems WM8750 audio chip and Maxim MAX7310 gpio expander
  chip are used in the Spitz.
- Speed up m68k by 20%.
- Use i2c_slave_init() to allocate the PXA (dummy) I2C slave.
  Hush the warning:
  hw/pc.c:402: warning: control reaches end of non-void function
- Savevm/loadvm bits for ARM core, the PXA2xx peripherals and Spitz hardware.
- Commit NAND image changes on "commit all" or "commit mtd".
- Change ptimer API to use 64-bit values, add save and load methods
  Use ptimers for Sparc32 Slavio
- Implement Sparc64 CPU timers using ptimers
2007-05-31 18:24:19 +00:00
Florent Thoumie
d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00
Juergen Lock
2e8303dd61 - Add security fixes from debian etch (slightly adapted to this version)
- Disable -vmwarevga acceleration code for now (missing range checks)

Obtained from:	debian
Security:	http://www.vuxml.org/freebsd/0ac89b39-f829-11db-b55c-000e0c6d38a9.html
2007-05-02 19:55:07 +00:00
Juergen Lock
4601f3cb59 Fix plist
Submitted by:	pointyhat via kris
Approved by:	miwi (mentor, implicit)
2007-04-09 22:11:23 +00:00
Juergen Lock
f3cb5f8aa1 Add patch to avoid eepro100 crashes
Approved by:	miwi (mentor, implicit)
Obtained from:	Stefan Weil on qemu-devel mailinglist
2007-04-09 20:24:44 +00:00
Juergen Lock
1b0229c179 Update to 2007-04-05 snapshot:
- PowerPC bugfixes:
  - must clear carry bit when doing addic with a zero immediate value
  - fix missing RETURN in micro-operation that would lead to random failures
    and crashes
  - add USE_PRECISE_EMULATION compilation-time option to choose between
    getting exact floating point results and fast but less accurate computation.
- PowerPC improvments:
  - add missing 64 bits rotate instructions
  - safely define TARGET_PPCSPE when 64 bits registers are used
    a separate target will be needed to use it in 32 bits mode on 32 bits hosts.
- MIPS: Fix enough FPU/R2 support to get 24Kf going.
- Add missing PowerPC 64 instructions
  PowerPC 64 fixes.
- Upgrade Sparc FPU version (based on patch by Aurelien Jarno)
- One more bit of mips CPU configuration, and support for early 4KEc
  which implemented only MIPS32R1. Thanks to Stefan Weil to insist he's
  right on that. :-)
- Sparc32/64 CPU selection
- Fix segfault with -nographic, by Enache Adrian.
- New model for PowerPC CPU hardware interrupt events:
  move all PowerPC specific code into target-ppc/helper.c to avoid polluting
  the common code in cpu-exec.c. This makes implementation of new features
  (ie embedded PowerPC timers, critical interrupts, ...) easier.
  This also avoid hardcoding the IRQ callback in the OpenPIC controller,
  making it more easily reusable and allowing cascading.
- Fix / update PowerPC BookE definitions.
- PPC: Fix rfi instruction: do not depend on current execution mode
   but on the execution mode that will be effective after the return.
  Add rfci, rfdi and rfmci for BookE PowerPC.
  Extend mfdcr / mtdcr and implement mfdrcx / mtdcrx.
- Sanitize mips exception handling.
- Better fix for OpenPIC: should not depend on PowerPC.
- As embedded PowerPC TLB model is very different from PowerPC 6xx ones,
  define ppc_tlb_t as an union of the two.
- Merge PowerPC 405 MMU model.
- Embedded PowerPC timers support.
- Support for PowerPC BookE exception model.
  No need to requeue timer exceptions.
  Fix nip saving for 64 bits PowerPC.
- Malta CBUS UART support.
- Fix usb hid and mass-storage protocol revision, by Juergen Keil.
- Update for binfmt_misc handler, by Stefan Weil.
- Large kernel initrd fix (initial patch by Daniel Jacobowitz).
- x86: Generate double and triple faults, by Bernhard Kauer.
- MIPS64 configurations.
- Actually enable 64bit configuration.
- Reorganise Sun4m to allow other machine types
- Add SparcStation-10 machine
- Improved initrd support for mips.
- Single mode for PIC i8259, by Bernhard Kauer.
- Qcow2 corruption fix, by Juergen Keil.
- VMware SVGA II emulation, by Andrzej Zaborowski.
- ne2k buffer full bug fix, by Marcel Block.
- Eepro100 emulation, by Stefan Weil.
- Qcow2: Release refcount table clusters after growing the refcount table,
  by Juergen Keil.
- MIPS32R2 needs RDPGPR/WRPGPR instructions even when no shadow registers
  are implemented.
- i386 return APIC ID with cpuid, by Bernhard Kauer.
- Infrastructure to support more than 2 MMU modes.
  Add example for Alpha and PowerPC hypervisor mode.
- And some more bugfixes

Approved by:	miwi (mentor, implicit)
2007-04-07 19:14:42 +00:00
Juergen Lock
626195abb2 Update to 2007-03-22 snapshot:
- ARM reabbot support (orginal patch by Aurelien Jarno).
- SMP half-idle fix.
- Watchpoint support (previous commit got eaten by Savannah server crash).
- ARM register index+writeback fix (Lauro Ramos Venancio).
- PPC: Make it safe to use 64 bits GPR and/or 64 bits host registers.
  For "symetry", add 64 bits versions of all modified functions.
  As a side effect, add a lot of code provision for PowerPC 64 support.
  Move overflow and carry checks in common routines for simple cases.
  Add isel and popcntb instructions from PowerPC 2.03 specification.
  Remove remaining micro-operations helpers prototypes from op.c.
  Fix XER_BC field to be 7 bits long.
  Add power management support for PowerPC 603 & 604.
  Fix compilation warnings.
  Add PowerPC 64 target for tests.
  As no PowerPC 64 CPU is implemented, this target can just be used to
  check that there is no difference between PowerPC 32 & PowerPC 64 used
  in 32 bits mode.
- Allow disabling IDE block mode, by Carlo Marcelo Arenas Belon.
- Don't fail for "revert to poweron defaults" IDE command, by Carlo
  Marcelo Arenas Belon.
- Better ioport debugging output.
- OHCI USB PXA support (Andrzej Zaborowski).
- MIPS -cpu selection support, by Herve Poussineau.
- PPC: As icbi is not a priviledge instruction and is treated as a load
  by the MMU it needs to be implemented for every MMU translation mode.
- MIPS: Fix BD flag handling, cause register contents, implement some
  more bits for R2 interrupt handling.
- A VGA card for the Malta board.
- SCSI fixes, by Wang Cheng Yeh.
- Add -name option, by Anthony Liguori.
- Improve -pidfile option, by Anthony Liguori.
- Close file descriptors when execing network tap setup script, by
  Daniel P. Berrange.
- Fix qemu crash due to sparc division-by-zero, by Aurelien Jarno.
- Fix call to generated code on SPARC, by Juergen Keil.
- mips: Barf on branches/jumps in branch delay slots. Spotted by
  Stefan Weil.
- VMMouse Emulation, by Anthony Liguori.
- SlavIO interrupt controller fix, by Aurelien Jarno.
- SlavIO Counter-Timers fix, by Aurelien Jarno.
- PowerPC 2.03 SPE extension - first pass.
- Fix Sparc branches, original patch by Aurelien Jarno

Approved by:	miwi (mentor, implicit)
2007-03-25 16:33:01 +00:00
Juergen Lock
7584f8ab5c Update repocopied qemu-devel port to 2007-03-09 snapshot:
- reset rombios32 area
- Support for more SPARC relocations, by Martin Bochnig.
- Serial console improvements, by Stefan Weil.
- Qemu support for S32 and U32 alsa output, by Vassili Karpov.
- PS/2 interface - Allow custom IO ports + IRQ, by Herve Poussineau.
- Add PS/2 keyboard to MIPS R4K, by Herve Poussineau.
- Monitor multiplexing, by Jason Wessel.
- -no-frame option for sdl, by Christian Laursen.
- Don't require a disk image for network boot, by Ferenc Wagner.
- Add -bootp option for slirp, by Anthony Liguori.
- Add OACK support to slirp TFTP server, by Anthony Liguori.
- Change -tftp option to take a root directory, by Anthony Liguori.
- 2nd serial port for Malta, by Jason Wessel.
- Increase the number of multiplexed monitor devices.
- Allow arbitrary MIPS BIOS sizes between 0 and 4 MB, by Stefan Weil.
- Allow gdbstub to connect over any serial device.
- Basic USB device resume (root hub only), by Lonnie Mendez.
- 24C01 / 24C02 EEPROM emulation for Malta, by Stefan Weil.
- DS1225Y nvram device, by Herve Poussineau.
- Make removing IOHandlers safe from within an IOHandler, by Anthony Liguori.
- MIPS FPU dynamic activation, part 1, by Herve Poussineau.
- MIPS Userland TLS register emulation, by Daniel Jacobowitz.
- New -cpu options: choose CPU model for emulated target.
  Only relevant on PowerPC targets, for now.
- Simple u-boot image loading support.
- Great PowerPC emulation code resynchronisation and improvments:
  - Add status file to make regression tracking easier
  - Move all micro-operations helpers definitions into a separate header:
    should never be seen outside of op.c
  - Update copyrights
  - Add new / missing PowerPC CPU definitions
  - Add definitions for PowerPC BookE
  - Add support for PowerPC 6xx/7xx software driven TLBs
    Allow use of PowerPC 603 as an example
  - Add preliminary code for POWER, POWER2, PowerPC 403, 405, 440, 601, 602
    and BookE support
  - Avoid compiling priviledged only resources support for user-mode emulation
  - Remove unused helpers / micro-ops / dead code
  - Add instructions usage statistics dump: useful to figure which instructions
    need strong optimizations.
  - Micro-operation fixes:
    * add missing RETURN in some micro-ops
    * fix prototypes
    * use softfloat routines for all floating-point operations
    * fix tlbie instruction
    * move some huge micro-operations into helpers
  - emulation fixes:
    * fix inverted opcodes for fcmpo / fcmpu
    * condition register update is always to be done after the whole
      instruction has completed
    * add missing NIP updates when calling helpers that may generate an
      exception
  - optimizations and improvments:
    * optimize very often used instructions (li, mr, rlwixx...)
    * remove specific micro-ops for rarely used instructions
    * add routines for addresses computations to avoid bugs due to multiple
      different implementations
    * fix TB linking: do not reset T0 at the end of every TB.
- Implement --cpu for ARM.
- And some bugfixes.

Repocopy by:	marcus
Approved by:	miwi (mentor, implicit)
2007-03-10 17:15:07 +00:00
Juergen Lock
829ded25bf - Forced commit to note the following repocopy:
emulators/qemu -> emulators/qemu-devel

Approved by:	miwi (mentor, implicit)
2007-03-10 17:03:05 +00:00
Juergen Lock
7d720684c9 Update to 0.9.0:
- Mouse relative offset VNC extension (Anthony Liguori)
- info vnc command (Anthony Liguori)
- gdbserver fix

NOTES: Please read UPDATING!

Approved by:	miwi (mentor)
2007-02-06 23:49:01 +00:00
Juergen Lock
44e1510ec6 Slirp seems to be working again on -current.
Submitted by:	Scott Robbins <scottro@nyc.rr.com>
Approved by:	miwi (mentor, implicit)
2007-02-04 13:22:07 +00:00
Juergen Lock
3c8cb897ad Update to 2007-02-03 snapshot:
- Fix `could not open hard disk image '/dev/ad0'' (e.g.) when open(2)
fails with EPERM instead of EACCES for ro devices.
- PIIX4 support, by Aurelien Jarno.
- Gallileo GT64xxx support, by Aurelien Jarno.
- MIPS Malta system and devices support, by Aurelien Jarno and Stefan Weil.
- ARM ELF loader.
- Improved console handling, thanks Stefan Weil.
- Disable Malta floppy controller for now, by Aurelien Jarno.
- Big endian support for Gallileo, by Aurelien Jarno.
- Add more ATAPI CDROM DMA support, by Juergen Keil.
- Add ARM Angel semihosting to system emulation.
- Don't resume guest when gdb connection terminates and -S specified.
- mips: Implementing dmfc/dmtc.
- Fix DMA timeouts on FreeBSD, by Carlo Marcelo Arenas Belon.
- New multiple snapshot support for VMDK, by Igor Lvovsky.
- Add support for 82371FB (Step A1) and Improved support for 82371SB
(Function 1), by Carlo Marcelo Arenas Belon.
- Accept -help.
- Accept --foo as an alias for -foo.
- Add nodelay option for TCP character devices.
- Use standard character device interface for gdbstub.
- GDB hosted syscalls.
- Upgrade the apic version_id, by Don Laor.
- Save some vm space for the regular program loading zone, by
Pierre d'Herbemont
- script=no for the TUN/TAP net option, by Jean-Christian de Rivaz
- Sparc arm/mips/sparc register patch, by Martin Bochnig.
- PIIX4 SMBus host, EEPROM device emulation, by Ed Swierk.
- sem* and msg* for qemu, by Kirill Shutemov.
- And some more bugfixes.

Approved by:	miwi (mentor, implicit)
2007-02-03 22:15:28 +00:00
Juergen Lock
50ae7e59e8 Fix crashes on -current/amd64 hosts
Submitted by:	jkim
Approved by:	miwi (mentor, implicit)
2007-01-31 23:20:54 +00:00
Juergen Lock
9c84684b71 Add link to a -current tap howto
Submitted by:	Scott Robbins <scottro@nyc.rr.com>
Approved by:	miwi (mentor)
2007-01-17 23:12:01 +00:00
Juergen Lock
8598b8520e Update qemu to 2007-01-11 snapshot:
- add slirp udp fix
  [this should fix the dns problems with some guests]
- document slirp problems on recent -current (I don't have a -current box
  so if someone wants to help debug this you are most welcome!)
- memsave monitor command
- Dynamic handling of guest mice, by Lonnie Mendez.
- PPC32 Trace Exception and Trap instruction, by Jason Wessel.
- Add -option-rom option to allow loading of PCI option ROMs, by
  Anthony Liguori.
- Add -boot n option for x86 using PXE, by Anthony Liguori.
  [for use with tuntap]
- Support for Bochs "growing" images, by Volker Ruppert.
- Japanese keyboard patch (kazu)
- Revert -disk patch, as requested by Fabrice. The general idea of this
  patch is sound, but the implementation is just too ugly.
  [this should fix the hanging linux guests]
- Devfn number for the PIIX3 southbridge, by Aurelien Jarno.
- Increase MIPS BIOS from 128kB to 4MB, by Aurelien Jarno.
- And some more bugfixes.

Approved by:	miwi (mentor)
2007-01-12 00:13:58 +00:00
Juergen Lock
cc20143e5b Add patch to pass windows keys to qemu guests
PR:		ports/107216
Submitted by:	Scott Robbins <scottro@nyc.rr.com>
Approved by:	miwi (mentor)
2006-12-26 22:41:13 +00:00
Juergen Lock
332215d971 update qemu to 20061225 snapshot:
- Enable TCP_NODELAY, by Daniel Jacobowitz. [speeding up slirp]
- Run monitor over unix domain sockets, by Anthony Liguori.
- Unix domain socket support for VNC, by Anthony Liguori.
- Daemonize option, by Anthony Liguori.
- SCSI emulation improvements, by Chuck Brazie.
[adding scsi disk/cdrom emulation to i386/amd64 guests using new -disk
syntax - quoting /usr/local/share/doc/qemu/qemu-doc.html:

 "-disk scsi,img=file[,sdx=a..g][,type=disk|cdrom][,id=n]"

    Use file as the SCSI disk/CD-ROM image. The defaults are: sdx=a,type=
    disk,id='auto assign'

doing a quick test with a FreeBSD guest I was able to mount and look at
a ufs partition; doesn't seem to quite work with (some?) linux guests
yet tho, will post about this on the qemu list...]
- and a few bug fixes.

Approved by:	miwi (mentor)
2006-12-25 19:49:52 +00:00
Juergen Lock
52f4e6467c Update MAINTAINER email address of my ports
Approved by:	miwi
2006-12-23 17:42:42 +00:00
Martin Wilke
19aaa9ef71 - Update to 20061216
- Fix usb host support

PR:		ports/106820
Submitted by:	Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
2006-12-17 00:22:36 +00:00
Martin Wilke
805b398386 - Update to 20061214
- Fix physical device access

PR:		ports/106727
Submitted by:	Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
2006-12-15 08:17:38 +00:00
Martin Wilke
4c6131bc02 - Update to 2006-11-28 snapshot
- Fix WITHOUT_CDROM_DMA check which was the wrong way around (doh!)
- Document physical device problems in pkg-message and move aio item
  to the bottom so it has a slightly smaller chance of being
  overlooked

PR:		ports/105971
Submitted by:	Juergen Lock (maintainer)
2006-11-29 20:58:35 +00:00
Martin Wilke
4d356ed643 - Update to 20061102
PR:		ports/105086
Submitted by:	Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
Sponsored by:   FreeBSD Bug-a-thon #2
2006-11-04 18:29:35 +00:00
Pav Lucistnik
4a45abe094 - update to 20061031 cvs snapshot (now uses aio and supports acpi and a new
qcow2 image format)
- properly respect NOPORTDOCS
- make -serial /dev/cuadX work (modified patch from this post:
  http://lists.gnu.org/archive/html/qemu-devel/2006-09/msg00201.html , and hi
  Michael! :)
- add WITHOUT_SDL (hi joshe! :) and WITHOUT_CDROM_DMA knobs (the latter to work
  around atapicam problems in FreeBSD guests with the now by default enabled
  ide cdrom dma patch)
- use OPTIONS

PR:		ports/104989
Submitted by:	Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
2006-10-31 22:55:34 +00:00
Stanislav Sedov
0d2725682b - Update devel/sdl12 to version 1.2.11. Now we employ stock SDL directory
structure (i.e. include/SDL for includes and sdl-config for configuration
   binary)
 - Update graphics/sdl_ttf to version 2.0.8
 - Update graphics/sdl_image to version 1.2.5
 - Update audio/sdl_mixer to version 1.2.7
 - Update net/sdl_net to version 1.2.6
 - Update Mk/bsd.sdl.mk accordingly
 - Fix dependent ports to fit the new directory structure and avoid several
   API breakages
 - Bump up portrevisions for all dependent ports to allow them to be upgraded
   by portupgrade/portmaster etc tools

Approved by:    kris (portmgr), sem (mentor)
2006-09-20 11:21:59 +00:00
Kris Kennaway
48859cce81 Chase net/samba to net/samba3 in preparation for removal of the former. 2006-09-02 19:50:47 +00:00
Martin Wilke
868b2cb027 - change to samba3
PR:		ports/102494
Submitted by:	Juergen Lock <nox(at)jelal.kn-bremen.de>,(maintainer)
Approved by:	krion (mentor)
2006-08-25 21:16:20 +00:00
Shaun Amott
daf9bed6c4 - Fix build on 4.x [1]
- Respect CFLAGS [2]
- Support parallel port under FreeBSD [3]

PR:		ports/102154 [1], ports/102188 [2]
Submitted by:	Juergen Lock <nox@jelal.kn-bremen.de> [1],
		Stanislav Sedov <ssedov@mbsd.msk.ru> [2],
		Robert Jenssen (via freebsd-ports) [3]
Approved by:	Juergen Lock <nox@jelal.kn-bremen.de> (maintainer) [2] [3]
2006-08-21 23:02:01 +00:00