59 Commits

Author SHA1 Message Date
Fish (David B. Trout) 4d34518fb3 Minor fix to sclproot cmd: prevent extra trailing path separator 2024-07-27 20:43:55 -07:00
Fish (David B. Trout) 7ba1ff2373 (cosmetic: remove trailing blanks) 2023-08-12 08:13:05 -07:00
Fish (David B. Trout) cddce71bb5 Silence compiler warning 2023-07-19 21:05:41 -07:00
Fish (David B. Trout) ab4275b85b (more minor cosmetics) 2022-10-04 17:37:55 -07:00
Fish (David B. Trout) 744ccfe8d9 SERVC instruction SCE I/O fix for COD:
The Customized Offerings Driver (COD) is a standalone installer provided on DVDs that you can IPL via the Service Control Element (i.e. the Hardware Management Console (HMC)) to allow you to install a new version of z/OS when an existing installation of z/OS is not available.
2022-10-04 12:34:00 -07:00
Fish (David B. Trout) 4c3530ad8f (more SCEDIO cosmetics) 2022-10-03 14:58:48 -07:00
Fish (David B. Trout) c24dbef581 Fix previous commit accidental NON-cosmetic bug 2022-10-03 14:36:17 -07:00
Fish (David B. Trout) b155587b41 Cosmetic; no change to functionality 2022-10-02 12:56:53 -07:00
Fish (David B. Trout) 629d9a80b6 Crash on unexpected ("impossible") switch case
[skip travis]  (more commits coming...)
2021-10-01 19:22:48 -07:00
Fish (David B. Trout) ef86c24194 Fix skey handling part 4 of 6 (temporary breakage):
Start using new skey functions

[skip travis]
2021-08-01 08:32:29 -07:00
Fish (David B. Trout) a95df9c6e1 Eliminate need for thread signaling in most other places 2019-04-06 23:15:52 -07:00
Fish (David B. Trout) 8b1353d454 (more misc cosmetic changes) 2019-04-06 11:55:12 -07:00
Fish (David B. Trout) 59845f7bd3 Tweak CASSERT macro to require ending semicolon on use 2018-05-15 06:43:27 -07:00
Fish (David B. Trout) 2c44efc3b1 Add "Q Public License" banner to files that are missing it 2018-03-08 13:27:34 -08:00
Fish (David B. Trout) a22e26e108 Use capital (C) in Copyright message 2018-03-08 13:27:34 -08:00
Fish (David B. Trout) c80e60a2ce LARGE Cosmetic: many renames and added comments:
_ARCHMODE1/2/3    ==>  _ARCH_NUM_0/1/2
ARCH_370/390/900  ==>  ARCH_370/390/900_IDX
GEN_ARCHCOUNT     ==>  NUM_GEN_ARCHS
GEN_MAXARCH       ==>  NUM_INSTR_TAB_PTRS
zz_func           ==>  instr_func
2018-03-08 13:25:44 -08:00
Fish (David B. Trout) 76acfb981c Add 'nnn' bit number to facility bit related FEATURE defines 2018-03-08 13:25:22 -08:00
Fish (David B. Trout) 73d5972109 Remove redundant fmt_memsize_rounded and fix qstor_cmd typo 2017-06-06 05:39:16 -07:00
Fish (David B. Trout) 6b5e721065 strlcpy/strlcat ==> STRLCPY/STRLCAT 2017-05-14 23:52:31 -07:00
Fish (David B. Trout) c6f54c6652 Remove extraneous trailing semicolon on some macro invocations:
Fixes some of (but not all of) GitHub Issue #148. More work remains.(*)

(*) Fixing UNREACHABLE_CODE() issue is going to take some thought.
2016-08-31 09:59:30 -07:00
Fish (David B. Trout) 26a1f86d7f PTT facility enhancements:
1. Expand trace class to 64-bits.
2. Predefined convenience macros.
3. Expand trace message to 18 characters.
4. Use convenience macros where possible.

This commit is mostly in preparation for upcoming LCS debugging via PTT facility enhancements to help debug Issue #43 (which is a race condition and thus timing dependent, thus PTT debugging rather than logmsg debugging), but I tried to design it to make it easier for other modules (e.g. QETH) to also transition away from logmsg debugging to debugging via PTT facilty instead.
2015-01-24 06:16:05 -08:00
Fish (David B. Trout) aeb87b397a Fix "redefinition of typedef" error for CASSERT:
CASSERT statements should be compiled only once. I had them in the "ARCHLVL" section so they ebded up being compiled multiple times (once for each architecture). Microsoft's compiler is nice enough to accept such situations without complaint but apparently GCC isn't that nice.

I also moved the load_main function (which is the one using the CHUNKSIZE macro) ahead of the load_hmc function so it's closer to the CHUNKSIZE macro definition.
2014-10-01 11:10:22 -07:00
Fish (David B. Trout) ed1ff43b98 Correct segfault introduced by 432c7ea787.
Closes #31.
2014-09-10 16:30:29 -07:00
Christian Svensson 432c7ea787 Revert warning fix and promote chunk to unsigned
fb3c2d12 caused a regression where Hercules would output:
HHC00600E SCE file X: error in function read(): Bad address

Promote chunk to size_t (unsigned) which will get rid of the
warnings and don't truncate the values
2014-08-09 18:56:12 +01:00
Fish (David B. Trout) fb3c2d12fb Fix some minor gcc build warnings:
scedasd.c: signed/unsigned comparison
zfcp.c: unused variables
2014-08-04 07:10:56 -07:00
Fish (David B. Trout) adeff64969 savecore/loadcore/load_main tweaks:
savecore/loadcore: issue periodic progress messages
  load_main: greatly improve original poor performance
