//==========================================================================
|
//==========================================================================
|
//
|
//
|
// version.c
|
// version.c
|
//
|
//
|
// RedBoot version "string"
|
// RedBoot version "string"
|
//
|
//
|
//==========================================================================
|
//==========================================================================
|
//####ECOSGPLCOPYRIGHTBEGIN####
|
//####ECOSGPLCOPYRIGHTBEGIN####
|
// -------------------------------------------
|
// -------------------------------------------
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
|
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
|
//
|
//
|
// eCos is free software; you can redistribute it and/or modify it under
|
// eCos is free software; you can redistribute it and/or modify it under
|
// the terms of the GNU General Public License as published by the Free
|
// the terms of the GNU General Public License as published by the Free
|
// Software Foundation; either version 2 or (at your option) any later version.
|
// Software Foundation; either version 2 or (at your option) any later version.
|
//
|
//
|
// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
|
// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
|
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
// for more details.
|
// for more details.
|
//
|
//
|
// You should have received a copy of the GNU General Public License along
|
// You should have received a copy of the GNU General Public License along
|
// with eCos; if not, write to the Free Software Foundation, Inc.,
|
// with eCos; if not, write to the Free Software Foundation, Inc.,
|
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
//
|
//
|
// As a special exception, if other files instantiate templates or use macros
|
// As a special exception, if other files instantiate templates or use macros
|
// or inline functions from this file, or you compile this file and link it
|
// or inline functions from this file, or you compile this file and link it
|
// with other works to produce a work based on this file, this file does not
|
// with other works to produce a work based on this file, this file does not
|
// by itself cause the resulting work to be covered by the GNU General Public
|
// by itself cause the resulting work to be covered by the GNU General Public
|
// License. However the source code for this file must still be made available
|
// License. However the source code for this file must still be made available
|
// in accordance with section (3) of the GNU General Public License.
|
// in accordance with section (3) of the GNU General Public License.
|
//
|
//
|
// This exception does not invalidate any other reasons why a work based on
|
// This exception does not invalidate any other reasons why a work based on
|
// this file might be covered by the GNU General Public License.
|
// this file might be covered by the GNU General Public License.
|
//
|
//
|
// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
|
// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
|
// at http://sources.redhat.com/ecos/ecos-license/
|
// at http://sources.redhat.com/ecos/ecos-license/
|
// -------------------------------------------
|
// -------------------------------------------
|
//####ECOSGPLCOPYRIGHTEND####
|
//####ECOSGPLCOPYRIGHTEND####
|
//==========================================================================
|
//==========================================================================
|
//#####DESCRIPTIONBEGIN####
|
//#####DESCRIPTIONBEGIN####
|
//
|
//
|
// Author(s): gthomas
|
// Author(s): gthomas
|
// Contributors: gthomas
|
// Contributors: gthomas
|
// Date: 2000-12-13
|
// Date: 2000-12-13
|
// Purpose:
|
// Purpose:
|
// Description:
|
// Description:
|
//
|
//
|
// This code is part of RedBoot (tm).
|
// This code is part of RedBoot (tm).
|
//
|
//
|
//####DESCRIPTIONEND####
|
//####DESCRIPTIONEND####
|
//
|
//
|
//==========================================================================
|
//==========================================================================
|
|
|
#include <pkgconf/redboot.h>
|
#include <pkgconf/redboot.h>
|
#include <cyg/hal/hal_arch.h>
|
#include <cyg/hal/hal_arch.h>
|
|
|
//
|
//
|
// These strings are used for informational purposes only. If the end
|
// These strings are used for informational purposes only. If the end
|
// user wishes to replace them, simply redefine them in a platform specific
|
// user wishes to replace them, simply redefine them in a platform specific
|
// file, e.g. in a local file used to provide additional local RedBoot
|
// file, e.g. in a local file used to provide additional local RedBoot
|
// customization. Examples of such are platforms which define a special
|
// customization. Examples of such are platforms which define a special
|
// 'exec' command used to start a Linux kernel.
|
// 'exec' command used to start a Linux kernel.
|
//
|
//
|
// CAUTION! Since this file is compiled using very special rules, it is not
|
// CAUTION! Since this file is compiled using very special rules, it is not
|
// possible to replace it with a local version contained in the "build" tree.
|
// possible to replace it with a local version contained in the "build" tree.
|
// Replacing the information exported herein is accomplished via the techniques
|
// Replacing the information exported herein is accomplished via the techniques
|
// outlined above.
|
// outlined above.
|
//
|
//
|
|
|
// Do not change the following two lines at all. They are fiddled by release
|
// Do not change the following two lines at all. They are fiddled by release
|
// scripts.
|
// scripts.
|
#define _CERTIFICATE Non-certified
|
#define _CERTIFICATE Non-certified
|
//#define CYGDAT_REDBOOT_CUSTOM_VERSION current
|
//#define CYGDAT_REDBOOT_CUSTOM_VERSION current
|
|
|
#if defined(CYGDAT_REDBOOT_CUSTOM_VERSION)
|
#if defined(CYGDAT_REDBOOT_CUSTOM_VERSION)
|
#define _REDBOOT_VERSION CYGDAT_REDBOOT_CUSTOM_VERSION
|
#define _REDBOOT_VERSION CYGDAT_REDBOOT_CUSTOM_VERSION
|
#elif defined(CYGPKG_REDBOOT_current)
|
#elif defined(CYGPKG_REDBOOT_current)
|
#define _REDBOOT_VERSION UNKNOWN
|
#define _REDBOOT_VERSION UNKNOWN
|
#else
|
#else
|
#define _REDBOOT_VERSION CYGPKG_REDBOOT
|
#define _REDBOOT_VERSION CYGPKG_REDBOOT
|
#endif
|
#endif
|
|
|
#define __s(x) #x
|
#define __s(x) #x
|
#define _s(x) __s(x)
|
#define _s(x) __s(x)
|
|
|
char RedBoot_version[] CYGBLD_ATTRIB_WEAK =
|
char RedBoot_version[] CYGBLD_ATTRIB_WEAK =
|
"\nRedBoot(tm) bootstrap and debug environment [" _s(CYG_HAL_STARTUP) "]"
|
"\nRedBoot(tm) bootstrap and debug environment [" _s(CYG_HAL_STARTUP) "]"
|
"\n" _s(_CERTIFICATE) " release, version " _s(_REDBOOT_VERSION)
|
"\n" _s(_CERTIFICATE) " release, version " _s(_REDBOOT_VERSION)
|
" - built " __TIME__ ", " __DATE__ "\n\n";
|
" - built " __TIME__ ", " __DATE__ "\n\n";
|
|
|
// Override default GDB stubs 'info'
|
// Override default GDB stubs 'info'
|
// Note: this can still be a "weak" symbol since it will occur in the .o
|
// Note: this can still be a "weak" symbol since it will occur in the .o
|
// file explicitly mentioned in the link command. User programs will
|
// file explicitly mentioned in the link command. User programs will
|
// still be allowed to override it.
|
// still be allowed to override it.
|
char GDB_stubs_version[] CYGBLD_ATTRIB_WEAK =
|
char GDB_stubs_version[] CYGBLD_ATTRIB_WEAK =
|
"eCos GDB stubs [via RedBoot] - built " __DATE__ " / " __TIME__;
|
"eCos GDB stubs [via RedBoot] - built " __DATE__ " / " __TIME__;
|
|
|