Commit Graph

76 Commits

Author SHA1 Message Date
Jan Jaeger
439bdbca92 Remove subversion $Id$ tag
Update copyright statement to 2012
2012-03-24 18:41:51 +11:00
Jan Jaeger
784ae54918 Reverting changes that have not yet been agreed
Open questions: named vs unnamed structures
                what field go in device specfic structures vs general structure
                use of malloc vs static
                naming convention


git-svn-id: file:///home/jj/hercules.svn/trunk@7702 956126f8-22a0-4046-8f4a-272fa8102e63
2011-08-18 09:47:11 +00:00
Paul Gorlinsky
7f91edefcf Create union in DEVBLK for device dependent information.
git-svn-id: file:///home/jj/hercules.svn/trunk@7698 956126f8-22a0-4046-8f4a-272fa8102e63
2011-08-17 21:01:37 +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
b871e5a87b Cleanup unused variables. Modules that process instructions have the warning turned off.
git-svn-id: file:///home/jj/hercules.svn/trunk@7590 956126f8-22a0-4046-8f4a-272fa8102e63
2011-07-18 21:19:31 +00:00
Fish (David B Trout)
8e11dc8916 Allow arbitrary number of ckd cylinders / fba blocks.
Not sure how original functionality got lost but this seems to fix it.
Tested dasdinit (different model sizes and custom sizes for CKD and CCKD), dasdcopy and cckdcdsk.
Also verified Herc power-on would open the custom-sized (oversized) dasds.
Did NOT verify whether guest/Herc could read/write to extra cyls, but can't see why not.

git-svn-id: file:///home/jj/hercules.svn/trunk@7337 956126f8-22a0-4046-8f4a-272fa8102e63
2011-02-25 07:06:55 +00:00
Fish (David B Trout)
1e85707c64 Correct compile errors for non-MSVC builds
git-svn-id: file:///home/jj/hercules.svn/trunk@7181 956126f8-22a0-4046-8f4a-272fa8102e63
2010-12-08 23:36:10 +00:00
Fish (David B Trout)
97571964b7 Dyngui mods: 64-bit MAINSIZE fix, SCD fix, multi-CPU% support
git-svn-id: file:///home/jj/hercules.svn/trunk@7179 956126f8-22a0-4046-8f4a-272fa8102e63
2010-12-08 07:59:03 +00:00
Paul Gorlinsky
a0b1509531 Replace long long with S64; replace unsigned long long with U64 change %lld to %"I64_FMT", etc. for porting support.
git-svn-id: file:///home/jj/hercules.svn/trunk@6906 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-15 16:09:38 +00:00
Paul Gorlinsky
8f1a68f9de make strtok_r use throughout system... some code was already using it.
Use "secure" forms for some functions for windows. sprintf changed to MSGBUF embedded snprintf or snprintf_s to prevent buffer overruns.

git-svn-id: file:///home/jj/hercules.svn/trunk@6570 956126f8-22a0-4046-8f4a-272fa8102e63
2010-09-22 22:59:21 +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
Paul Gorlinsky
b27d530002 Correct casting for mac
git-svn-id: file:///home/jj/hercules.svn/trunk@6497 956126f8-22a0-4046-8f4a-272fa8102e63
2010-09-16 18:10:51 +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
Bernard van der Helm
0210145fdb Compressed dasd utillities std msg
git-svn-id: file:///home/jj/hercules.svn/trunk@5994 956126f8-22a0-4046-8f4a-272fa8102e63
2010-05-16 13:33:09 +00:00
Paul Gorlinsky
cb3878faae Update notices; Standardize preamble...
git-svn-id: file:///home/jj/hercules.svn/trunk@5961 956126f8-22a0-4046-8f4a-272fa8102e63
2010-05-10 23:38:28 +00:00
Paul Gorlinsky
9c2e0f131e Message Cleanup. Begin implementing standards...
git-svn-id: file:///home/jj/hercules.svn/trunk@5806 956126f8-22a0-4046-8f4a-272fa8102e63
2010-04-07 00:13:14 +00:00
Paul Gorlinsky
93e3616b73 message clean up.
git-svn-id: file:///home/jj/hercules.svn/trunk@5770 956126f8-22a0-4046-8f4a-272fa8102e63
2010-03-29 22:37:29 +00:00
Bernard van der Helm
56d0369332 copyright notice
git-svn-id: file:///home/jj/hercules.svn/trunk@5125 956126f8-22a0-4046-8f4a-272fa8102e63
2009-01-23 12:01:44 +00:00
Greg Smith
98a1de9888 Fix 64-bit length problem in cdsk_valid_trk - Tony Harminc
git-svn-id: file:///home/jj/hercules.svn/trunk@4875 956126f8-22a0-4046-8f4a-272fa8102e63
2008-09-04 22:03:15 +00:00
Fish (David B Trout)
615eed7cb6 Fix cckdcdsk/cckdcomp/cckdutil no message o/p issue
git-svn-id: file:///home/jj/hercules.svn/trunk@4499 956126f8-22a0-4046-8f4a-272fa8102e63
2007-12-01 23:31:57 +00:00
Greg Smith
218c5c290b cckdutil fix for 64-bit - zhackules
git-svn-id: file:///home/jj/hercules.svn/trunk@4446 956126f8-22a0-4046-8f4a-272fa8102e63
2007-08-28 20:22:41 +00:00
Ivan Warren
0a090d20e9 Update copyright notices to include current year (2007)
git-svn-id: file:///home/jj/hercules.svn/trunk@4405 956126f8-22a0-4046-8f4a-272fa8102e63
2007-06-23 00:04:19 +00:00
Jan Jaeger
64b9a97a0d Add CVS message log
git-svn-id: file:///home/jj/hercules.svn/trunk@4102 956126f8-22a0-4046-8f4a-272fa8102e63
2006-12-08 09:43:35 +00:00
Ivan Warren
d99441ea20 Consistent use of 'const' qualifier in write_socket
Only declare intermediate value for use with bzip2 compression when BZIP2 compression is in use


