summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/i386 (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-03-22bsp/pc386: Move libcpu content to bspsSebastian Huber6-1195/+0
This patch is a part of the BSP source reorganization. Update #3285.
2018-01-31bsps: Rework cache manager implementationSebastian Huber3-109/+0
The previous cache manager support used a single souce file (cache_manager.c) which included an implementation header (cache_.h). This required the use of specialized include paths to find the right header file. Change this to include a generic implementation header (cacheimpl.h) in specialized source files. Use the following directories and files: * bsps/shared/cache * bsps/@RTEMS_CPU@/shared/cache * bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILY/start/cache.c Update #3285.
2018-01-25Remove make preinstallChris Johns6-159/+2
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.
2018-01-04bsps/i386: Fix AC_CONFIG_SRCDIR()Chris Johns1-1/+1
Update #3254.
2017-12-08bsps: Do not install <libcpu/cache.h>Sebastian Huber3-6/+1
This is a cache manager implementation header file. Update #3254.
2016-03-03i386: refactor libcpu/cpu.h into rtems/score/i386.hJoel Sherrill7-484/+49
Fixes #2515.
2015-10-26basdefs.h: Add and use RTEMS_PACKEDSebastian Huber1-1/+1
2014-12-05Update bug report URLSebastian Huber1-1/+1
2014-12-04i386: doxygen and comments related to VESA real mode framebufferJan Dolezal1-28/+37
2014-11-25rtems: Move rtems_cache_aligned_malloc()Sebastian Huber1-1/+1
Make sure also the size is cache aligned since otherwise we may have some overlap with the next allocation block. A cache invalidate on this area would be fatal.
2014-11-20i386: global descriptor table manipulation functionsJan Dolezal1-4/+87
2014-11-20i386: GDTR manipulation functions parameters changed to use explicit width typesJan Dolezal2-5/+7
2014-10-16libcpu/i388: Fix warning i displayCpu.cJoel Sherrill2-7/+10
2014-10-13libcpu/i386/cache.c: Fix warningsJoel Sherrill1-2/+5
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns7-7/+7
2013-03-08RTEMS: Delete ChangeLog files.Gedare Bloom1-315/+0
This commit deletes all RTEMS ChangeLog files. These files have been abandoned since converting to git version control. The historical data may be recovered by checking out any commit before this one. Most of the contents of these ChangeLog files can also be found in the git log. Two external ChangeLog files, ChangeLog.slac and ChangeLog.zlib, remain.
2012-07-19Require automake-1.12.2.Ralf Corsépius1-1/+1
2012-07-19Require autoconf-2.69.Ralf Corsépius1-1/+1
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill8-16/+0
Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
2012-05-04Remove CVS-Ids.Ralf Corsépius2-6/+0
2012-02-01Remove all .cvsignore files.Joel Sherrill1-9/+0
2011-10-232011-10-23 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-2/+4
* page.c: Remove unused var "dirCount".
2011-03-142011-03-14 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-8/+12
* cpu.h: Remove warnings.
2011-02-112011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius4-22/+27
* cache.c, cpu.h, cpuModel.h: Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-022011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-2/+6
* configure.ac: Require autoconf-2.68, automake-1.11.1.
2011-01-292011-01-29 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-2/+6
* page.c: Remove CVS-Header tag. Add CVS-Id
2011-01-282011-01-28 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill4-3/+8
* byteorder.h, cpu.h, page.c: Fix typo where license said found in found in.
2010-07-062009-10-28 Till Straumann <strauman@slac.stanford.edu>Till Straumann2-0/+15
* byteorder.h: added ld_le16, st_le16.
2010-05-212010-05-21 Vinu Rajashekhar <vinutheraj@gmail.com>Joel Sherrill3-34/+40
* cache.c, page.c: Use masks and shift operations instead of bit-fields.
2010-04-152010-04-15 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill4-131/+169
* cpuModel.S, cpuModel.h, displayCpu.c: Update to include more reserved bits and pick out a bit more information.
2009-12-112009-12-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-11/+7
* page.c: Use bsp_mem_size.
2009-12-04Whitespace removal.Ralf Corsepius6-106/+106
2009-11-28Whitespace removal.Ralf Corsepius1-1/+1
2009-10-292009-10-28 Till Straumann <strauman@slac.stanford.edu>Till Straumann2-12/+24
* displayCpu.c: Fixed formatting for prettier printing; don't print more than 8 flags on a single line of output.
2009-10-282009-10-28 Till Straumann <strauman@slac.stanford.edu>Till Straumann4-5/+29
* cpuModel.S, cpuModel.h, displayCpu.c: Save/cache CPUID:ECX (extended capabilities) in a new variable (x86_capability_x). Added more known flag description strings (printCpuInfo()) and let 'printCpuInfo()' dump the extended feature flags, too.
2009-05-062009-05-06 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-16/+39
* page.c: Fixed warnings.
2008-12-032008-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2-0/+21
Michael South <msouth@msouth.org> PR 1344/bsps * cpuModel.h: Add use of TSC for nanoseconds granularity. i8254 is very slow on some systems. TSC use is auto-detected by default.
2008-08-16Add missing prototypes.Ralf Corsepius3-6/+6
2008-08-162008-08-16 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-0/+4
* cache.c, displayCpu.c, page.c: Add missing prototypes.
2008-07-14Cleanup.Ralf Corsepius1-6/+0
2007-03-282007-03-28 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-1/+5
* page.c: Redo print to not have cvs conflict marker.
2007-01-08Regenerate.Ralf Corsepius1-1/+1
2006-12-022006-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-1/+5
* configure.ac: New BUG-REPORT address.
2006-10-172006-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-2/+6
* configure.ac: Require autoconf-2.60. Require automake-1.10.
2006-05-162006-05-16 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-3/+5
* configure.ac: Use RTEMS_AMPOLISH3.
2006-01-14Regenerate.Ralf Corsepius1-1/+1
2006-01-12Regenerate.Ralf Corsepius1-0/+2
2006-01-12Remove all-local:.Ralf Corsepius1-2/+0
2006-01-12Regenerate.Ralf Corsepius1-2/+2
2006-01-12Cleanup.Ralf Corsepius1-4/+0