Commit Graph

229 Commits

Author SHA1 Message Date
Fish (David B. Trout)
d4a1b5e109 New 2012 CMPSC instruction implementation is now the default:
Original/legacy cmpsc.c implementation moved to altcmpsc.dll module.

Refer to Release Notes and/or README.CMPSC documents for more details.
2014-12-29 17:17:01 -08:00
Enrico Sorichetti
93005fb28b symbols cleanup
renamed some flags for consistency
	obey casing rules for symbol names ( case sensitive for unix like )
	deleted the setenv code
	proper stacking of symbols values
	some non symbols related mods ( cosmetics ??? )
	tested on ...
	Yosemite(CLANG), Centos-6(GCC), Centos-7 (CLANG and GCC)
	( reinstalling windows XP under VMware takes longer than planned )
2014-11-30 17:29:41 +01:00
Fish (David B. Trout)
53196bf075 Add S/370 archmode channel I/O test and re-enable OPTION_SHARED_DEVICES.
(I'll let someone else create one for ESA-390 mode.) (Please?)
2014-08-25 05:32:37 -07:00
Fish (David B. Trout)
f1d328f788 Changes to be able to build with/without Shared Dasd support:
Make changes necessary to successfully build without OPTION_SHARED_DEVICES defined.
Define new HQA Build Scenarios 12 & 13 for building with/without OPTION_SHARED_DEVICES.
2014-08-04 04:58:10 -07:00
Fish (David B. Trout)
0e0481ffb8 HTHREADS / PTTRACE rework: refer to README.PTT for details.
Note: this is the first (i.e. part 2a) of Part 2 of the locking/threading rework effort: hthreads restructuring.  Part 2b will be the hthreads.c code necessary to detect threads exiting while still holding locks (i.e. abandoned locks).
2013-06-02 05:40:22 -07:00
Fish (David B. Trout)
d5c25a77e4 OPTION_INLINE settings for dat/logical/vstore/ifetch 2013-06-02 00:07:31 -07:00
Fish (David B. Trout)
fc388a5717 Rename some confusing double-negative build options:
OPTION_NO_INLINE_DAT     ==> OPTION_INLINE_DAT
OPTION_NO_INLINE_LOGICAL ==> OPTION_INLINE_LOGICAL
OPTION_NO_INLINE_VSTORE  ==> OPTION_INLINE_VSTORE
OPTION_NO_INLINE_IFETCH  ==> OPTION_INLINE_IFETCH

#define/#undef, #if defined()/#if !defined(), etc. updated appropriately.
2013-05-31 12:13:42 -07:00
Fish (David B. Trout)
b238b8b23b OPTION_CAPPING made permanent; build option removed. 2013-05-31 11:22:11 -07:00
Fish (David B. Trout)
5ab28746f0 OPTION_PTTRACE made permanent; build option removed. 2013-05-31 11:16:35 -07:00
Fish (David B. Trout)
1ce387245c OPTION_SET_STSI_INFO made permanent; build option removed. 2013-05-31 11:11:31 -07:00
Fish (David B. Trout)
b82e662d5d OPTION_ENHANCED_DEVICE_ATTACH made permanent; build option removed. 2013-05-31 11:08:35 -07:00
Fish (David B. Trout)
9df0bebe4f OPTION_LPARNAME made permanent; build option removed. 2013-05-31 11:04:51 -07:00
Fish (David B. Trout)
77ec1fea76 OPTION_IPLPARM made permanent; build option removed. 2013-05-31 11:03:02 -07:00
Fish (David B. Trout)
10f97ad033 OPTION_TIMESTAMP_LOGFILE made permanent; build option removed. 2013-05-31 10:59:13 -07:00
Fish (David B. Trout)
c92c385973 OPTION_WAKEUP_SELECT_VIA_PIPE made permanent; build option removed. 2013-05-31 10:56:59 -07:00
Fish (David B. Trout)
81c7a8e29b OPTION_FAST_DEVLOOKUP made permanent; build option removed. 2013-05-31 10:53:27 -07:00
Fish (David B. Trout)
8f115000d5 OPTION_TAPE_AUTOMOUNT made permanent; build option removed. 2013-05-31 10:49:34 -07:00
Fish (David B. Trout)
106e766abc (Temporary?) Fix to OPTION_NO_INLINE... build option issue:
featall.h current #undef's some OPTION_NO_LINE... vstore/dat build options (so that they are always inlined). Prior to this commit, attempting to #define the options (so the functions are NOT inlined) didn't work. This commit corrects this problem so they may be #define'd or #undef'ed as desired.

Additionally, some new HQA scenarios have been defined related to inlining so we can determine which setting we should choose before removing the build option altogether.
2013-05-29 13:24:29 -07:00
Fish (David B. Trout)
45fe878e94 OPTION_WTHREADS removed. 2013-05-26 19:16:15 -07:00
dasdman
accb0fc03b Channel cleanup (Phase I). 2013-05-02 09:59:27 -07:00
Fish (David B. Trout)
49b259755c (add comments only; no functional change) 2012-06-18 22:04:14 -07:00
Fish-Git
ad008c02d3 Prepare for CMPSC_ENHANCEMENT_FACILITY. 2012-06-09 19:20:44 -07:00
Fish-Git
59cee637c1 Remove FishHang crap from Hercules
FishHang was useful during development of fthreads but has not been needed for so many years and so has FINALLY been deleted. Sorry it took me so long to do it.
2012-05-20 15:44:19 -07:00
Jan Jaeger
feba9404c6 Implement alternate CMPSC instruction as loadable module option. Activate with 'ldmod altcmpsc' 2012-05-18 16:26:14 +10:00
Fish-Git
7670887c2f Alternate CMPSC algorithm enabled via #define OPTION_CMPSC_2012 in featall.h. 2012-05-13 18:34:03 -07:00
Jan Jaeger
78cf21849c Preliminary / experimental FCP DASD support 2012-04-29 21:13:28 +10:00
Enrico Sorichetti
6c0f748127 fixed some glitches and an MSVC quirk 2012-04-05 19:23:01 +02:00
Jan Jaeger
439bdbca92 Remove subversion $Id$ tag
Update copyright statement to 2012
2012-03-24 18:41:51 +11:00
Roger Bowler
1426a4ffa4 Reinstate OPTION_BUILTIN_SYMBOLS and OPTION_CONFIG_SYMBOLS removed by 7748
git-svn-id: file:///home/jj/hercules.svn/trunk@7786 956126f8-22a0-4046-8f4a-272fa8102e63
2011-09-26 14:30:45 +00:00
Harold Grovesteen
810a7e2dbb Remove unneeded FEATURE_LPAR, equivalent to FEATURE_HYPERVISOR
git-svn-id: file:///home/jj/hercules.svn/trunk@7784 956126f8-22a0-4046-8f4a-272fa8102e63
2011-09-26 09:50:19 +00:00
Harold Grovesteen
f4083ec911 Create FEATURE_LPAR disabled in all architectures
git-svn-id: file:///home/jj/hercules.svn/trunk@7781 956126f8-22a0-4046-8f4a-272fa8102e63
2011-09-24 15:28:30 +00:00
Jan Jaeger
9c72e28c21 Revert to Gregs memory allocation and disable non thread safe features
git-svn-id: file:///home/jj/hercules.svn/trunk@7748 956126f8-22a0-4046-8f4a-272fa8102e63
2011-09-10 08:10:49 +00:00
Jan Jaeger
d774ae4048 Allow TDD to be enabled through archlvl enable qdio_tdd
git-svn-id: file:///home/jj/hercules.svn/trunk@7737 956126f8-22a0-4046-8f4a-272fa8102e63
2011-09-03 09:41:17 +00:00
Jan Jaeger
c2cde737c1 Provide dummy SVS Clear Global Summary to prevent kernel panics in older linux kernels
git-svn-id: file:///home/jj/hercules.svn/trunk@7734 956126f8-22a0-4046-8f4a-272fa8102e63
2011-08-31 12:38:58 +00:00
Jan Jaeger
85beb7e9dc QDIO Thin Interrupts
git-svn-id: file:///home/jj/hercules.svn/trunk@7726 956126f8-22a0-4046-8f4a-272fa8102e63
2011-08-28 11:41:48 +00:00
Paul Gorlinsky
2c2eaf37dc Restore code regressed by latest changes.
git-svn-id: file:///home/jj/hercules.svn/trunk@7678 956126f8-22a0-4046-8f4a-272fa8102e63
2011-08-09 02:00:07 +00:00
Jan Jaeger
ec8ca6473e Fix deadlock - rollback change 7657
git-svn-id: file:///home/jj/hercules.svn/trunk@7665 956126f8-22a0-4046-8f4a-272fa8102e63
2011-08-06 13:18:06 +00:00
Paul Gorlinsky
e00a173580 Allow compile time overrides (for MSVC) for major options
git-svn-id: file:///home/jj/hercules.svn/trunk@7657 956126f8-22a0-4046-8f4a-272fa8102e63
2011-08-02 15:22:55 +00:00
Jan Jaeger
e058b73c75 Add QEBSM framework
git-svn-id: file:///home/jj/hercules.svn/trunk@7645 956126f8-22a0-4046-8f4a-272fa8102e63
2011-07-29 10:22:48 +00:00
Paul Gorlinsky
03a4560910 Update Copyright notices to 2011.
git-svn-id: file:///home/jj/hercules.svn/trunk@7593 956126f8-22a0-4046-8f4a-272fa8102e63
2011-07-18 22:19:10 +00:00
Fish (David B Trout)
b77393a1ec Fix MSVC nanosleep/usleep bug wherein subsequent calls were always overriding previous calls.
git-svn-id: file:///home/jj/hercules.svn/trunk@7516 956126f8-22a0-4046-8f4a-272fa8102e63
2011-06-21 04:04:13 +00:00
Fish (David B Trout)
e44bb3990f Implement "OPTION_MUTEX_XXXX" default mutex locking model
build option in featall.h and report in version.c which one
that Hercules was built with.


git-svn-id: file:///home/jj/hercules.svn/trunk@7513 956126f8-22a0-4046-8f4a-272fa8102e63
2011-06-21 03:58:35 +00:00
Fish (David B Trout)
0f977a8c64 OPTION_SHOWDVOL1 disabled by default.
git-svn-id: file:///home/jj/hercules.svn/trunk@7504 956126f8-22a0-4046-8f4a-272fa8102e63
2011-06-11 16:36:50 +00:00
Jan Jaeger
e07292e996 Make command serialisation optional
git-svn-id: file:///home/jj/hercules.svn/trunk@7498 956126f8-22a0-4046-8f4a-272fa8102e63
2011-06-08 06:38:37 +00:00
Fish (David B Trout)
782d27c336 Make showdvol1 support optional (#define OPTION_SHOWDVOL1 in featall.h)
Default is to #define it (i.e. to generate support for it)

I decided to make it optional so you could disable it if you want since
I noticed it *does* slow down power-on when you have lots of dasd since
each dasd is essentially being opened twice.

git-svn-id: file:///home/jj/hercules.svn/trunk@7477 956126f8-22a0-4046-8f4a-272fa8102e63
2011-05-30 08:29:44 +00:00
Bernard van der Helm
5a70805e5f Optimized load and store instruction.
git-svn-id: file:///home/jj/hercules.svn/trunk@7414 956126f8-22a0-4046-8f4a-272fa8102e63
2011-04-15 13:57:07 +00:00
Bernard van der Helm
1b3afef480 Deletion of OPTION_OPTINST. Too complex for too little gain.
git-svn-id: file:///home/jj/hercules.svn/trunk@7354 956126f8-22a0-4046-8f4a-272fa8102e63
2011-03-13 13:21:55 +00:00
Bernard van der Helm
fe10110210 OPTION_OPTINST will be re-assessed
git-svn-id: file:///home/jj/hercules.svn/trunk@7297 956126f8-22a0-4046-8f4a-272fa8102e63
2011-01-24 17:33:41 +00:00
Bernard van der Helm
62c90dd9e4 Performance patch with >10% gain.
I did some profiling with the package perf of Ingo Molnar. After
investigation of the most called functions I implemented the following
features:

The features uses the two-byte opcode table. The second byte can be part
of the instruction format and is used to jump to optimized routines. In
this patch to routines with zero x2.

Optimized BC and BRC
Normally a value of 0x80 is shifted by psw.cc and then masked at the
instruction. The optimized instructions can calculate on psw.cc
directly.

Optimized ST, CL, L, LG and STG
These are RX and RXY instructions, but most of the time the X2 value is
zero. The optimized instructions don't have to calculate and use X2.

run_cpu and run_sie.
I did profiling and testing on those 2. The current setting runs the
fastest on core i7. 

Have fun!

Bernard van der Helm


git-svn-id: file:///home/jj/hercules.svn/trunk@7187 956126f8-22a0-4046-8f4a-272fa8102e63
2010-12-15 16:30:23 +00:00
Fish (David B Trout)
290bf1176c Message cleanup: re-fix WRMSG stack overflow bug reverted by svn #7149
(originally introduced in SVN #6966), default to "msglevel debug" for
DEBUG builds, 'OPTION_DEBUG_MESSAGES' build option is now obsolete.

git-svn-id: file:///home/jj/hercules.svn/trunk@7151 956126f8-22a0-4046-8f4a-272fa8102e63
2010-12-02 04:31:51 +00:00