URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [UPDATE_HELP] - Rev 173
Compare with Previous | Blame | View Log
## $Id: UPDATE_HELP,v 1.2 2001-09-27 11:59:11 chris Exp $#Between RTEMS 3.1.0 and 3.2.0, every RTEMS defined symbol made visiblewas renamed. This document describes the change and the tools providedto assist you in updating your RTEMS 3.1.0 application.[NOTE: This change was not included in snapshots prior to 3.1.15.]DESCRIPTION OF NAME CHANGES:============================The primary change was the addition of the prefix "rtems_" or "RTEMS_" toEVERY user visible RTEMS provided constant and routine. The primaryfactor in the decision to make such a sweeping change was conflictsbetween the the RTEMS and POSIX API's.TO UPDATE YOUR APPLICATION:===========================The update script requires that Perl be installed on your computer.It has only been tested with Perl 5.x.After RTEMS has been built, in the directory "$r/<BSP>/update_tools", willbe a set of tools to aid in making the application source changes necessaryto address (hopefully) all of the name changes in the RTEMS API betweenreleases 3.1.0 and 3.2.0.The update shell script is the only executable which is invoked by theuser directly. The word-replace Perl script is invoked by the updateshell script.WARNING: These tools modify the files IN PLACE!!! Backup yoursource before using these tools.To udpate your application, change directories to the top of your applicationsource tree and execute the update script. It should be something similarto the following:cd MY_APP$r/<BSP>/update-tools/updateThe update script will ask if you have backed up your source code beforebeginning the update process. While operating on files, it will printthe name of each file and a dot for each change made to the source file.NOTE: These scripts do not attempt to address changes in callingsequences. After the script has run, you will need to updatecalls to rtems_clock_get(), rtems_timer_fire_after(), andrtems_timer_fire_when() by hand.
