1 /******************************************************************************
5 * Definition of environment variables, structures, and other globals.
7 * Revision information:
9 * 20AUG2004 kb_admin initial creation
12 * No warranty, expressed or implied, is included with this software. It is
13 * provided "AS IS" and no warranty of any kind including statutory or aspects
14 * relating to merchantability or fitness for any purpose is provided. All
15 * intellectual property rights of others is maintained with the respective
16 * owners. This software is not copyrighted and is intended for reference
21 *****************************************************************************/
26 /* each environment variable is a string following the standard command */
27 /* definition used by the interactive loader in the following format: */
28 /* <command> <parm1> <parm2> ... */
29 /* all environment variables (or commands) are stored in a string */
30 /* format: NULL-terminated. */
31 /* this implies that commands can never utilize 0-values: actual 0, not */
32 /* the string '0'. this is not an issue as the string '0' is handled */
33 /* by the command parse routine. */
35 /* the following defines the maximum size of the environment for */
36 /* including variables. */
37 /* this value must match that declared in the low-level file that */
38 /* actually reserves the space for the non-volatile environment. */
39 #define MAX_ENV_SIZE_BYTES 0x100
41 #define MAX_BOOT_COMMANDS 10
43 /* C-style reference section */
46 extern void WriteCommandTable(void);
47 extern void SetBootCommand(int index, char *command);
48 extern void DumpBootCommands(void);
49 extern void LoadBootCommands(void);
50 extern void ExecuteEnvironmentFunctions(void);
52 #endif /* !__ASSEMBLY__ */
54 #endif /* _ENV_VARS_H_ */