summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/sparc/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove make preinstallChris Johns2018-01-251-50/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A speciality of the RTEMS build system was the make preinstall step. It copied header files from arbitrary locations into the build tree. The header files were included via the -Bsome/build/tree/path GCC command line option. This has at least seven problems: * The make preinstall step itself needs time and disk space. * Errors in header files show up in the build tree copy. This makes it hard for editors to open the right file to fix the error. * There is no clear relationship between source and build tree header files. This makes an audit of the build process difficult. * The visibility of all header files in the build tree makes it difficult to enforce API barriers. For example it is discouraged to use BSP-specifics in the cpukit. * An introduction of a new build system is difficult. * Include paths specified by the -B option are system headers. This may suppress warnings. * The parallel build had sporadic failures on some hosts. This patch removes the make preinstall step. All installed header files are moved to dedicated include directories in the source tree. Let @RTEMS_CPU@ be the target architecture, e.g. arm, powerpc, sparc, etc. Let @RTEMS_BSP_FAMILIY@ be a BSP family base directory, e.g. erc32, imx, qoriq, etc. The new cpukit include directories are: * cpukit/include * cpukit/score/cpu/@RTEMS_CPU@/include * cpukit/libnetworking The new BSP include directories are: * bsps/include * bsps/@RTEMS_CPU@/include * bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILIY@/include There are build tree include directories for generated files. The include directory order favours the most general header file, e.g. it is not possible to override general header files via the include path order. The "bootstrap -p" option was removed. The new "bootstrap -H" option should be used to regenerate the "headers.am" files. Update #3254.
* sparc: Move <libcpu/byteorder.h>Sebastian Huber2018-01-021-66/+0
| | | | | Update #3254. Update #3260.
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-212-2/+2
|
* SPARC: added libcpu lowlevel access and byteorder routines/definitionsDaniel Hellstrom2012-03-212-0/+116
| | | | | | | | | | | | The low level routines can be used in different occasions, it will be required when accessing PCI. Note the difference between byteorder.h (inlined functions) and access.S where the functions will be declared in the library archive librtemscpu.a. Function names starting with _ are in library and can be referenced by function pointers. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* 2003-01-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-01-203-543/+0
| | | | | | | | * include/erc32.h: Remove (Unused). * include/Makefile.am: Remove. * include/.cvsignore: Remove (Obsolete). * Makefile.am: Reflect changes above. * configure.ac: Reflect changes above.
* 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-03-281-1/+0
| | | | | | | | | | | * configure.ac: AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS). AM_INIT_AUTOMAKE([no-define foreign 1.6]). * cache/Makefile.am: Remove AUTOMAKE_OPTIONS. * Makefile.am: Remove AUTOMAKE_OPTIONS. * include/Makefile.am: Remove AUTOMAKE_OPTIONS. * reg_win/Makefile.am: Remove AUTOMAKE_OPTIONS. * syscall/Makefile.am: Remove AUTOMAKE_OPTIONS.
* 2001-09-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-09-271-1/+1
| | | | | | * include/Makefile.am: Use 'TMPINSTALL_FILES ='. * cache/Makefile.am: Use 'PREINSTALL_FILES ='. * cache/Makefile.am: Use 'CLEANFILES ='.
* 2001-02-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de:Joel Sherrill2001-03-011-2/+2
| | | | | | * include/Makefile.am, syscall/Makefile.am, cache/Makefile.am: Apply include_*HEADERS instead of H_FILES. * cache/.cvsignore: Add cache.h.
* New file missed in earlier commit.Joel Sherrill2000-07-121-0/+22
|
* New file.Joel Sherrill2000-07-111-0/+2
|
* Updated copyright notice.Joel Sherrill1999-11-171-2/+1
|
* Patch from Jiri Gaisler <jgais@ws.estec.esa.nl>:Joel Sherrill1999-07-091-7/+7
| | | | | | + interrupt masking correction + FPU rev.B workaround + minor erc32 related fixes
* Moved erc32.h back up in tree.Joel Sherrill1999-02-191-0/+521
|
* Moved to proper rtems/scoreJoel Sherrill1999-02-191-521/+0
|
* Bug report from Jiri Gaisler <jgais@ws.estec.esa.nl>:Joel Sherrill1999-01-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > > I think I have found a bug in src/exec/scor/sparc/cpu/erc32.h in: > > > > #define ERC32_Disable_interrupt( _source, _previous ) \ > > do { \ > > unsigned32 _level; \ > > unsigned32 _mask = 1 << (_source); \ > > \ > > sparc_disable_interrupts( _level ); \ > > (_previous) = ERC32_MEC.Interrupt_Mask; \ > > ERC32_MEC.Interrupt_Mask = _previous | _mask; \ > > sparc_enable_interrupts( _level ); \ > > (_previous) &= ~_mask; \ <- IS THIS CORRECT...? > > } while (0) > > > > The previous interrupt mask is returned after first clearing the > > bit to be disabled, regardless whether the bit was set before or > > not. If the bit was set (interrupt masked), subsequent call to > > ERC32_Restore_interrupt() will enable the interrupt even though > > it was supposed to be masked. This is indeed what happens in > > DEBUG_puts when polled console I/O is used. In my opinion, the > > last statement in the macro should be removed - what is your opinion? > > I think the "~" shouldn't be there. I recall that the intent of that line > is to only return the state of the interrupts you were concerned with. > Removing the line returns entire state. Given that the value returned > shuold only be used in conjunction with the map, I suppose either removing > the ~ or the entire line is correct? I can go either way. Just let me > know which you think is more correct and the source will change. :) Hmmm, just removing the '~' should be OK. DEBUG_puts() seems to be the only user of ERC32_Restore_interrupt() anyway ...
* updated copyright to 1998Joel Sherrill1998-02-171-1/+1
|
* Fixed typo in the pointer to the license terms.Joel Sherrill1997-10-081-2/+2
|
* headers updated to reflect new style copyright notice as partJoel Sherrill1997-04-221-5/+5
| | | | of switching to the modified GNU GPL.
* Changes to reflect new revision of erc32 per Jiri Gaisler's suggestions.Joel Sherrill1996-12-021-19/+17
| | | | This is current as of sis 2.6.
* patches to erc32.h to correct handling of timer mirror from Jiri Gaisler.Joel Sherrill1996-10-141-3/+3
|
* ERC32_Force_interrupt implementation replaced per Jiri Gaisler's experienceJoel Sherrill1996-08-081-0/+5
| | | | on the real erc32 hardware.
* typos fixedJoel Sherrill1995-10-311-0/+15
|
* SPARC port passes all testsJoel Sherrill1995-10-301-0/+503