EPICS Base  7.0.6.1
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
epicsRtemsInitHooks.h
1 /*************************************************************************\
2 * Copyright (c) 2006 The University of Chicago, as Operator of Argonne
3 * National Laboratory.
4 * SPDX-License-Identifier: EPICS
5 * EPICS Base is distributed subject to a Software License Agreement found
6 * in file LICENSE that is included with this distribution.
7 \*************************************************************************/
8 
9 /*
10  * Hooks into RTEMS startup code
11  */
12 #include <bsp.h>
13 #ifdef RTEMS_LEGACY_STACK
14 #include <rtems/rtems_bsdnet.h>
15 #endif
16 
17 extern char *env_nfsServer;
18 extern char *env_nfsPath;
19 extern char *env_nfsMountPoint;
20 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
25 /*
26  * Return 0 for success, non-zero for failure (will cause panic)
27  */
28 #ifdef RTEMS_LEGACY_STACK
29 int epicsRtemsInitPreSetBootConfigFromNVRAM(struct rtems_bsdnet_config *config);
30 int epicsRtemsInitPostSetBootConfigFromNVRAM(struct rtems_bsdnet_config *config);
31 #endif
32 /* Return 0 if local file system was setup, or non-zero (will fall back to network */
33 int epicsRtemsMountLocalFilesystem(char **argv);
34 
35 #ifdef __cplusplus
36 }
37 #endif
38