Commit Graph

107 Commits

Author SHA1 Message Date
Fish (David B. Trout)
ab136f2db4 Fix wrong dynamic loader module extension being used.
This corrects the problem of:

  HHC01462E 0:0009 devtype 3215-C not recognized
  HHC01462E 0:000C devtype 3505 not recognized
  HHC01462E 0:000D devtype 3525 not recognized
  HHC01462E 0:000E devtype 1403 not recognized
  HHC01462E 0:001F devtype 3270 not recognized

caused by previous "ltdl/dlopen" commits:

  d288c249df
  fefc687c41
  6db2297e5e
2012-11-28 13:59:22 -08:00
Jan Jaeger
439bdbca92 Remove subversion $Id$ tag
Update copyright statement to 2012
2012-03-24 18:41:51 +11:00
Jan Jaeger
5f9947917f Reduce msg processing in hdl
git-svn-id: file:///home/jj/hercules.svn/trunk@7740 956126f8-22a0-4046-8f4a-272fa8102e63
2011-09-04 04:52:15 +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
Jan Jaeger
d3d2c0de99 Remove log wakeups
git-svn-id: file:///home/jj/hercules.svn/trunk@7720 956126f8-22a0-4046-8f4a-272fa8102e63
2011-08-21 11:14:43 +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
Paul Gorlinsky
6ee1e4f856 Cleanup unused variables in utilities... (and hdl.c)
git-svn-id: file:///home/jj/hercules.svn/trunk@7588 956126f8-22a0-4046-8f4a-272fa8102e63
2011-07-18 18:59:53 +00:00
Paul Gorlinsky
83967ff475 Change initial message state to TERSE; add "-v" startup option for VERBOSE.
git-svn-id: file:///home/jj/hercules.svn/trunk@7399 956126f8-22a0-4046-8f4a-272fa8102e63
2011-04-07 00:57:25 +00:00
Fish (David B Trout)
1a8d7a803c git-svn-id: file:///home/jj/hercules.svn/trunk@7180 956126f8-22a0-4046-8f4a-272fa8102e63 2010-12-08 08:01:07 +00:00
Jan Jaeger
708779a9cb Various build fixes
git-svn-id: file:///home/jj/hercules.svn/trunk@7138 956126f8-22a0-4046-8f4a-272fa8102e63
2010-11-27 09:46:38 +00:00
Jan Jaeger
b791711e71 Remove sdock requirement
git-svn-id: file:///home/jj/hercules.svn/trunk@7018 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-31 21:03:14 +00:00
Jan Jaeger
14304dea26 Remove sleeps and make replace_opcode a resolvable symbol
git-svn-id: file:///home/jj/hercules.svn/trunk@7012 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-31 11:37:42 +00:00
Bernard van der Helm
d3c1fc848a Pointer to function replace_opcode added to sysblk. Bldcfg will set this
pointer. Hdl_modify_opcode will wait for this pointer if not present
before altering the opcode tables.

Also made most of the runtime opcode tables modification functions
static. Only use sysblk.replace_opcode to modify the runtime opcode
table. This way the architecture rules stay applied. 


git-svn-id: file:///home/jj/hercules.svn/trunk@7008 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-31 08:00:17 +00:00
Bernard van der Helm
d9a51b7397 2 byte opcode table performance patch
git-svn-id: file:///home/jj/hercules.svn/trunk@7003 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-29 10:16:49 +00:00
Paul Gorlinsky
39596840ca Message cleanup
git-svn-id: file:///home/jj/hercules.svn/trunk@6982 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-26 16:49:10 +00:00
Paul Gorlinsky
13bb315168 Rework for single arch builds of S/370, S/390 and z/Arch
git-svn-id: file:///home/jj/hercules.svn/trunk@6912 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-15 19:47:33 +00:00
Paul Gorlinsky
adbcc9560c Simplify hdl_dlopen search of filename
git-svn-id: file:///home/jj/hercules.svn/trunk@6897 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-15 00:54:44 +00:00
Paul Gorlinsky
75d0475695 Correct hdl_shut order. hdl_adsc will not allow duplicate entries. First entry prevails.
git-svn-id: file:///home/jj/hercules.svn/trunk@6859 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-11 01:16:00 +00:00
Paul Gorlinsky
ca2b0b2743 Prevent shutdown list from being altered during shutdown.
git-svn-id: file:///home/jj/hercules.svn/trunk@6836 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-09 03:38:59 +00:00
Jan Jaeger
b0c260f9ba move http start back to command invocation
git-svn-id: file:///home/jj/hercules.svn/trunk@6826 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-08 17:48:36 +00:00
Paul Gorlinsky
8cac8e935a Add hdl_startup call to bldcfg.c. The call is made as the last thing to do before bldcfg returns to the caller. hdl_startup processes LIFO from a list built by hdl_addstartcall in a manner like hdl_adsc.
git-svn-id: file:///home/jj/hercules.svn/trunk@6815 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-07 20:34:56 +00:00
Jan Jaeger
a71a7ceae4 Revert HTTP start/stop mods
All this functinality alerady exists:
HTTPPORT nnnn will starts the server
HTTPPORT 0 / NONE stops the server
There is no need for a timeout as the server is signalled async by means of SIGUSR2 to shutdown
The only required change is to enable httport/httproot as panel commands


