pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/emulators/bochs



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Sun Jan 13 11:59:38 UTC 2019

Modified Files:
        pkgsrc/emulators/bochs: Makefile PLIST distinfo
        pkgsrc/emulators/bochs/patches: patch-iodev_network_slirp_compat_cc
            patch-iodev_sound_soundosx.cc
Added Files:
        pkgsrc/emulators/bochs/patches: patch-iodev_network_eth__socket.cc

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.


To generate a diff of this commit:
cvs rdiff -u -r1.92 -r1.93 pkgsrc/emulators/bochs/Makefile
cvs rdiff -u -r1.19 -r1.20 pkgsrc/emulators/bochs/PLIST
cvs rdiff -u -r1.31 -r1.32 pkgsrc/emulators/bochs/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/emulators/bochs/patches/patch-iodev_network_eth__socket.cc
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/emulators/bochs/patches/patch-iodev_network_slirp_compat_cc \
    pkgsrc/emulators/bochs/patches/patch-iodev_sound_soundosx.cc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/bochs/Makefile
diff -u pkgsrc/emulators/bochs/Makefile:1.92 pkgsrc/emulators/bochs/Makefile:1.93
--- pkgsrc/emulators/bochs/Makefile:1.92        Wed Nov 14 22:21:25 2018
+++ pkgsrc/emulators/bochs/Makefile     Sun Jan 13 11:59:37 2019
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.92 2018/11/14 22:21:25 kleink Exp $
+# $NetBSD: Makefile,v 1.93 2019/01/13 11:59:37 ryoon Exp $
 
-DISTNAME=              bochs-2.6.8
-PKGREVISION=           8
+DISTNAME=              bochs-2.6.9
 CATEGORIES=            emulators
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=bochs/}
 

Index: pkgsrc/emulators/bochs/PLIST
diff -u pkgsrc/emulators/bochs/PLIST:1.19 pkgsrc/emulators/bochs/PLIST:1.20
--- pkgsrc/emulators/bochs/PLIST:1.19   Mon Jan  1 22:29:26 2018
+++ pkgsrc/emulators/bochs/PLIST        Sun Jan 13 11:59:38 2019
@@ -1,10 +1,19 @@
-@comment $NetBSD: PLIST,v 1.19 2018/01/01 22:29:26 rillig Exp $
+@comment $NetBSD: PLIST,v 1.20 2019/01/13 11:59:38 ryoon Exp $
 bin/bochs
+bin/bxhub
 bin/bximage
 ${PLIST.notiny}${PLIST.plugins}lib/bochs/plugins/libbx_acpi.la
 ${PLIST.notiny}${PLIST.plugins}lib/bochs/plugins/libbx_biosdev.la
 ${PLIST.notiny}${PLIST.plugins}lib/bochs/plugins/libbx_cmos.la
 ${PLIST.notiny}${PLIST.plugins}lib/bochs/plugins/libbx_dma.la
+${PLIST.notiny}${PLIST.plugins}lib/bochs/plugins/libbx_eth_fbsd.la
+${PLIST.notiny}${PLIST.plugins}lib/bochs/plugins/libbx_eth_null.la
+${PLIST.notiny}${PLIST.plugins}lib/bochs/plugins/libbx_eth_slirp.la
+${PLIST.notiny}${PLIST.plugins}lib/bochs/plugins/libbx_eth_socket.la
+${PLIST.notiny}${PLIST.plugins}lib/bochs/plugins/libbx_eth_tap.la
+${PLIST.notiny}${PLIST.plugins}lib/bochs/plugins/libbx_eth_tuntap.la
+${PLIST.notiny}${PLIST.plugins}lib/bochs/plugins/libbx_eth_vde.la
+${PLIST.notiny}${PLIST.plugins}lib/bochs/plugins/libbx_eth_vnet.la
 ${PLIST.notiny}${PLIST.plugins}lib/bochs/plugins/libbx_extfpuirq.la
 ${PLIST.notiny}${PLIST.plugins}lib/bochs/plugins/libbx_floppy.la
 ${PLIST.notiny}${PLIST.plugins}lib/bochs/plugins/libbx_gameport.la
@@ -13,7 +22,6 @@ ${PLIST.notiny}${PLIST.plugins}lib/bochs
 ${PLIST.notiny}${PLIST.plugins}lib/bochs/plugins/libbx_ioapic.la
 ${PLIST.notiny}${PLIST.plugins}lib/bochs/plugins/libbx_keyboard.la
 ${PLIST.notiny}${PLIST.plugins}lib/bochs/plugins/libbx_ne2k.la
