README for RTAPI RTAPI is a wrapper API that allows realtime programs to use either RTLinux or RTAI with no code changes. Files: Makefile : the Makefile README : this file rtapi.h : decls for the generic RTAPI functions. rtapi_app.h : decls for the kernel modules rtapi_common.h : Collection of typedefs, etc, used internally by RTAPI. procfs_macros.h : Macros used to impliment the /proc interface rtapi_proc.h : more stuff implementing the /proc interface rtai_rtapi.c : implementation of real-time API, for RTAI rtai_ulapi.c : implementation of user-level API, for RTAI rtl_rtapi.c : implementation of real-time API, for RTL rtl_ulapi.c : implementation of user-level API, for RTL sim_rtapi.c : implementation of real-time API, for Linux simulation sim_ulapi.c : implementation of user-level API, for Linux simulation ../../Makefile.inc : contains compile-time flags, etc. ../../configure : script that creates Makefile.inc The Build Process ----------------- The build process follows the standard Linux convention: ./configure make The configure script and make are intended to be run from the root of the emc2 tree, to make the entire emc2 project. See the README in that directory for more details. To run the examples: 1. Open a shell window, and begin watching the kernel log: tail -f /var/log/messages leave this running, and go back to your original shell window you should be in the emc2 directory 2. Load the RTOS and RTAPI modules: Note: for this and most of the following steps you will need to be root, or use 'su -c ""' scripts/load_rtapi See a number of messages pop up in the kernel log as components of the RTOS are installed... One of the last ones will be: