forked from Imagelibrary/rtems
Use register g6 for the per-CPU control of the current processor. The register g6 is reserved for the operating system by the SPARC ABI. On Linux register g6 is used for a similar purpose with the same method since 1996. The register g6 must be initialized during system startup and then must remain unchanged. Since the per-CPU control is used in all critical sections of the operating system, this is a performance optimization for the operating system core procedures. An additional benefit is that the low-level context switch and interrupt processing code is now identical on non-SMP and SMP configurations.
Tools Required ============== The following tools are used in the production of this documentation: TeX texi2html 1.82 texinfo-tex 4.13a texi2html will be deprecated in the upcomine texinfo release. At that point, we will need to provide support for texi2any.pl as an alternative means to produce html output. This was used by the authors to generate the directory tree figure in the texinfo printed version: tree (from the CTAN Archives -- see http://jasper.ora.com/ctan.html) Changing the Version Number and Timestamp ========================================= RTEMS Version number is in configure.in. Edit that file and run bootstrap. Documentation date is in common/setup.texi.in and also must be modified by hand. bootstrap does not have to be run after modifying this file. Making the Documentation ======================== cd rtems-XXX/doc ../bootstrap ./configure --enable-maintainer-mode make all make install Cleaning ======== make clean make distclean make maintainer-clean Making a Source Distribution ============================ This generates a rtems-<version>.tar.gz in the toplevel directory. Making a Preformatted Distribution ================================== Install and tar it up. :)