From 20311a8e4630d4af7503d4fbacdda851b56b618d Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Thu, 10 Aug 2006 18:19:45 +0000 Subject: [PATCH] MFp4: remove obsolete files --- sys/boot/arm/at91/libat91/env_vars.h | 54 ---------------------- sys/boot/arm/at91/libat91/loader_prompt.h | 55 ----------------------- 2 files changed, 109 deletions(-) delete mode 100644 sys/boot/arm/at91/libat91/env_vars.h delete mode 100644 sys/boot/arm/at91/libat91/loader_prompt.h diff --git a/sys/boot/arm/at91/libat91/env_vars.h b/sys/boot/arm/at91/libat91/env_vars.h deleted file mode 100644 index c6e46b4e4332..000000000000 --- a/sys/boot/arm/at91/libat91/env_vars.h +++ /dev/null @@ -1,54 +0,0 @@ -/****************************************************************************** - * - * Filename: env_vars.h - * - * Definition of environment variables, structures, and other globals. - * - * Revision information: - * - * 20AUG2004 kb_admin initial creation - * - * BEGIN_KBDD_BLOCK - * No warranty, expressed or implied, is included with this software. It is - * provided "AS IS" and no warranty of any kind including statutory or aspects - * relating to merchantability or fitness for any purpose is provided. All - * intellectual property rights of others is maintained with the respective - * owners. This software is not copyrighted and is intended for reference - * only. - * END_BLOCK - * - * $FreeBSD$ - *****************************************************************************/ - -#ifndef _ENV_VARS_H_ -#define _ENV_VARS_H_ - -/* each environment variable is a string following the standard command */ -/* definition used by the interactive loader in the following format: */ -/* ... */ -/* all environment variables (or commands) are stored in a string */ -/* format: NULL-terminated. */ -/* this implies that commands can never utilize 0-values: actual 0, not */ -/* the string '0'. this is not an issue as the string '0' is handled */ -/* by the command parse routine. */ - -/* the following defines the maximum size of the environment for */ -/* including variables. */ -/* this value must match that declared in the low-level file that */ -/* actually reserves the space for the non-volatile environment. */ -#define MAX_ENV_SIZE_BYTES 0x100 - -#define MAX_BOOT_COMMANDS 10 - -/* C-style reference section */ -#ifndef __ASSEMBLY__ - -extern void WriteCommandTable(void); -extern void SetBootCommand(int index, char *command); -extern void DumpBootCommands(void); -extern void LoadBootCommands(void); -extern void ExecuteEnvironmentFunctions(void); - -#endif /* !__ASSEMBLY__ */ - -#endif /* _ENV_VARS_H_ */ diff --git a/sys/boot/arm/at91/libat91/loader_prompt.h b/sys/boot/arm/at91/libat91/loader_prompt.h deleted file mode 100644 index 02233405f96a..000000000000 --- a/sys/boot/arm/at91/libat91/loader_prompt.h +++ /dev/null @@ -1,55 +0,0 @@ -/****************************************************************************** - * - * Filename: loader_prompt.h - * - * Definition of the interactive loader functions. - * - * Revision information: - * - * 20AUG2004 kb_admin initial creation - * - * BEGIN_KBDD_BLOCK - * No warranty, expressed or implied, is included with this software. It is - * provided "AS IS" and no warranty of any kind including statutory or aspects - * relating to merchantability or fitness for any purpose is provided. All - * intellectual property rights of others is maintained with the respective - * owners. This software is not copyrighted and is intended for reference - * only. - * END_BLOCK - * - * $FreeBSD$ - *****************************************************************************/ - -#ifndef _LOADER_PROMPT_H_ -#define _LOADER_PROMPT_H_ - -#define MAX_INPUT_SIZE 256 -#define MAX_COMMAND_PARAMS 10 - -enum { - COMMAND_INVALID = 0, - COMMAND_COPY, - COMMAND_DUMP, - COMMAND_EXEC, - COMMAND_HELP, - COMMAND_LOCAL_IP, - COMMAND_MAC, - COMMAND_SERVER_IP, - COMMAND_SET, - COMMAND_TAG, - COMMAND_TFTP, - COMMAND_WRITE, - COMMAND_XMODEM, - COMMAND_FINAL_FLAG -} e_cmd_t; - - -typedef struct { - int command; - const char *c_string; -} command_entry_t; - -void EnterInteractiveBootloader(int(*inputFunction)(int)); -void Bootloader(int(*inputFunction)(int)); - -#endif /* _LOADER_PROMPT_H_ */