2013-07-11 17:13:25 -07:00
Fish (David B. Trout) 01bcccca8f Correct the signatures of created thread functions 2013-05-26 09:19:08 -07:00
Roger Bowler d99753752a Eliminate #ifdef MSVC in scedasd.c 2012-11-12 16:13:35 +01:00
Jan Jaeger 439bdbca92 Remove subversion $Id$ tag
Update copyright statement to 2012
2012-03-24 18:41:51 +11:00
Fish (David B Trout) 718713aef9 Compiler warning refactoring cont'd: use new QSTR macro.
git-svn-id: file:///home/jj/hercules.svn/trunk@7768 956126f8-22a0-4046-8f4a-272fa8102e63
2011-09-20 12:25:21 +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 47f306d108 Revert bzero(d,s) to memset(d,0,s).
git-svn-id: file:///home/jj/hercules.svn/trunk@7604 956126f8-22a0-4046-8f4a-272fa8102e63
2011-07-22 19:23:35 +00:00
Paul Gorlinsky 9083dcf949 Add inline bzero function. Change memset(x, 0, l) to bzero(x, l)
git-svn-id: file:///home/jj/hercules.svn/trunk@7601 956126f8-22a0-4046-8f4a-272fa8102e63
2011-07-20 01:49:14 +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) 4c60697db2 Fix file opens to open files in non-multi-write-shared mode
(Windows-only for now; non-Windows yet to be implemented)

git-svn-id: file:///home/jj/hercules.svn/trunk@7431 956126f8-22a0-4046-8f4a-272fa8102e63
2011-04-21 02:17:35 +00:00
Paul Gorlinsky 4030f0730a Use correct OS PATHSEP character or string. Correct OPTION_WINDOWS_HOST_FILENAMES support.
git-svn-id: file:///home/jj/hercules.svn/trunk@6655 956126f8-22a0-4046-8f4a-272fa8102e63
2010-09-29 08:29:35 +00:00
Jan Jaeger f29a38c900 Virtual Architecture Level support
git-svn-id: file:///home/jj/hercules.svn/trunk@6357 956126f8-22a0-4046-8f4a-272fa8102e63
2010-08-29 13:49:50 +00:00
Paul Gorlinsky 58dc7d1340 Correct ipl filename.ext for windows
git-svn-id: file:///home/jj/hercules.svn/trunk@6074 956126f8-22a0-4046-8f4a-272fa8102e63
2010-06-01 02:57:31 +00:00
Paul Gorlinsky fb4fb2e069 Update notices; Standardize preamble...
git-svn-id: file:///home/jj/hercules.svn/trunk@6033 956126f8-22a0-4046-8f4a-272fa8102e63
2010-05-25 03:55:37 +00:00
Paul Gorlinsky a807f2e300 Enhance WINDOWS filename processing.
-p option at hercules startup is not overridden by MODPATH config statement.

git-svn-id: file:///home/jj/hercules.svn/trunk@5895 956126f8-22a0-4046-8f4a-272fa8102e63
2010-04-28 00:45:42 +00:00
Bernard van der Helm 630d84f049 scedasd std msg
git-svn-id: file:///home/jj/hercules.svn/trunk@5888 956126f8-22a0-4046-8f4a-272fa8102e63
2010-04-27 08:16:07 +00:00
Bernard van der Helm 752cbbd080 Standard messages for thread error handling + error handling when a
thread is started


git-svn-id: file:///home/jj/hercules.svn/trunk@5857 956126f8-22a0-4046-8f4a-272fa8102e63
2010-04-20 13:55:05 +00:00
Paul Gorlinsky 1ce79e9d41 Message cleanup - make filenames with path information display consistently.
git-svn-id: file:///home/jj/hercules.svn/trunk@5811 956126f8-22a0-4046-8f4a-272fa8102e63
2010-04-07 22:56:42 +00:00
Bernard van der Helm 0b950e6f23 scedasd.c std msg
git-svn-id: file:///home/jj/hercules.svn/trunk@5752 956126f8-22a0-4046-8f4a-272fa8102e63
2010-03-27 06:41:37 +00:00
Roger Bowler 3d3d8a7294 Permission denied when ipl .ins file under Windows
git-svn-id: file:///home/jj/hercules.svn/trunk@5306 956126f8-22a0-4046-8f4a-272fa8102e63
2009-04-03 17:57:43 +00:00
Jay Maynard 06699c7bc7 Fixed crash due to filename buffer too short.
git-svn-id: file:///home/jj/hercules.svn/trunk@5298 956126f8-22a0-4046-8f4a-272fa8102e63
2009-03-26 12:38:57 +00:00
Jan Jaeger b7bab55de1 trace various sclp errors
git-svn-id: file:///home/jj/hercules.svn/trunk@5224 956126f8-22a0-4046-8f4a-272fa8102e63
2009-03-01 13:20:28 +00:00
Jan Jaeger 0bafeebe71 Restrict SCLP DISK I/O to the path relative to the .ins file that has been IPL-ed
Add SCLPROOT command to override the above


git-svn-id: file:///home/jj/hercules.svn/trunk@5072 956126f8-22a0-4046-8f4a-272fa8102e63
2009-01-14 10:12:37 +00:00
Jan Jaeger 26055d48ca Support DIAG 2C0 type SCLP I/O
git-svn-id: file:///home/jj/hercules.svn/trunk@5071 956126f8-22a0-4046-8f4a-272fa8102e63
2009-01-12 16:33:52 +00:00
Jan Jaeger 8506e4549d Allow for DOS formatted .ins files
git-svn-id: file:///home/jj/hercules.svn/trunk@5025 956126f8-22a0-4046-8f4a-272fa8102e63
2009-01-07 07:16:33 +00:00