git-svn-id: file:///home/jj/hercules.svn/trunk@3999 956126f8-22a0-4046-8f4a-272fa8102e63
2006-10-10 06:38:59 +00:00
Ivan Warren
47731521eb Removed some compiler warnings :
- Changed all host only based C strings that were "BYTE *" to "char *"
- Do not assume a "long long" is 64 bit or the only 64 bit long integer representation
- read_socket/write_socket now match recv() to use a "void *" as a buffer
- pre-initialize some local variables some compilers claims may be used initialized (when the code logic dictates it is untrue)
- comment out some unused variables
- define some variables used under some preprocessor conditions only when those conditions are met
- avoid using type punned pointers (breaks GCC badly sometimes)


git-svn-id: file:///home/jj/hercules.svn/trunk@3997 956126f8-22a0-4046-8f4a-272fa8102e63
2006-10-09 22:45:25 +00:00
Fish (David B Trout)
c6ae759759 PR# emul/91: Change uppercase FTELL, FSEEK, etc, #defines to lowercase
git-svn-id: file:///home/jj/hercules.svn/trunk@3893 956126f8-22a0-4046-8f4a-272fa8102e63
2006-06-09 22:35:17 +00:00
Greg Smith
f210131d71 05 Mar 2006 cckdcomp improvements - Greg Smith
git-svn-id: file:///home/jj/hercules.svn/trunk@3733 956126f8-22a0-4046-8f4a-272fa8102e63
2006-03-05 08:20:48 +00:00
Greg Smith
09c9200e57 25 Feb 2006 cckd 0.3.1 - Greg Smith
git-svn-id: file:///home/jj/hercules.svn/trunk@3699 956126f8-22a0-4046-8f4a-272fa8102e63
2006-02-25 23:47:06 +00:00
Greg Smith
1b720b1af4 09 Feb 2006 Relax force check level 1 in cckd_chkdsk a bit - Greg Smith
git-svn-id: file:///home/jj/hercules.svn/trunk@3669 956126f8-22a0-4046-8f4a-272fa8102e63
2006-02-09 05:41:13 +00:00
Greg Smith
7c3c4e1341 08 Feb 2006 cckd_chkdsk Don't force level 1 check if header errors - Greg
git-svn-id: file:///home/jj/hercules.svn/trunk@3668 956126f8-22a0-4046-8f4a-272fa8102e63
2006-02-09 03:21:16 +00:00
Ivan Warren
688e5e99a3 Remove most gcc 4 warnings relating to possibly uninialised variables and signed/unsigned discrepencies
git-svn-id: file:///home/jj/hercules.svn/trunk@3664 956126f8-22a0-4046-8f4a-272fa8102e63
2006-02-08 14:42:14 +00:00
Jan Jaeger
52f1e00b35 Update copyright notice
git-svn-id: file:///home/jj/hercules.svn/trunk@3551 956126f8-22a0-4046-8f4a-272fa8102e63
2005-12-31 13:16:00 +00:00
Jan Jaeger
1a1c5e6291 Change all "%llx" occurances to "%" I64_FMT "x"
git-svn-id: file:///home/jj/hercules.svn/trunk@3372 956126f8-22a0-4046-8f4a-272fa8102e63
2005-12-11 17:06:29 +00:00
Jan Jaeger
dfb3dac449 Change all "%llx" occurances to "%" I64_FMT "x"
git-svn-id: file:///home/jj/hercules.svn/trunk@3371 956126f8-22a0-4046-8f4a-272fa8102e63
2005-12-11 16:44:16 +00:00
Fish (David B Trout)
66844fd0c3 cckdutil.c: use LSEEK instead of lseek
git-svn-id: file:///home/jj/hercules.svn/trunk@3090 956126f8-22a0-4046-8f4a-272fa8102e63
2005-10-20 10:47:01 +00:00
Greg Smith
ad1c641bdd 12 Oct 2005 Change off_t to OFF_T in cckd_comp - Greg Smith
git-svn-id: file:///home/jj/hercules.svn/trunk@3076 956126f8-22a0-4046-8f4a-272fa8102e63
2005-10-13 21:23:09 +00:00
Greg Smith
64e34efafd 12 Oct 2005 Sigh ... use FTRUNCATE instead of ftruncate - Greg
git-svn-id: file:///home/jj/hercules.svn/trunk@3075 956126f8-22a0-4046-8f4a-272fa8102e63
2005-10-13 01:08:20 +00:00
Greg Smith
939a015d45 12 Oct 2005 cckd_comp improvements - Greg Smith
git-svn-id: file:///home/jj/hercules.svn/trunk@3074 956126f8-22a0-4046-8f4a-272fa8102e63
2005-10-12 23:38:28 +00:00
Jay Maynard
2370aac4ee The big move: moving MSVC (mingw_port) branch to the trunk. Cross your
fingers...