-${PLIST.notiny}${PLIST.plugins}lib/bochs/plugins/libbx_netmod.la
 ${PLIST.notiny}${PLIST.plugins}lib/bochs/plugins/libbx_parallel.la
 ${PLIST.notiny}${PLIST.plugins}lib/bochs/plugins/libbx_pci.la
 ${PLIST.notiny}${PLIST.plugins}lib/bochs/plugins/libbx_pci2isa.la
@@ -22,7 +30,8 @@ ${PLIST.notiny}${PLIST.plugins}lib/bochs
 ${PLIST.notiny}${PLIST.plugins}lib/bochs/plugins/libbx_pic.la
 ${PLIST.notiny}${PLIST.plugins}lib/bochs/plugins/libbx_pit.la
 ${PLIST.notiny}${PLIST.plugins}lib/bochs/plugins/libbx_serial.la
-${PLIST.notiny}${PLIST.plugins}lib/bochs/plugins/libbx_soundmod.la
+${PLIST.notiny}${PLIST.plugins}lib/bochs/plugins/libbx_sounddummy.la
+${PLIST.notiny}${PLIST.plugins}lib/bochs/plugins/libbx_soundfile.la
 ${PLIST.notiny}${PLIST.plugins}lib/bochs/plugins/libbx_speaker.la
 ${PLIST.notiny}${PLIST.plugins}lib/bochs/plugins/libbx_svga_cirrus.la
 ${PLIST.notiny}${PLIST.plugins}${PLIST.nox11}lib/bochs/plugins/libbx_term.la

Index: pkgsrc/emulators/bochs/distinfo
diff -u pkgsrc/emulators/bochs/distinfo:1.31 pkgsrc/emulators/bochs/distinfo:1.32
--- pkgsrc/emulators/bochs/distinfo:1.31        Tue Nov  3 20:30:55 2015
+++ pkgsrc/emulators/bochs/distinfo     Sun Jan 13 11:59:38 2019
@@ -1,11 +1,12 @@
-$NetBSD: distinfo,v 1.31 2015/11/03 20:30:55 agc Exp $
+$NetBSD: distinfo,v 1.32 2019/01/13 11:59:38 ryoon Exp $
 
-SHA1 (bochs-2.6.8.tar.gz) = 561dc622033facb321fd9ac2e56589ae724cfdb2
-RMD160 (bochs-2.6.8.tar.gz) = cf6f9a427559c79e18c208a89e7146b6e9798ea5
-SHA512 (bochs-2.6.8.tar.gz) = 5e7438a6a09417cbc0b311810a485374bb9b10be452edd9daff0afacd487ada66f37b8189d4868d3420dae82ef6c38fe279d541d24f8a41bf1ca59359572e7bd
-Size (bochs-2.6.8.tar.gz) = 5075617 bytes
+SHA1 (bochs-2.6.9.tar.gz) = 1aec18479c33d9abc7a43c0fbd744eb86199c55d
+RMD160 (bochs-2.6.9.tar.gz) = d437bbaa04b8bb9f3b42a51860459dcc4e308616
+SHA512 (bochs-2.6.9.tar.gz) = dfecf3a1bad07f06c2f7bb989d146e4a8eaeca493b598d415f5a4aec2a85eb5524ba417422157608c8b0828832611df487c6923c8f4ad98a147ac089fc514c46
+Size (bochs-2.6.9.tar.gz) = 5169187 bytes
 SHA1 (patch-.bochsrc) = df5b8879ec005fe44bca8bee42c549095012013d
 SHA1 (patch-Makefile.in) = ca8d485a9f4901df15eb3e521105de2ae833cfcb
-SHA1 (patch-iodev_network_slirp_compat_cc) = 76786b51ca1e95402ff1b2a543b00f0750bb349e
-SHA1 (patch-iodev_sound_soundosx.cc) = 60ba51ac619b8149710d5ae7940ed6e4a68b36c2
+SHA1 (patch-iodev_network_eth__socket.cc) = 37c4ab50da3f646ffc541001e8a8b7c93a7995c4
+SHA1 (patch-iodev_network_slirp_compat_cc) = a48d112daac6049c0ee8076eb012ab2f44740889
+SHA1 (patch-iodev_sound_soundosx.cc) = 7dacc7df74e64d3df72a241a291f434f72722cec
 SHA1 (patch-main.cc) = 77296af5e8101c7c9ded37ec77571dbc61f98e4b

