Commit Graph

41 Commits

Author SHA1 Message Date
W. Eric Norum
7dcd682f7d Force panic if application-supplied routine returns a non-zero value. 2006-06-29 20:07:10 +00:00
W. Eric Norum
eff6f305c8 Add RTEMS initialization hooks. 2006-06-29 15:22:53 +00:00
W. Eric Norum
e0887d197e Get rid of a bunch of conditional compile statements. 2005-12-19 22:27:47 +00:00
W. Eric Norum
7891fef3d5 Ensure that rtems_shutdown_executive() gets called even if the main
routine does not return but rather calls exit() either directly or
indirectly (through epicsExit()).
2005-09-21 14:08:32 +00:00
W. Eric Norum
3620fc6de2 Arrange to return to BSP (and likely then to bootstrap ROM) when iocsh terminates. 2005-09-19 21:54:30 +00:00
W. Eric Norum
7661dfa662 Make nfsMount command a little more convenient. Create mount point if it's missing. 2005-08-30 14:53:41 +00:00
W. Eric Norum
a6eb691955 Set POSIX TZ environment variable from EPICS_TIMEZONE.
Allow for simultaneous local and remote filesystems.
2005-07-20 19:37:31 +00:00
W. Eric Norum
dd966763e9 Add another environment variable. 2005-07-09 14:57:43 +00:00
W. Eric Norum
99fba1364d Set IOC_NAME environment variable from boot parameters. 2005-07-06 21:19:21 +00:00
W. Eric Norum
2320cfecf3 Cosmetic. 2005-04-28 17:21:55 +00:00
W. Eric Norum
6cb81d4cc3 Add iocsh command to print amount of available heap space. 2005-04-28 17:08:04 +00:00
W. Eric Norum
54ba14953a It's not an error if a directory can't be created because it already exists. 2005-03-04 22:58:07 +00:00
W. Eric Norum
7d4cd6ffb2 Add NFSMOUNT support. 2005-03-03 14:05:46 +00:00
W. Eric Norum
b13edb9927 Add reboot reason. 2005-02-13 22:56:12 +00:00
W. Eric Norum
cdb6ba4a83 Add missing argument. 2005-02-11 19:54:29 +00:00
W. Eric Norum
b6ebc155b6 Use linker constants to find flash size/location. 2005-02-10 22:21:35 +00:00
W. Eric Norum
a5e85b0eb0 Add support for in-memory filesystem.
Allows for fully standalone IOCs.
2005-02-07 15:04:52 +00:00
W. Eric Norum
ee794ebf54 Clean up initialization. Add NVRAM code for uC5282. 2005-02-01 20:42:14 +00:00
W. Eric Norum
287fd7efa8 Some BSPs don't leave the cursor at the left margin. 2004-11-30 19:39:48 +00:00
W. Eric Norum
8c75201ad8 Improve error message. 2004-11-13 17:10:52 +00:00
W. Eric Norum
9a94ca9d88 Clean out local debugging code. 2004-10-18 21:39:16 +00:00
W. Eric Norum
ce20721cf9 Clean up network configuration. 2004-10-18 21:38:47 +00:00
W. Eric Norum
2e66cfb8fb Clean up NFS/TFTP remote fileystem setup. 2004-09-30 17:58:42 +00:00
W. Eric Norum
319b886ab4 Don't use TFTP if not needed. 2004-09-29 14:30:51 +00:00
W. Eric Norum
46068e813d Use NFS by default. 2004-09-28 20:40:43 +00:00
W. Eric Norum
f41a7910c4 Allow configuration from PPCBUG NVRAM. 2004-09-17 20:48:09 +00:00
W. Eric Norum
4707a60805 Include oisUnistd.h to pick up some missing prototypes. 2003-03-02 18:57:24 +00:00
W. Eric Norum
6759cb7f65 Must set ticksPerSecond before using it! 2002-12-16 16:59:34 +00:00
W. Eric Norum
eb157872bd Use EPICS logging routines. No more syslog.
Unless othersise specified, run the network daemons at a lower priority than
the EPICS scan threads.  This makes the scan response much more deterministic.
2002-12-03 22:00:12 +00:00
W. Eric Norum
8579ce2e26 Clean up architecture-specific hooks.
Add hook for __i386__ remote serial debugging.
2002-11-12 18:18:19 +00:00
Janet B. Anderson
93b0bf478d Updated license comments. 2002-07-12 21:35:43 +00:00
W. Eric Norum
65efdb4c29 With the release of gcc-3.1, the weak reference to iocshRegister is
overridden by the first non-weak declaration in the iocsh.h header.
This caused iocshRegister to be undefined when building the test
applications.  Fix the problem by adding a file which provides a
dummy version of iocshRegister if the real routine is not present.
2002-05-17 19:24:30 +00:00
W. Eric Norum
d198de0fbd Don't use libCom routines since doing so causes problems when linking
the IOC test programs in base/src/libCom/tests.
2002-04-16 21:39:09 +00:00
W. Eric Norum
04a6b83510 Remove some dead code.
Use weak reference to iocshRegister so that the same init code can be used
with full IOC applications (which include the iocsh routines) and also with
IOC test programs (which do not include the iocsh routines).
Don't treat a return from main() as a fatal error condition.
2002-04-16 19:28:30 +00:00
W. Eric Norum
8b4d44dd83 Now that RTEMS no longer uses main() internally it is possible to use the
standard EPICS application main().  This makes it much easier to build the
test programs in src/libCom/test.
2002-04-15 19:42:41 +00:00
W. Eric Norum
67373051bb Try for a minute or so. This makes the code match the documentation. 2001-11-07 14:20:44 +00:00
W. Eric Norum
d1302e6242 Don't lock up if no NTP time synchronization packet is received. Try for about
30 seconds then set the date and time to a default value (January 1, 2001).
This should make it easier for people to get EPICS/RTEMS working since they
can try out the example application without having an NTP server on their
network.
2001-11-07 14:19:07 +00:00
W. Eric Norum
2cf796ce9b Use st.cmd in the top-level IOC directory, not in bin/scripts. This change
means that the st.cmd script produced for the example application needs to
be edited by hand before it can be used by an RTEMS IOC.
2001-10-12 14:24:08 +00:00
W. Eric Norum
c7f8051c84 RTEMS TFTP driver now handles leading ../ path name components properly.
Thus, for ../../dbd/example.dbd to be found properly, the st.cmd script
must be moved down two directories.  For now it is in bin/scripts, but
that may change.
2001-09-29 19:51:24 +00:00
W. Eric Norum
74f581dce5 RTEMS TFTP driver now supports a limited form of chdir(). This means that
the hack of redefining fopen is no longer necessary.
2001-09-26 15:27:12 +00:00
W. Eric Norum
6fad25e2d1 Move RTEMS initialization/configuration files from the libCom
os-dependent directory to their own directory.
This solves the problem in which these files include header files
which are not yet installed when libCom is being built.
2001-08-09 17:54:06 +00:00