pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators/bochs Update to 2.6.9
details: https://anonhg.NetBSD.org/pkgsrc/rev/bbf92ba48863
branches: trunk
changeset: 317681:bbf92ba48863
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Sun Jan 13 11:59:37 2019 +0000
description:
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.
diffstat:
emulators/bochs/Makefile | 5 +-
emulators/bochs/PLIST | 15 +++++++-
emulators/bochs/distinfo | 15 ++++----
emulators/bochs/patches/patch-iodev_network_eth__socket.cc | 22 +++++++++++++
emulators/bochs/patches/patch-iodev_network_slirp_compat_cc | 12 +++---
emulators/bochs/patches/patch-iodev_sound_soundosx.cc | 8 ++--
6 files changed, 54 insertions(+), 23 deletions(-)
diffs (145 lines):
diff -r c043dba36902 -r bbf92ba48863 emulators/bochs/Makefile
--- a/emulators/bochs/Makefile Sun Jan 13 04:24:35 2019 +0000
+++ b/emulators/bochs/Makefile Sun Jan 13 11:59:37 2019 +0000
@@ -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/}
diff -r c043dba36902 -r bbf92ba48863 emulators/bochs/PLIST
--- a/emulators/bochs/PLIST Sun Jan 13 04:24:35 2019 +0000
+++ b/emulators/bochs/PLIST Sun Jan 13 11:59:37 2019 +0000
@@ -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/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/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
diff -r c043dba36902 -r bbf92ba48863 emulators/bochs/distinfo
--- a/emulators/bochs/distinfo Sun Jan 13 04:24:35 2019 +0000
+++ b/emulators/bochs/distinfo Sun Jan 13 11:59:37 2019 +0000
@@ -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
diff -r c043dba36902 -r bbf92ba48863 emulators/bochs/patches/patch-iodev_network_eth__socket.cc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/bochs/patches/patch-iodev_network_eth__socket.cc Sun Jan 13 11:59:37 2019 +0000
@@ -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
diff -r c043dba36902 -r bbf92ba48863 emulators/bochs/patches/patch-iodev_network_slirp_compat_cc
--- a/emulators/bochs/patches/patch-iodev_network_slirp_compat_cc Sun Jan 13 04:24:35 2019 +0000
+++ b/emulators/bochs/patches/patch-iodev_network_slirp_compat_cc Sun Jan 13 11:59:37 2019 +0000
@@ -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"
diff -r c043dba36902 -r bbf92ba48863 emulators/bochs/patches/patch-iodev_sound_soundosx.cc
--- a/emulators/bochs/patches/patch-iodev_sound_soundosx.cc Sun Jan 13 04:24:35 2019 +0000
+++ b/emulators/bochs/patches/patch-iodev_sound_soundosx.cc Sun Jan 13 11:59:37 2019 +0000
@@ -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>
Home |
Main Index |
Thread Index |
Old Index