Commit graph

11 commits

Author SHA1 Message Date
agc
2bea6dfec5 Make this compile on NetBSD-current
Silence some obvious warnings
Fix a typo
2004-06-13 14:03:28 +00:00
kristerw
a6d25fe153 Bl3ify, and use mk/pthread.buildlink3.mk instead of hard-coding
a pthread package.

Bump PKGREVISION.
2004-05-29 23:32:19 +00:00
dmcmahill
68a57288f7 forgot to cvs add these patches. noted by thomas klausner and the
weekly-pkgsrc check.  these eliminate the use of regparm on non-i386
systems.
2001-05-11 11:17:39 +00:00
dmcmahill
34777848b8 get hercules to compile on non-i386 by not using i386 assembly code
on those platforms.  Also remove a zillion warnings by
surrounding the i386 specific "regparm" attribute by
#ifdef __i386__

only minimal testing done on an alpha.  Hercules starts up and lets me
run "quit".
2001-05-08 23:23:49 +00:00
agc
c11911a0b2 Patches from Wofgang Solfrank:
"Disabling the O_SYNC option when opening printer or punch.

Change the timeout value from 1 usec to 10 msec in the timer thread.
At least with unproven-pthreads, the comment above that is wrong
when stating that a 1 usec timeout would be stretched to the next
system clock tick.

A minor correction to the computation of the SIO rate.

With these changes, I get a decent performance of the system and can
actually get MVS to run."

Require the fixed version of unproven-pthreads.
Bump the hercules version number.
2001-03-23 16:20:55 +00:00
agc
f4ed546ffd Remove the pentium and pentiumpro machine switches from the gcc flags
in the makefile, and regenerate patch-sum.
2001-03-09 16:37:34 +00:00
agc
41e994c9c8 Add a patch to stop the Hercules emulator dumping core when exitting, from
Wolfgang Solfrank (ws@tools.de)
2001-02-26 14:49:34 +00:00
agc
b6af12f488 Add one more patch, correcting sign extension in two places:
> From Wofgang Solfrank (ws@tools.de)
> What I discovered was a problem in ckddasd.c, where there are two lseeks
> with an offset of -(CKDDASD_RECHDR_SIZE).  Now CKDDASD_RECHDR_SIZE is
> defined (in hercules.h) as sizeof(CKDDASD_RECHDR), which happens to be
> an unsigned int.  Since the offset in the lseek (and in the ckd_lseek
> that is used as an interface routine to it) is of type off_t, i.e. 64-bit,
> the unsigned is zero-extended to 64 bits, and thus the sign is lost.
2001-02-22 11:34:58 +00:00
agc
9ae8493329 Remove -malign-double from the makefile - it doesn't work as expected
on NetBSD, since our library doesn't conform to this restriction.
 From ws@tools.de (Wolfgang Solfrank)
2001-02-21 09:19:23 +00:00
agc
290b1f17bc Place the executables in the correct directory - from Wolfgang
Solfrank <ws@tools.de>
2001-02-20 16:42:33 +00:00
agc
206e2832c3 Initial import of hercules, an S/390 emulator, into the packages
collection.

Hercules is an open source software implementation of the mainframe
System/370 and ESA/390 architectures, in addition to the new 64-bit
z/Architecure.  Hercules runs under Linux, Windows 98, Windows NT,
Windows 2000, and NetBSD.  Hercules was created by Roger Bowler and is
maintained by Jay Maynard.  Jan Jaeger designed and implemented many
of the advanced features of Hercules, including dynamic
reconfiguration, integrated console, interpretive execution, and
z/Architecture support.
2001-02-19 12:35:21 +00:00