git-svn-id: file:///home/jj/hercules.svn/trunk@6794 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-05 16:38:09 +00:00
Paul Gorlinsky
6692b40d93 Add HTTP command to STOP|START and display HTTP server status; HTTPPORT and HTTPROOT are also panel commands now. Script.c change to only indicate a configuration error when rc < 0 from process a configuration statement.
git-svn-id: file:///home/jj/hercules.svn/trunk@6790 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-05 05:06:47 +00:00
Jan Jaeger
0e322e286c Correct backlink ifdef
git-svn-id: file:///home/jj/hercules.svn/trunk@6702 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-01 12:01:28 +00:00
Paul Gorlinsky
8c9842bf41 Buffer Overflow cleanup
git-svn-id: file:///home/jj/hercules.svn/trunk@6677 956126f8-22a0-4046-8f4a-272fa8102e63
2010-09-30 00:54:59 +00:00
Paul Gorlinsky
b82895468b make strtok_r use throughout system... some code was already using it.
Use "secure" forms for some functions for windows.

git-svn-id: file:///home/jj/hercules.svn/trunk@6568 956126f8-22a0-4046-8f4a-272fa8102e63
2010-09-22 01:09:43 +00:00
Roger Bowler
d80835739d Add support for CCxx opcodes
git-svn-id: file:///home/jj/hercules.svn/trunk@6262 956126f8-22a0-4046-8f4a-272fa8102e63
2010-08-07 17:55:50 +00:00
Paul Gorlinsky
58233ea86e Correct message ids.
git-svn-id: file:///home/jj/hercules.svn/trunk@6203 956126f8-22a0-4046-8f4a-272fa8102e63
2010-07-19 03:45:04 +00:00
Bernard van der Helm
fe4820b164 Changed all static sprintf(buf to snprintf(buf, buflen for more
robustness. And solved a segmentation fault in the lsdep command.


git-svn-id: file:///home/jj/hercules.svn/trunk@6081 956126f8-22a0-4046-8f4a-272fa8102e63
2010-06-03 14:08:26 +00:00
Paul Gorlinsky
989f6ed065 Remove '%s'/sprintf process in hdl.c and scsitape.c.
Improve QUERY responses. 

git-svn-id: file:///home/jj/hercules.svn/trunk@6075 956126f8-22a0-4046-8f4a-272fa8102e63
2010-06-01 22:04:35 +00:00
Bernard van der Helm
0c7ce5f93e lsmod std msg
git-svn-id: file:///home/jj/hercules.svn/trunk@6051 956126f8-22a0-4046-8f4a-272fa8102e63
2010-05-28 07:27:09 +00:00
Paul Gorlinsky
7132f257d7 Update notices; Standardize preamble...
git-svn-id: file:///home/jj/hercules.svn/trunk@6008 956126f8-22a0-4046-8f4a-272fa8102e63
2010-05-20 01:54:24 +00:00
Bernard van der Helm
5382b58fb4 HDL std msg + std 2 msg panel.c
git-svn-id: file:///home/jj/hercules.svn/trunk@5975 956126f8-22a0-4046-8f4a-272fa8102e63
2010-05-12 08:35:43 +00:00
Paul Gorlinsky
9332472f51 TT32 will use the same library as the loadable module directory if the default is taken.
git-svn-id: file:///home/jj/hercules.svn/trunk@5946 956126f8-22a0-4046-8f4a-272fa8102e63
2010-05-08 18:19:45 +00:00
Paul Gorlinsky
30a537e6bf Add HERCULES_LIB environment variable for Loadable Module Directory. Change w32ctca to use same default path as Loadable Module Directory.
git-svn-id: file:///home/jj/hercules.svn/trunk@5945 956126f8-22a0-4046-8f4a-272fa8102e63
2010-05-08 17:37:08 +00:00
Paul Gorlinsky
abebd95a5a Correct default module directory... use MODULESDIR if defined.
git-svn-id: file:///home/jj/hercules.svn/trunk@5943 956126f8-22a0-4046-8f4a-272fa8102e63
2010-05-07 18:06:23 +00:00
Paul Gorlinsky
e409393c82 Correct for linux/unix - Segfault
git-svn-id: file:///home/jj/hercules.svn/trunk@5941 956126f8-22a0-4046-8f4a-272fa8102e63
2010-05-07 04:03:03 +00:00
Paul Gorlinsky
a91442268a Message cleanup, add "Default" notice to Loadable Module Directory.
git-svn-id: file:///home/jj/hercules.svn/trunk@5939 956126f8-22a0-4046-8f4a-272fa8102e63
2010-05-05 22:46:06 +00:00
Paul Gorlinsky
2780fc2058 Default module library directory to the directory that hercules started from if it can be determined. This benefits windows since both dll and exe are in the same directory.
git-svn-id: file:///home/jj/hercules.svn/trunk@5937 956126f8-22a0-4046-8f4a-272fa8102e63
2010-05-05 21:36:06 +00:00
Jan Jaeger
24d74c2197 No functional change
git-svn-id: file:///home/jj/hercules.svn/trunk@5911 956126f8-22a0-4046-8f4a-272fa8102e63
2010-04-30 10:58:40 +00:00
Paul Gorlinsky
180ba3174d Reorder code to improve processing.
git-svn-id: file:///home/jj/hercules.svn/trunk@5910 956126f8-22a0-4046-8f4a-272fa8102e63
2010-04-29 21:18:08 +00:00
Paul Gorlinsky
988a1e3039 Reorganize startup to process args before other initialization. Arg -p (module directory for dynamic module support takes precedence over default and MODPATH.
git-svn-id: file:///home/jj/hercules.svn/trunk@5909 956126f8-22a0-4046-8f4a-272fa8102e63
2010-04-29 20:49:38 +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
Paul Gorlinsky
3700174dc7 APPLE misspelled..
git-svn-id: file:///home/jj/hercules.svn/trunk@5885 956126f8-22a0-4046-8f4a-272fa8102e63
2010-04-26 19:58:40 +00:00
Jan Jaeger
f3b3480bf0 Fix bypass
git-svn-id: file:///home/jj/hercules.svn/trunk@5882 956126f8-22a0-4046-8f4a-272fa8102e63
2010-04-26 19:20:34 +00:00
Jan Jaeger
132825a60f temp fix to hdl.c for affected targets (backlink problem)
git-svn-id: file:///home/jj/hercules.svn/trunk@5880 956126f8-22a0-4046-8f4a-272fa8102e63
2010-04-26 18:41:29 +00:00
Ivan Warren
8e580c8761 Include opcode.h in hdl.c so that the opcode tables are visible
git-svn-id: file:///home/jj/hercules.svn/trunk@5871 956126f8-22a0-4046-8f4a-272fa8102e63
2010-04-24 14:47:16 +00:00
Jan Jaeger
abed27c03e Dynamically add instructions
git-svn-id: file:///home/jj/hercules.svn/trunk@5865 956126f8-22a0-4046-8f4a-272fa8102e63
2010-04-23 11:10:37 +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
Paul Gorlinsky
110b48caca Windows changes. Add handlers for CTRL-C, CTRL-Break, CLOSE, SHUTDOWN and LOGOFF. Please see CHANGES for more details.
git-svn-id: file:///home/jj/hercules.svn/trunk@5703 956126f8-22a0-4046-8f4a-272fa8102e63
2010-03-18 20:30:29 +00:00