mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 23:23:13 +00:00
2009-11-30 Fernando Nicodemos <fgnicodemos@terra.com.br>
* umon/cli.h, umon/monlib.c, umon/monlib.h, umon/tfs.h, umon/tfsDriver.c, umon/umon.h, umon/umonrtemsglue.c: Update to match development version.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2009-11-30 Fernando Nicodemos <fgnicodemos@terra.com.br>
|
||||||
|
|
||||||
|
* umon/cli.h, umon/monlib.c, umon/monlib.h, umon/tfs.h,
|
||||||
|
umon/tfsDriver.c, umon/umon.h, umon/umonrtemsglue.c: Update to match
|
||||||
|
development version.
|
||||||
|
|
||||||
2009-11-23 Joel Sherrill <joel.sherrill@OARcorp.com>
|
2009-11-23 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
* clockdrv_shell.h: Clean up.
|
* clockdrv_shell.h: Clean up.
|
||||||
|
|||||||
@@ -1,23 +1,38 @@
|
|||||||
/* cli.h:
|
/*
|
||||||
* Header file for Command Line Interface related stuff.
|
* cli.h - Header file for Command Line Interface related stuff
|
||||||
*
|
*
|
||||||
* General notice:
|
* Based upon code from MicroMonitor 1.17 from http://www.umonfw.com/
|
||||||
* This code is part of a boot-monitor package developed as a generic base
|
* which includes this notice:
|
||||||
* platform for embedded system designs. As such, it is likely to be
|
|
||||||
* distributed to various projects beyond the control of the original
|
|
||||||
* author. Please notify the author of any enhancements made or bugs found
|
|
||||||
* so that all may benefit from the changes. In addition, notification back
|
|
||||||
* to the author will allow the new user to pick up changes that may have
|
|
||||||
* been made by other users after this version of the code was distributed.
|
|
||||||
*
|
*
|
||||||
* Note1: the majority of this code was edited with 4-space tabs.
|
**************************************************************************
|
||||||
* Note2: as more and more contributions are accepted, the term "author"
|
* General notice:
|
||||||
* is becoming a mis-representation of credit.
|
* This code is part of a boot-monitor package developed as a generic base
|
||||||
|
* platform for embedded system designs. As such, it is likely to be
|
||||||
|
* distributed to various projects beyond the control of the original
|
||||||
|
* author. Please notify the author of any enhancements made or bugs found
|
||||||
|
* so that all may benefit from the changes. In addition, notification back
|
||||||
|
* to the author will allow the new user to pick up changes that may have
|
||||||
|
* been made by other users after this version of the code was distributed.
|
||||||
*
|
*
|
||||||
* Original author: Ed Sutter
|
* Note1: the majority of this code was edited with 4-space tabs.
|
||||||
* Email: esutter@lucent.com
|
* Note2: as more and more contributions are accepted, the term "author"
|
||||||
* Phone: 908-582-2351
|
* is becoming a mis-representation of credit.
|
||||||
|
*
|
||||||
|
* Original author: Ed Sutter
|
||||||
|
* Email: esutter@alcatel-lucent.com
|
||||||
|
* Phone: 908-582-2351
|
||||||
|
**************************************************************************
|
||||||
|
*
|
||||||
|
* Ed Sutter has been informed that this code is being used in RTEMS.
|
||||||
|
*
|
||||||
|
* This code was reformatted by Joel Sherrill from OAR Corporation and
|
||||||
|
* Fernando Nicodemos <fgnicodemos@terra.com.br> from NCB - Sistemas
|
||||||
|
* Embarcados Ltda. (Brazil) to be more compliant with RTEMS coding
|
||||||
|
* standards and to eliminate C++ style comments.
|
||||||
|
*
|
||||||
|
* $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _cli_h
|
#ifndef _cli_h
|
||||||
#define _cli_h
|
#define _cli_h
|
||||||
|
|
||||||
|
|||||||
@@ -1,37 +1,50 @@
|
|||||||
/* monlib.c:
|
/*
|
||||||
* This file is part of the monitor code, but it is actually linked into
|
* monlib.c -
|
||||||
* the application. It is built with (but not linked with) the monitor,
|
* This file is part of the monitor code, but it is actually linked into
|
||||||
* then the monlib.o file is linked with the application.
|
* the application. It is built with (but not linked with) the monitor,
|
||||||
* The only requirement on the application is that it know where the address
|
* then the monlib.o file is linked with the application.
|
||||||
* of the monCom function is in the monitor's space.
|
* The only requirement on the application is that it know where the address
|
||||||
* The monCom function will be accessible in some "well-known" way (processor
|
* of the monCom function is in the monitor's space.
|
||||||
* and platform dependent) so that this will not be a problem.
|
* The monCom function will be accessible in some "well-known" way (processor
|
||||||
|
* and platform dependent) so that this will not be a problem.
|
||||||
*
|
*
|
||||||
* This monlib.c file is a replacement for the older mechanism that was
|
* This monlib.c file is a replacement for the older mechanism that was
|
||||||
* a bit more error-prone... A table of function pointers existed at some
|
* a bit more error-prone... A table of function pointers existed at some
|
||||||
* well-known location in the monitor, and the content of that table was
|
* well-known location in the monitor, and the content of that table was
|
||||||
* assumed to also be "well-known". This new version only assumes that the
|
* assumed to also be "well-known". This new version only assumes that the
|
||||||
* pointer to monCom is well-known; everything else will work based on the
|
* pointer to monCom is well-known; everything else will work based on the
|
||||||
* fact that the monitor and application will share the monlib.h header
|
* fact that the monitor and application will share the monlib.h header
|
||||||
* file.
|
* file.
|
||||||
*
|
*
|
||||||
* General notice:
|
**************************************************************************
|
||||||
* This code is part of a boot-monitor package developed as a generic base
|
* General notice:
|
||||||
* platform for embedded system designs. As such, it is likely to be
|
* This code is part of a boot-monitor package developed as a generic base
|
||||||
* distributed to various projects beyond the control of the original
|
* platform for embedded system designs. As such, it is likely to be
|
||||||
* author. Please notify the author of any enhancements made or bugs found
|
* distributed to various projects beyond the control of the original
|
||||||
* so that all may benefit from the changes. In addition, notification back
|
* author. Please notify the author of any enhancements made or bugs found
|
||||||
* to the author will allow the new user to pick up changes that may have
|
* so that all may benefit from the changes. In addition, notification back
|
||||||
* been made by other users after this version of the code was distributed.
|
* to the author will allow the new user to pick up changes that may have
|
||||||
|
* been made by other users after this version of the code was distributed.
|
||||||
*
|
*
|
||||||
* Note1: the majority of this code was edited with 4-space tabs.
|
* Note1: the majority of this code was edited with 4-space tabs.
|
||||||
* Note2: as more and more contributions are accepted, the term "author"
|
* Note2: as more and more contributions are accepted, the term "author"
|
||||||
* is becoming a mis-representation of credit.
|
* is becoming a mis-representation of credit.
|
||||||
*
|
*
|
||||||
* Original author: Ed Sutter
|
* Original author: Ed Sutter
|
||||||
* Email: esutter@lucent.com
|
* Email: esutter@alcatel-lucent.com
|
||||||
* Phone: 908-582-2351
|
* Phone: 908-582-2351
|
||||||
|
**************************************************************************
|
||||||
|
*
|
||||||
|
* Ed Sutter has been informed that this code is being used in RTEMS.
|
||||||
|
*
|
||||||
|
* This code was reformatted by Joel Sherrill from OAR Corporation and
|
||||||
|
* Fernando Nicodemos <fgnicodemos@terra.com.br> from NCB - Sistemas
|
||||||
|
* Embarcados Ltda. (Brazil) to be more compliant with RTEMS coding
|
||||||
|
* standards and to eliminate C++ style comments.
|
||||||
|
*
|
||||||
|
* $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <umon/monlib.h>
|
#include <umon/monlib.h>
|
||||||
|
|
||||||
static int (*_tfsseek)(int,int,int);
|
static int (*_tfsseek)(int,int,int);
|
||||||
|
|||||||
@@ -1,23 +1,39 @@
|
|||||||
/* monlib.h:
|
/*
|
||||||
* This header file is used by both the monitor and the application that
|
* monlib.h - Used by both the monitor and the application that
|
||||||
* may reside on top of the monitor.
|
* may reside on top of the monitor
|
||||||
* General notice:
|
|
||||||
* This code is part of a boot-monitor package developed as a generic base
|
|
||||||
* platform for embedded system designs. As such, it is likely to be
|
|
||||||
* distributed to various projects beyond the control of the original
|
|
||||||
* author. Please notify the author of any enhancements made or bugs found
|
|
||||||
* so that all may benefit from the changes. In addition, notification back
|
|
||||||
* to the author will allow the new user to pick up changes that may have
|
|
||||||
* been made by other users after this version of the code was distributed.
|
|
||||||
*
|
*
|
||||||
* Note1: the majority of this code was edited with 4-space tabs.
|
* Based upon code from MicroMonitor 1.17 from http://www.umonfw.com/
|
||||||
* Note2: as more and more contributions are accepted, the term "author"
|
* which includes this notice:
|
||||||
* is becoming a mis-representation of credit.
|
|
||||||
*
|
*
|
||||||
* Original author: Ed Sutter
|
**************************************************************************
|
||||||
* Email: esutter@lucent.com
|
* General notice:
|
||||||
* Phone: 908-582-2351
|
* This code is part of a boot-monitor package developed as a generic base
|
||||||
|
* platform for embedded system designs. As such, it is likely to be
|
||||||
|
* distributed to various projects beyond the control of the original
|
||||||
|
* author. Please notify the author of any enhancements made or bugs found
|
||||||
|
* so that all may benefit from the changes. In addition, notification back
|
||||||
|
* to the author will allow the new user to pick up changes that may have
|
||||||
|
* been made by other users after this version of the code was distributed.
|
||||||
|
*
|
||||||
|
* Note1: the majority of this code was edited with 4-space tabs.
|
||||||
|
* Note2: as more and more contributions are accepted, the term "author"
|
||||||
|
* is becoming a mis-representation of credit.
|
||||||
|
*
|
||||||
|
* Original author: Ed Sutter
|
||||||
|
* Email: esutter@alcatel-lucent.com
|
||||||
|
* Phone: 908-582-2351
|
||||||
|
**************************************************************************
|
||||||
|
*
|
||||||
|
* Ed Sutter has been informed that this code is being used in RTEMS.
|
||||||
|
*
|
||||||
|
* This code was reformatted by Joel Sherrill from OAR Corporation and
|
||||||
|
* Fernando Nicodemos <fgnicodemos@terra.com.br> from NCB - Sistemas
|
||||||
|
* Embarcados Ltda. (Brazil) to be more compliant with RTEMS coding
|
||||||
|
* standards and to eliminate C++ style comments.
|
||||||
|
*
|
||||||
|
* $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _MONLIB_H_
|
#ifndef _MONLIB_H_
|
||||||
#define _MONLIB_H_
|
#define _MONLIB_H_
|
||||||
|
|
||||||
|
|||||||
@@ -1,23 +1,24 @@
|
|||||||
/* tfs.h:
|
/* tfs.h:
|
||||||
* Header file for TFS transactions, used by both application and monitor.
|
* Header file for TFS transactions, used by both application and monitor.
|
||||||
*
|
*
|
||||||
* General notice:
|
* General notice:
|
||||||
* This code is part of a boot-monitor package developed as a generic base
|
* This code is part of a boot-monitor package developed as a generic base
|
||||||
* platform for embedded system designs. As such, it is likely to be
|
* platform for embedded system designs. As such, it is likely to be
|
||||||
* distributed to various projects beyond the control of the original
|
* distributed to various projects beyond the control of the original
|
||||||
* author. Please notify the author of any enhancements made or bugs found
|
* author. Please notify the author of any enhancements made or bugs found
|
||||||
* so that all may benefit from the changes. In addition, notification back
|
* so that all may benefit from the changes. In addition, notification back
|
||||||
* to the author will allow the new user to pick up changes that may have
|
* to the author will allow the new user to pick up changes that may have
|
||||||
* been made by other users after this version of the code was distributed.
|
* been made by other users after this version of the code was distributed.
|
||||||
*
|
*
|
||||||
* Note1: the majority of this code was edited with 4-space tabs.
|
* Note1: the majority of this code was edited with 4-space tabs.
|
||||||
* Note2: as more and more contributions are accepted, the term "author"
|
* Note2: as more and more contributions are accepted, the term "author"
|
||||||
* is becoming a mis-representation of credit.
|
* is becoming a mis-representation of credit.
|
||||||
*
|
*
|
||||||
* Original author: Ed Sutter
|
* Original author: Ed Sutter
|
||||||
* Email: esutter@lucent.com
|
* Email: esutter@lucent.com
|
||||||
* Phone: 908-582-2351
|
* Phone: 908-582-2351
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _tfs_h
|
#ifndef _tfs_h
|
||||||
#define _tfs_h
|
#define _tfs_h
|
||||||
|
|
||||||
|
|||||||
@@ -1,12 +1,19 @@
|
|||||||
/*
|
/*
|
||||||
* MicroMonitor TFS Hookup to RTEMS FS
|
* tfsDriver.c - MicroMonitor TFS Hookup to RTEMS FS
|
||||||
*
|
*
|
||||||
* Initial release: Oct 1, 2004 by Ed Sutter
|
* Initial release: Oct 1, 2004 by Ed Sutter
|
||||||
*
|
*
|
||||||
* This code was derived from the tftpDriver.c code written by
|
* This code was derived from the tftpDriver.c code written by
|
||||||
* W. Eric Norum, which was apparently derived from the IMFS driver.
|
* W. Eric Norum, which was apparently derived from the IMFS driver.
|
||||||
*
|
*
|
||||||
* This code was updated and merged with RTEMS CVS by Joel Sherrill, 2009.
|
* This code was reformatted by Joel Sherrill from OAR Corporation and
|
||||||
|
* Fernando Nicodemos <fgnicodemos@terra.com.br> from NCB - Sistemas
|
||||||
|
* Embarcados Ltda. (Brazil) to be more compliant with RTEMS coding
|
||||||
|
* standards and to eliminate C++ style comments.
|
||||||
|
*
|
||||||
|
* The license and distribution terms for this file may be
|
||||||
|
* found in the file LICENSE in this distribution or at
|
||||||
|
* http://www.rtems.com/license/LICENSE.
|
||||||
*
|
*
|
||||||
* $Id$
|
* $Id$
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -1,19 +1,18 @@
|
|||||||
/**
|
|
||||||
* @file rtems/umon.h
|
|
||||||
*
|
|
||||||
* This file contains the RTEMS specific interface to MicroMonitor.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* COPYRIGHT (c) 1989-2007.
|
* umon.h - RTEMS specific interface to MicroMonitor.
|
||||||
|
*
|
||||||
|
* COPYRIGHT (c) 1989-2009.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
|
* Modified by Fernando Nicodemos <fgnicodemos@terra.com.br>
|
||||||
|
* from NCB - Sistemas Embarcados Ltda. (Brazil)
|
||||||
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
* found in the file LICENSE in this distribution or at
|
* found in the file LICENSE in this distribution or at
|
||||||
* http://www.rtems.com/license/LICENSE.
|
* http://www.rtems.com/license/LICENSE.
|
||||||
*
|
*
|
||||||
* $Id$
|
* $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __rtems_umon_h
|
#ifndef __rtems_umon_h
|
||||||
#define __rtems_umon_h
|
#define __rtems_umon_h
|
||||||
|
|||||||
@@ -2,12 +2,15 @@
|
|||||||
* COPYRIGHT (c) 1989-2009.
|
* COPYRIGHT (c) 1989-2009.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
|
* Modified by Fernando Nicodemos <fgnicodemos@terra.com.br>
|
||||||
|
* from NCB - Sistemas Embarcados Ltda. (Brazil)
|
||||||
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
* found in the file LICENSE in this distribution or at
|
* found in the file LICENSE in this distribution or at
|
||||||
* http://www.rtems.com/license/LICENSE.
|
* http://www.rtems.com/license/LICENSE.
|
||||||
*
|
*
|
||||||
* $Id$
|
* $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <rtems/umon.h>
|
#include <rtems/umon.h>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user