Subject: CVS commit: pkgsrc/emulators/bochs
From: Ryo ONODERA
Date: 2019-01-13 12:59:38
Message id: 20190113115938.4AEC1FB16@cvs.NetBSD.org

Log Message:
Update to 2.6.9

Changelog:
Changes in 2.6.9 (April 9, 2017):

Brief summary :
  - CPU: implemented new instructions and x86 architecture extensions.
  - Bugfixes for CPU emulation correctness.
  - Added Android host platform support.
  - Added USB EHCI device emulation support.
  - Added USB floppy (UFI/CBI) support.
  - Added ethernet module 'socket', designed to interconnect Bochs instances.
  - Show textconfig at runtime in the Bochs VGA window (gui console).

Detailed change log :

- General
  - Added new log action "warn", designed to show a message box on \ 
error events.
  - Show message box before exit if log action is set to "fatal".
  - Added macro BX_FATAL for all cases when continuing is not recommended, since
    it can cause an application crash or incorrect simulation behaviour.

- Configure and compile
  - Added Android host platform support.
  - Configure script now prints warnings for features not maintained yet.

- GUI and display libraries
  - Show the runtime configuration in the Bochs VGA window (gui console) instead
    of console / xterm (rfb, sdl, sdl2, vncsrv and X11 guis).
  - SDL2: Added get/set clipboard text support.

- CPU / CPUDB
  - Bugfixes for CPU emulation correctness (critical bugfix for x86-64 and AVX \ 
opcodes emulation,
    fixed assertion failures in proc_ctrl.cc)
  ! VMX: Implemented Page Modification Logging (PML)
  ! VMX: Implemented TSC Scaling Extension
  ! Paging: Implemented Protection Keys
  ! Implemented UMIP: User Mode Instruction Prevention (don't allow execution of \ 
SLDT/SIDT/SGDT/STR/SMSW with CPL>0)
  ! Implemented RDPID instruction
  ! Implemented VPOPCNTD/VPOPCNTQ AVX512 instructions
  ! Implemented XSAVES/XRSTORS instructions and IA32_XSS MSR
  ! Implemented Translation Cache Extensions (TCE) for AMD CPUID and EFER.TCE control
  ! Implemented CLZERO instruction (AMD), enabled in Ryzen CPU model
  ! Implemented MONITORX/MWAITX instructions (AMD), enabled in Ryzen CPU model
  ! CPUDB: Added AMD Ryzen configuration to CPUDB

- I/O Devices
  - Busmouse
    - Added standard bus mouse support in addition to the existing InPort
      emulation code. (patch by Ben Lunt).
  - Hard drive
    - Implemented lock mechanism for hard disk images. An image that is opened
      in r/w mode cannot be used multiple times (e.g. by another Bochs session).
    - Several fixes in some disk image modes.
  - Serial / Parallel ports
    - Added support for changing output file at runtime.
  - Networking
    - Added ethernet module 'socket', designed to interconnect Bochs instances
      with external program 'bxhub' (simulating a multi-port ethernet hub).
    - Now creating separate plugins for each network driver implementation
      (slirp, win32, etc.).
  - Sound
    - Added PCM output data resampling in a separate thread. The resampler
      requires either libsamplerate or the SoX resampler library installed.
    - SDL: Added audio capture support (requires library version >= 2.0.5).
    - Now creating separate plugins for each sound driver (alsa, win, etc.).
  - USB
    - Added USB EHCI device emulation support (EHCI core ported from Qemu).
    - Added USB floppy (UFI/CBI) support (patch by Ben Lunt).
    - Added asynchronus USB packet completion support (needed by disk/cdrom
      seek and read/write latency emulation).
    - Implemented USB remote wakeup mechanism.
    - Fixed NAK response handling in all USB HCs.
    - USB printer: added support for changing output file at runtime.
    - Added common USB device option "debug" to turn on BX_DEBUG \ 
reporting at
      connection time.

- ROM BIOS
  - Implemented Bochs BIOS option "fastboot" for skipping the boot \ 
menu delay.

Files:
RevisionActionfile
1.93modifypkgsrc/emulators/bochs/Makefile
1.20modifypkgsrc/emulators/bochs/PLIST
1.32modifypkgsrc/emulators/bochs/distinfo
1.2modifypkgsrc/emulators/bochs/patches/patch-iodev_network_slirp_compat_cc
1.2modifypkgsrc/emulators/bochs/patches/patch-iodev_sound_soundosx.cc
1.1addpkgsrc/emulators/bochs/patches/patch-iodev_network_eth__socket.cc