Mark Pizzolato
a73ab48c0e
SHMEM: Fix all Linux code paths to only use shm_ APIs when available
2020-07-09 08:27:57 -07:00
Mark Pizzolato
6c08fae048
SHMEM: Fix Linux code to properly use built-in's and cleanup on shutdown
...
As reported in #909
2020-07-08 12:38:10 -07:00
Mark Pizzolato
7e58080fb5
SCP: Fix file name parser to tolerate a name without any slashes in the path
2020-02-17 21:03:20 -08:00
Mark Pizzolato
d131f66c40
FIO: Fix non Win32 behaviors of sim_dir_scan
...
Allow for a file not found case to be determined and explicit file and
full directory scan when GLOB and FNMATCH aren't available.
2019-12-30 13:12:41 -08:00
Mark Pizzolato
5a59fe81fc
FIO: Fix directory scanning logic to avoid errors handling files in /
2019-11-18 16:57:20 -08:00
Mark Pizzolato
23856afcac
FIO: Avoid compiler warning on never executed code path (Tony Nicholson)
...
As suggested in #766
2019-11-14 03:08:57 -08:00
Mark Pizzolato
9fe781cb7e
SCP: Add environment variable file expansion options for file size, date/time
2019-10-28 17:40:59 -07:00
Mark Pizzolato
81b48e2ebf
SCP: Fix potential crash with mixed path separators on Windows
2019-05-07 05:25:56 -07:00
Mark Pizzolato
5960bca32a
SCP: Add a local rand() implementation to avoid Coverity issues
2019-03-20 12:57:36 -07:00
Mark Pizzolato
f09e9c290a
TAPE: Add tests and Coverity cleanups
2019-03-19 10:24:28 -07:00
Mark Pizzolato
cb9876ce65
SCP: Cleanup gcc compiler flagged potential issues
...
Compiler warnings about undeclared case fall throughs, and potential
buffer overruns,
2019-01-21 16:43:17 -08:00
Mark Pizzolato
3cca0cf90b
SCP: Cleanup MinGW compile warnings
2019-01-21 02:36:42 -08:00
Mark Pizzolato
f8a18df1c4
SCP: Cleanup compiler warnings
2018-10-10 00:03:37 -07:00
Mark Pizzolato
f86a67310a
SCP: Add missing aspects to sim_filepath_parts, move sim_dir_scan to sim_fio
2018-09-29 23:34:14 -07:00
Mark Pizzolato
a40d23fd53
SCP: Avoid warning on OS X which shouldn't be necessary
2018-09-28 19:06:29 -07:00
Mark Pizzolato
568a80dfb8
SCP: Add parsing of file specs in environment variables and DO command args.
2018-09-28 15:43:01 -07:00
Mark Pizzolato
f48c282dff
SCP: Silence potential compiler warnings on Windows using GCC
2018-09-27 22:01:40 -07:00
Mark Pizzolato
91e4efbd59
SHMEM: Fix various Linux and Windows problems
...
- Windows did not validate that the a segment size was correct.
- Add shared memory object name to the management structure
- Linux shared memory object names must start with a /
- Linux umask setting to assign permissions
- Add textual explanations for failure cases
2018-07-21 02:20:47 -07:00
Mark Pizzolato
1a7412a276
FIO: Make shmem behaviors reflect 3.10
...
Current functionality works to some extent on Windows and x86 Linux and OS X
2018-06-05 01:39:41 -07:00
Mark Pizzolato
c1f249ec66
SCP: Add atomic routines for temporary shmem access
2018-06-01 23:16:14 -07:00
Mark Pizzolato
13b4f6563f
FIO: Fix large file support on Linux AND Android platforms correctly
...
As discussed in #564
2018-05-15 06:50:27 -07:00
Mark Pizzolato
0aa4264261
FIO: Properly configure large file support for different Android versions
2018-05-09 11:08:53 -07:00
Mark Pizzolato
39802c465a
makefile: Support mode Android versions when termux is used
2018-05-09 10:39:10 -07:00
Mark Pizzolato
669d07ba3e
SCP: Fix compile WIN32 MinGW warnings
2018-03-07 13:20:14 -08:00
Mark Pizzolato
335b4ef210
DISK: Add support for reporting OS specific error messages when using RAW I/O
2018-02-27 13:32:20 -08:00
Mark Pizzolato
6487d319cd
VMS Build: Restore VAX/VMS host build support
...
The C RTL on the latest VAX/VMS does not provide a snprintf function.
We provide a 'basic' one which meets the needs of simh as suggested
by Jordi Guillaumes Pons.
2017-12-09 11:21:38 -08:00
Mark Pizzolato
e522daf906
SCP: Replace stray TAB and fix sprintf format specifier
2017-04-23 23:43:14 -07:00
Mark Pizzolato
9179c4ea07
SCP: Fix OS Error text routine on Windows with gcc
2017-04-22 15:43:09 -07:00
Mark Pizzolato
6ff3eeac80
SCP: Compiler suggested cleanup
2017-04-10 10:47:42 -07:00
Mark Pizzolato
7317645dd7
SCP: Make COPY command more robust
2017-04-07 14:35:04 -07:00
Mark Pizzolato
d5a56e0ab4
SCP: Take care to only write to a socket a single time and when appropriate
2017-01-16 14:25:38 -08:00
Mark Pizzolato
5531ccb175
ALL: Massive 'const' cleanup
...
These changes facilitate more robust parameter type checking and helps
to identify unexpected coding errors.
Most simulators can now also be compiled with a C++ compiler without
warnings.
Additionally, these changes have also been configured to facilitate easier
backporting of simulator and device simulation modules to run under the
simh v3.9+ SCP framework.
2016-05-15 15:25:33 -07:00
Mark Pizzolato
ed2de2fcf2
FIO: Add LARGE_FILE support when building on Cygwin (from Don North).
2016-01-03 04:02:32 -08:00
Mark Pizzolato
cd799c9d3f
makefile: dynamically determine if shm_open is available on the local system, Fix X11R7 library reference when available
2015-04-28 16:29:23 -07:00
Mark Pizzolato
a8087ac4cc
SCP: Return write failure (write 0 bytes) if malloc fails in sim_fwrite on a big-endian host. Fix #204
2015-04-02 07:01:23 -07:00
Mark Pizzolato
590895bfe5
SCP: Added generic primitives to create named shared memory regions which can be used interprocess memory sharing
...
This is a basic starting point to create the memory regions. At some point synchronization primitives will probably also be necessary.
2015-03-17 22:11:07 -07:00
Mark Pizzolato
33781be23b
SCP: Added support fo set a fifo opened with sim_fopen() to be non-blocking.
2014-12-30 18:48:42 -08:00
Mark Pizzolato
437f86fb4a
FIO: Removed sim_set_fsizeo since it is not currently used and it can't be compiled under MinGW
2014-09-17 14:17:34 -07:00
Mark Pizzolato
bc3582c194
SCP: Added sim_set_fsize and sim_set_fsizeo to sim_fio to support specific expanding or truncation of files.
2014-09-16 09:20:02 -07:00
Mark Pizzolato
651780c481
Remove stray tab characters which crept in over time
2013-06-03 06:29:01 -07:00
Mark Pizzolato
2bfaf46781
AIX Platform support
2013-05-23 11:33:36 -07:00
Mark Pizzolato
02b3477d20
Ensure correct Remote Console functionality when log files get big
2013-04-21 05:46:52 -07:00
Mark Pizzolato
958ce00b2e
Provide a way to avoid building with large file support enabled via the compile time define of DONT_DO_LARGEFILE
2013-04-14 16:52:54 -07:00
Mark Pizzolato
3dd4121c78
Added Large File Support which was missing for NetBSD (and OpenBSD) hosts - reported by Felix Deichmann
2013-04-12 08:17:01 -07:00
Mark Pizzolato
0605b6dff4
Added support for building on Solaris with the Sun C compiler
2013-03-17 16:50:57 -07:00
Mark Pizzolato
4425241b78
OSX fix for recent sim_disk changes
2013-03-17 12:21:56 -07:00
Mark Pizzolato
2e5b0d54c6
Generalized the sim_disk layer to support large file disk devices (simh, VHD and RAW formats) with out requiring USE_ADDR64, and enhanced the pdp11_rq device to use this capability.
2013-03-17 12:02:43 -07:00
Mark Pizzolato
9bd8305943
Cleanup compiler warnings on Solaris and newer OSX clang compilers.
...
Add Large File support on Solaris
2013-03-13 20:29:03 -07:00
Mark Pizzolato
d5ca542102
Changed use of compile #defines which start with a _ character to not do this since defined symbols starting with _ are reserved to local compiler/runtime implementations in the C language. This addresses issue #32
2013-03-12 11:07:58 -07:00
Mark Pizzolato
eb101e3881
HP-UX port supplied by Mikulas Patocka
2013-03-05 13:29:38 -08:00