summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/i386/pc386/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove make preinstallChris Johns2018-01-258-1738/+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.
* bsps: Move wd80x3.h to libchip/wd80x3.hSebastian Huber2018-01-221-139/+0
| | | | | | This header is used also by the motorola_powerpc BSP. Update #3254.
* Remove Edison BSP.Joel Sherrill2017-07-281-25/+2
| | | | | | Intel has obsoleted this hardware and the BSP was never completed. closes #3086.
* i386: Support thread-local storage (TLS)Sebastian Huber2017-06-121-1/+2
| | | | Update #2468.
* bsps/i386: replace global interrupt disable by SMP build supporting locking.Pavel Pisa2016-10-171-0/+5
|
* i386/pc386: Add support for the gdb stub to use available console drivers.Chris Johns2016-05-112-2/+13
| | | | | | | | | | | Move the gdb stub from the i386 UART code to use the libchip drivers. Use any ports discovered during the probes. Add gdb control to the boot command line. Change the device naming to the full device path, not a partial path. For example /dev/com1.
* i386/pc386: reimplemented check for unused EDID entry in fb_vesa.c to ↵Pavel Pisa2016-04-161-0/+8
| | | | | | suppress GCC 6 warning. closes #2634
* i386/pc386/include/bsp.h: Do not include <rtems/iosupp.h>Joel Sherrill2016-03-301-1/+0
|
* i386/pc386: Remove include of <rtems/console.h> from <bsp.h> and fix warningsJoel Sherrill2016-03-291-1/+0
|
* i386/pc386/include/bsp.h: Do not include <rtems/clockdrv.h>Joel Sherrill2016-03-251-1/+0
|
* pc386/.../bspimpl.h: New file missed in previous commit.Joel Sherrill2016-03-161-0/+37
|
* pc386: Do not include rtems/pci.h from bsp.h. Add bsp/bspimpl.hJoel Sherrill2016-03-151-17/+0
| | | | Start to migrate private symbols to bsp/bspimpl.h.
* pc386: Add PCI UART supportJoel Sherrill2016-03-101-0/+4
|
* pc386: Improve boot command arguments for console/printk device selectionJoel Sherrill2016-03-101-0/+6
| | | | | | | | This patch adds the "--printk=" boot command line argument to specify the printk() device. It also enhances the "--console=" boot command line argument to match any device configured in the console device table. The arguments are parsed as early as possible so they take effect early. Currently, this is immediately after PCI initialization.
* Add shared PCI support and enhance pc386 to support non-legacy PCI ↵Joel Sherrill2016-03-101-0/+7
| | | | | | | | | | | | | | | configuration space This patch fundamentally results from enhancements to the pc386 BSP to support systems which do **NOT** have the legacy PCI BIOS. The patch adds support for detecting when legacy PCI BIOS is not present and then using IO space to access to PCI Configuration Space. This resulted in dynamically selected between two implementations of PCI and refactoring out the shared methods. This patch adds shared implementations of pci_bus_count() and pci_find_device(). Subsequent patches will remove implementations of these methods in other BSPs where possible.
* i386: refactor libcpu/cpu.h into rtems/score/i386.hJoel Sherrill2016-03-031-1/+1
| | | | Fixes #2515.
* i386: move idle thread into BSP layerGedare Bloom2016-03-031-0/+3
|
* score: Introduce Thread_Entry_informationSebastian Huber2016-01-111-1/+1
| | | | | | | This avoids potential dead code in _Thread_Handler(). It gets rid of the dangerous function pointer casts. Update #2514.
* bsps: Call bsp_work_area_initialize() earlySebastian Huber2015-12-101-2/+0
| | | | | | | | Call bsp_work_area_initialize() before bsp_start(). This allows bsp_start() to use malloc() etc. which is beneficial for systems with a plug-and-play hardware enumeration. Update #2408.
* basdefs.h: Add and use RTEMS_PACKEDSebastian Huber2015-10-262-17/+17
|
* Most bsp.h: Switch to LIBBSP_@CPU@_@BSP_FAMILY@_H for guardJoel Sherrill2015-07-161-2/+2
| | | | | | | | | | | | | | | | | This was done by the following script run from libbsp: find * -name bsp.h | xargs -e grep -l "#ifndef.*_BSP_H" | while read b do echo $b cpu=`echo $b | cut -d'/' -f1 | tr '[:lower:]' '[:upper:]' ` bsp=`echo $b | cut -d'/' -f2 | tr '[:lower:]' '[:upper:]' ` g="LIBBSP_${cpu}_${bsp}_BSP_H" # echo $g sed -e "s/ifndef _BSP_H/ifndef ${g}/" \ -e "s/define _BSP_H/define ${g}/" \ -i $b done
* pc386: Add Edison base supportJoel Sherrill2015-01-041-2/+25
| | | | | | | | | The current support for the Edison supports a single polled UART for input and output plus a simulated clock tick. The activities forward for supporting the Edison have been posted on the RTEMS mailing lists and at: http://rtemsramblings.blogspot.com/2014/12/intel-edison-and-rtems-road-forward.html
* pc386: Add BSP_ENABLE_IDE BSP optionJoel Sherrill2015-01-041-0/+2
| | | | | | This allows the IDE support to be completely disabled. It is needed to prevent hangs on some hardware. In particular, the Intel Edison where it is not present.
* i386: doxygen and comments related to VESA real mode framebufferJan Dolezal2014-12-044-314/+472
|
* i386/pc386: cammelCase (struct and function names) to underscores, typedefed ↵Jan Dolezal2014-12-044-98/+94
| | | | | | | | | | structs, break >80 chars lines, removed newlines at EOFs fb_vesa_rm.c: removed inline from functions declared in fb_vesa.h removed unnecessary printks in the end of patch edid.h, vbe3.h: switched from custom *PACKED_ATTRIBUTE at the structs to the RTEMS_COMPILER_PACKED_ATTRIBUTE for easier maintainability of doxygen
* i386/pc386: VESA based frame buffer utilizing real mode interrupt 10hJan Dolezal2014-11-201-0/+131
|
* i386/pc386/include: header files for VESA BIOS EXTENSIONS and VESA Extended ↵Jan Dolezal2014-11-202-0/+976
| | | | Display Identification Data
* i386/pc386: configurable size of descriptor tablesJan Dolezal2014-11-202-4/+27
|
* bsps: Move extern "C" to not cover includesSebastian Huber2014-10-231-4/+4
| | | | Some includes may use C++ and this conflicts if surrounded extern "C".
* i386/pc386: Fix warningsJoel Sherrill2014-10-161-1/+30
|
* i386/pc386: Clean up and fix warningsJoel Sherrill2014-10-131-0/+5
|
* i386/pc386: Eliminate multiple warningsJoel Sherrill2014-10-101-0/+6
|
* pc386/.../bsp.h: Do not include crt.hJoel Sherrill2014-09-161-6/+0
| | | | | | | crt.h defines such lovely constants as "RED" and "GREEN" which have a nasty habit of conflicting with non-BSP code. There is no reason to include this private .h from bsp.h and pollute the namespace for applications.
* pc386/include/bsp.h: Remove rtems_bsp_delay()Joel Sherrill2014-03-211-16/+0
|
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-213-3/+3
|
* i386/pc386: Add doxygen file headers.Toma Radu2013-12-304-0/+40
|
* Updated legacy code in i386 pc386Vipul Nayyar2013-07-291-1/+9
|
* score: Add RTEMS_FATAL_SOURCE_EXITSebastian Huber2012-11-151-0/+1
| | | | | | | Include <bsp/default-initial-extension.h> in all BSPs. Call rtems_fatal() with RTEMS_FATAL_SOURCE_EXIT as source and the exit() status code as fatal code in every bsp_cleanup(). Move previous bsp_cleanup() code into bsp_fatal_extension().
* Revert "Add bspopts.h.in."Gedare Bloom2012-08-061-78/+0
| | | | | | | | | | | | This reverts commit daffa606cc4a45d93c1f0f4fe365fde0fda6acbb. Conflicts: c/src/lib/libbsp/arm/lpc24xx/include/bspopts.h.in c/src/lib/libbsp/powerpc/mpc55xxevb/include/bspopts.h.in c/src/lib/libbsp/powerpc/qoriq/include/bspopts.h.in Manually deleted conflicting files.
* Add bspopts.h.in.Ralf Corsépius2012-05-241-0/+78
|
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-113-6/+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.
* pc386 - Remove odd $Id$Joel Sherrill2012-05-021-2/+0
|
* Merge remote branch 'remotes/origin/gitignore'Joel Sherrill2012-02-021-4/+0
|\
| * Remove all .cvsignore files.Joel Sherrill2012-02-011-4/+0
| |
* | Correct run-time selection of console port.Jennifer Averett2012-02-011-0/+9
|/ | | | This was broken by conversion of console driver to libchip style.
* 2011-11-18 Jennifer Averett <Jennifer.Averett@OARcorp.com>Jennifer Averett2011-11-181-0/+2
| | | | | | | | | | PR 1925 * Makefile.am, preinstall.am, console/serial_mouse_config.c, include/bsp.h, start/start.S: Converted 1386 console to the libchip style console * console/conscfg.c, console/console_control.c, console/printk_support.c, console/vgacons.c, console/vgacons.h: New files.
* 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-112-2/+2
| | | | | * include/bsp.h, include/tm27.h: Use "__asm__" instead of "asm" for improved c99-compliance.
* 2011-01-28 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-01-282-2/+2
| | | | | | | * clock/rtc.c, console/console.c, console/inch.c, console/outch.c, include/bsp.h, include/crt.h, ne2000/ne2000.c, startup/bspcmdline.c, startup/bspstart.c, startup/ldsegs.S, timer/timer.c, timer/timerisr.S: Fix typo where license said found in found in.
* 2009-12-23 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-12-231-0/+2
| | | | * include/bsp.h: Add BSP_HAS_FRAME_BUFFER.
* 2009-12-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-12-101-4/+0
| | | | | | | | * include/bsp.h, startup/bspgetworkarea.c: Rework bsp_size_memory() to ensure that multiboot information regarding memory size is used as the primary source. This was broken in the move to supporting a unified workspace. It worked this way in 4.9 so this was a regression.