summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/i386/pc386/startup (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsps: Move startup files to bspsSebastian Huber2018-04-209-897/+0
| | | | | | | | Adjust build support files to new directory layout. This patch is a part of the BSP source reorganization. Update #3285.
* Remove make preinstallChris Johns2018-01-251-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* pc386: Simplify bsp_specsJoel Sherrill2017-12-191-1/+2
| | | | | | | | If this has any issues, check that the change in linking the 16-bit startup code in Makefile.am generates the same code. This was odd code and didn't need the RTEMS linkcmds anyway. Updates #3520.
* pc386/.../bspreset.c: Readd proper reset code.Joel Sherrill2017-10-081-2/+2
| | | | | | | The removal of the Edison code removed the wrong part of the conditional. Closes #3172.
* Remove Edison BSP.Joel Sherrill2017-07-284-23/+1
| | | | | | Intel has obsoleted this hardware and the BSP was never completed. closes #3086.
* i386: Support thread-local storage (TLS)Sebastian Huber2017-06-121-3/+7
| | | | Update #2468.
* i386/pc386: Add support for the gdb stub to use available console drivers.Chris Johns2016-05-112-8/+23
| | | | | | | | | | | 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.
* pc386: Do not include rtems/pci.h from bsp.h. Add bsp/bspimpl.hJoel Sherrill2016-03-151-0/+1
| | | | Start to migrate private symbols to bsp/bspimpl.h.
* pc386/startup/bsp_fatal_halt.c: Fix noreturn does return warningJoel Sherrill2016-03-101-0/+3
|
* pc386/startup/bspstart.c: Reformat and cleanup file headerJoel Sherrill2016-03-101-29/+27
|
* pc386: Add PCI UART supportJoel Sherrill2016-03-101-0/+5
|
* pc386: Improve boot command arguments for console/printk device selectionJoel Sherrill2016-03-101-0/+9
| | | | | | | | 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-5/+24
| | | | | | | | | | | | | | | 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.
* pc386: adjust assembly in bsp_fatal_haltGedare Bloom2016-03-031-1/+3
|
* i386: prepare for paravirtualized interruptsGedare Bloom2016-03-031-3/+2
|
* i386: relocate fatal halt to bsp layerGedare Bloom2016-03-031-0/+20
|
* i386: move idle thread into BSP layerGedare Bloom2016-03-031-0/+19
|
* bsps: Call bsp_work_area_initialize() earlySebastian Huber2015-12-102-8/+10
| | | | | | | | 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.
* bsps/i386: Interrupt server supportSebastian Huber2015-09-301-4/+4
|
* pc386: Add Edison base supportJoel Sherrill2015-01-044-9/+38
| | | | | | | | | 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/pc386: configurable size of descriptor tablesJan Dolezal2014-11-201-4/+14
|
* i386/pc386: Fix warningsJoel Sherrill2014-10-161-3/+2
|
* i386/pc386: Eliminate multiple warningsJoel Sherrill2014-10-101-3/+0
|
* bsps: Fix TLS support in linker command filesSebastian Huber2014-04-221-1/+3
| | | | | The TLS section symbols had wrong values in case of an empty TLS data section and a nonempty TLS BSS section.
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-215-5/+5
|
* bsps: Thread-local storage (TLS) for linkcmdsSebastian Huber2014-02-041-0/+14
|
* bsps: Simplify FreeBSD linker setsSebastian Huber2013-12-161-15/+3
|
* bsps: Support DWARF extensionSebastian Huber2013-03-181-0/+2
|
* bsp/pc386: TypoSebastian Huber2012-10-291-1/+1
|
* score: Work area initialization API changeSebastian Huber2012-10-251-26/+6
| | | | | | | | | | | | The work areas (RTEMS work space and C program heap) will be initialized now in a separate step and are no longer part of rtems_initialize_data_structures(). Initialization is performed with tables of Heap_Area entries. This allows usage of scattered memory areas present on various small scale micro-controllers. The sbrk() support API changes also. The bsp_sbrk_init() must now deal with a minimum size for the first memory chunk to take the configured work space size into account.
* sparc linkcmds.base: Add new FreeBSD TCP/IP stack sectionsJoel Sherrill2012-07-141-6/+10
|
* pc386: Added sections for rtems-libbsd support.Jennifer Averett2012-05-301-0/+11
|
* 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-023-6/+0
|
* 2011-08-01 Jennifer Averett <Jennifer.Averett@OARcorp.com>Jennifer Averett2011-08-012-2/+7
| | | | | | | PR 1802 * Makefile.am, configure.ac, preinstall.am, clock/ckinit.c, start/start16.S, startup/bspstart.c, startup/ldsegs.S: Add SMP support for i386.
* 2011-01-28 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-01-283-3/+3
| | | | | | | * 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.
* 2010-07-23 Vinu Rajashekhar <vinutheraj@gmail.com>Joel Sherrill2010-07-231-17/+0
| | | | | | * start/start.S: Replace the call to _return_to_monitor by hlt instruction. * startup/ldsegs.S: Remove the _return_to_monitor function.
* 2010-06-14 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-06-141-1/+2
| | | | * startup/bspstart.c: Formatting.
* 2009-12-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-12-111-1/+2
| | | | | * startup/bspgetworkarea.c: Make bsp_mem_size available for page table initialization.
* 2009-12-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-12-101-29/+34
| | | | | | | | * 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.
* 2009-12-09 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-12-092-5/+23
| | | | | | * startup/bspgetworkarea.c: Add debug printk's. * startup/linkcmds: Using "-Wl,--defsym -Wl,RamSize=0x1000000" results in _RamSize being defined. Handle this properly.
* Whitespace removal.Ralf Corsepius2009-11-302-3/+3
|
* 2009-05-08 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-05-081-5/+5
| | | | | | * startup/bspgetworkarea.c: Switch from ssize_t to uintptr_t for bsp_get_work_area() since the work area is larger than a single allocatable object.
* 2009-04-28 Chris Johns <chrisj@rtems.org>Chris Johns2009-04-282-0/+65
| | | | | | | | | | | * Makefile.am: Add bspcmdline.c. * include/bsp.h: Add boot command line interfaces. * start/start.c: Save the multiboot command line. Pass the command line to boot_card. * start/start.S: Update for boot_card command line change. * startup/bspstart.c: Initialise the command line. * startup/bspcmdline.c: New. * console/console.c, ide/idecfg.c: Add boot command line support.
* 2008-12-02 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-021-2/+0
| | | | * startup/bspgetworkarea.c: Remove debug prints.
* 2008-10-02 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-10-031-0/+4
| | | | * startup/bspgetworkarea.c: Fix botched edit.
* 2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-10-021-5/+1
| | | | | | * startup/bspgetworkarea.c: Change size_t to ssize_t on bsp_get_work_area(). On 16-bit architectures, size_t can be 16-bits which would limit the work area to 64K.
* Revert.Joel Sherrill2008-10-021-0/+3
|
* 2008-10-02 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-10-021-3/+0
| | | | * Makefile.am, startup/bspgetworkarea.c: Turn = into +=.