git-svn-id: file:///home/jj/hercules.svn/trunk@3027 956126f8-22a0-4046-8f4a-272fa8102e63
2005-09-24 16:17:46 +00:00
Roger Bowler
1cde2c37cd Eliminate variadic macros from cckdutil.c for MSVC
git-svn-id: file:///home/jj/hercules.svn/trunk@2612 956126f8-22a0-4046-8f4a-272fa8102e63
2005-02-13 22:10:55 +00:00
Jan Jaeger
38b2d90e1b Add 1052/3215 integrated console
Update copyright to reflect 2005


git-svn-id: file:///home/jj/hercules.svn/trunk@2563 956126f8-22a0-4046-8f4a-272fa8102e63
2005-01-02 16:10:14 +00:00
Greg Smith
c22a1f1d02 08 Dec 2004 dasdinit -linux option support - Greg Smith
git-svn-id: file:///home/jj/hercules.svn/trunk@2534 956126f8-22a0-4046-8f4a-272fa8102e63
2004-12-09 04:20:44 +00:00
Greg Smith
90624b5d01 04 Dec 2004 Make chkdsk faster if disk is readonly - Greg Smith
git-svn-id: file:///home/jj/hercules.svn/trunk@2519 956126f8-22a0-4046-8f4a-272fa8102e63
2004-12-04 05:34:19 +00:00
Ivan Warren
e77f31e411 Resolved pointers to signed/unsigned types. Host strings now 'char *' instead of 'BYTE *'
git-svn-id: file:///home/jj/hercules.svn/trunk@2451 956126f8-22a0-4046-8f4a-272fa8102e63
2004-10-14 15:21:06 +00:00
Greg Smith
5d276210c3 12 Oct 2004 Tweak cckd free space processing - Greg Smith
12 Oct 2004 Fix broken suspend/resume - Greg Smith


git-svn-id: file:///home/jj/hercules.svn/trunk@2450 956126f8-22a0-4046-8f4a-272fa8102e63
2004-10-13 01:03:18 +00:00
Ivan Warren
ef46b0e171 32 vs 64 Bit warnings removal - take 2
git-svn-id: file:///home/jj/hercules.svn/trunk@2425 956126f8-22a0-4046-8f4a-272fa8102e63
2004-09-27 15:23:54 +00:00
Ivan Warren
b2107964fe -Wall renablement - And insuing warnings removal
git-svn-id: file:///home/jj/hercules.svn/trunk@2419 956126f8-22a0-4046-8f4a-272fa8102e63
2004-09-23 17:11:57 +00:00
Greg Smith
00cf4ce144 21 Sep 2004 cckd `sf-xxx force' command, cckd rewrite - Greg Smith
git-svn-id: file:///home/jj/hercules.svn/trunk@2412 956126f8-22a0-4046-8f4a-272fa8102e63
2004-09-22 00:56:37 +00:00
Jan Jaeger
0f549f13fb Copyright 2004
git-svn-id: file:///home/jj/hercules.svn/trunk@2144 956126f8-22a0-4046-8f4a-272fa8102e63
2004-01-02 20:06:32 +00:00