Index: pkgsrc/emulators/bochs/patches/patch-iodev_network_slirp_compat_cc
diff -u pkgsrc/emulators/bochs/patches/patch-iodev_network_slirp_compat_cc:1.1 pkgsrc/emulators/bochs/patches/patch-iodev_network_slirp_compat_cc:1.2
--- pkgsrc/emulators/bochs/patches/patch-iodev_network_slirp_compat_cc:1.1      Wed Jul  1 13:39:17 2015
+++ pkgsrc/emulators/bochs/patches/patch-iodev_network_slirp_compat_cc  Sun Jan 13 11:59:38 2019
@@ -1,14 +1,14 @@
-$NetBSD: patch-iodev_network_slirp_compat_cc,v 1.1 2015/07/01 13:39:17 ryoon Exp $
+$NetBSD: patch-iodev_network_slirp_compat_cc,v 1.2 2019/01/13 11:59:38 ryoon Exp $
 
 (At least NetBSD/amd64 7.99.1 has following problem)
 slirp/compat.cc:141:40: error: 'WIFEXITED' was not declared in this scope
 slirp/compat.cc:144:35: error: 'WEXITSTATUS' was not declared in this scope
 
---- iodev/network/slirp/compat.cc~     2014-04-19 02:14:32.000000000 +0900
-+++ iodev/network/slirp/compat.cc      2014-12-12 01:01:35.000000000 +0900
-@@ -27,6 +27,10 @@
- 
- #include "slirp.h"
+--- iodev/network/slirp/compat.cc.orig 2016-08-12 17:06:14.000000000 +0000
++++ iodev/network/slirp/compat.cc
+@@ -35,6 +35,10 @@
+ # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
+ #endif
  
 +#ifdef __NetBSD__
 +# include "sys/wait.h"
Index: pkgsrc/emulators/bochs/patches/patch-iodev_sound_soundosx.cc
diff -u pkgsrc/emulators/bochs/patches/patch-iodev_sound_soundosx.cc:1.1 pkgsrc/emulators/bochs/patches/patch-iodev_sound_soundosx.cc:1.2
--- pkgsrc/emulators/bochs/patches/patch-iodev_sound_soundosx.cc:1.1    Mon Oct  1 13:40:48 2012
+++ pkgsrc/emulators/bochs/patches/patch-iodev_sound_soundosx.cc        Sun Jan 13 11:59:38 2019
@@ -1,9 +1,9 @@
-$NetBSD: patch-iodev_sound_soundosx.cc,v 1.1 2012/10/01 13:40:48 ryoon Exp $
+$NetBSD: patch-iodev_sound_soundosx.cc,v 1.2 2019/01/13 11:59:38 ryoon Exp $
 
---- iodev/sound/soundosx.cc.orig       2012-09-02 11:30:10.000000000 +0000
+--- iodev/sound/soundosx.cc.orig       2017-03-14 18:21:05.000000000 +0000
 +++ iodev/sound/soundosx.cc
-@@ -21,7 +21,7 @@
- // This file (SOUNDOSX.CC) written and donated by Brian Huffman
+@@ -26,7 +26,7 @@
+ #define BX_PLUGGABLE
  
  #ifdef PARANOID
 -#include <MacTypes.h>

Added files:

Index: pkgsrc/emulators/bochs/patches/patch-iodev_network_eth__socket.cc
diff -u /dev/null pkgsrc/emulators/bochs/patches/patch-iodev_network_eth__socket.cc:1.1
--- /dev/null   Sun Jan 13 11:59:38 2019
+++ pkgsrc/emulators/bochs/patches/patch-iodev_network_eth__socket.cc   Sun Jan 13 11:59:38 2019
@@ -0,0 +1,22 @@
+$NetBSD: patch-iodev_network_eth__socket.cc,v 1.1 2019/01/13 11:59:38 ryoon Exp $
+
+--- iodev/network/eth_socket.cc.orig   2017-03-30 18:08:15.000000000 +0000
++++ iodev/network/eth_socket.cc
+@@ -83,12 +83,14 @@ extern "C" {
+ #include <sys/types.h>
+ #include <sys/socket.h>
+ #include <sys/ioctl.h>
+-#include <netpacket/packet.h>
+ #include <netinet/in.h>
+-#include <net/ethernet.h>
+ #include <net/if.h>
+-#include <linux/types.h>
+ #include <netdb.h>
++#if defined(__linux__)
++#include <netpacket/packet.h>
++#include <net/ethernet.h>
++#include <linux/types.h>
++#endif
+ #define closesocket(s) close(s)
+ typedef int SOCKET;
+ #ifndef INVALID_SOCKET



Home | Main Index | Thread Index | Old Index