summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/i386 (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-03-17pc386/console/conscfg.c: Fix name of Edison consoleJoel Sherrill1-3/+3
2016-03-16pc386/.../bspimpl.h: New file missed in previous commit.Joel Sherrill1-0/+37
2016-03-15pc386: Do not include rtems/pci.h from bsp.h. Add bsp/bspimpl.hJoel Sherrill6-18/+28
Start to migrate private symbols to bsp/bspimpl.h.
2016-03-11pc386: Fix linker usage issues with -r and function sectionsJoel Sherrill2-3/+7
closes #2638.
2016-03-10pc386.cfg: Add disabled per-function-sectionsJoel Sherrill1-0/+4
updates #2638.
2016-03-10pc386: Add --disable-com1-com4 boot argumentJoel Sherrill2-14/+52
2016-03-10pc386/startup/bsp_fatal_halt.c: Fix noreturn does return warningJoel Sherrill1-0/+3
2016-03-10pc386/startup/bspstart.c: Reformat and cleanup file headerJoel Sherrill1-29/+27
2016-03-10pc386: Add PCI UART supportJoel Sherrill4-0/+408
2016-03-10pc386: Improve boot command arguments for console/printk device selectionJoel Sherrill3-39/+156
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.
2016-03-10Add shared PCI support and enhance pc386 to support non-legacy PCI ↵Joel Sherrill6-135/+252
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.
2016-03-10pc386/configure.ac: Delete incorrect and unused AM_CONDITIONALJoel Sherrill1-1/+0
2016-03-10i386/shared/pci/pcibios.c: Remove unused pcib_find_by_class()Joel Sherrill1-36/+0
2016-03-10i386/shared/pci/pcibios.c: Remove unused pcib_special_cycle()Joel Sherrill1-30/+0
2016-03-10pc386: Eliminate pcibios.h and begin removal obsolete PCI BIOS API usesJoel Sherrill5-87/+25
This first step eliminates the following as public APIs for the pc386 BSP: + pcib_conf_read8 + pcib_conf_read16 + pcib_conf_read32 + pcib_conf_write8 + pcib_conf_write16 + pcib_conf_write32 The if_fxp.c driver uses these enough where I provided local macros to allow the code to be mostly unmodified. On other architectures these names have been used privately. It will take multiple patches to completely eliminate these symbols from the RTEMS source tree. The focus of the first effort is just to eliminate these as a public pc386 API so support can be added for systems without legacy PCI BIOS.
2016-03-04score: Distribute clock tick to all online CPUsSebastian Huber2-6/+20
Update #2554.
2016-03-03pc386: adjust assembly in bsp_fatal_haltGedare Bloom1-1/+3
2016-03-03i386: refactor libcpu/cpu.h into rtems/score/i386.hJoel Sherrill5-5/+5
Fixes #2515.
2016-03-03i386: prepare for paravirtualized interruptsGedare Bloom1-3/+2
2016-03-03i386: relocate fatal halt to bsp layerGedare Bloom2-0/+21
2016-03-03i386: move idle thread into BSP layerGedare Bloom3-0/+23
2016-02-03Delete unused API extensionsSebastian Huber1-1/+0
2016-02-03Use linker set for libio initializationSebastian Huber1-2/+0
Update #2408.
2016-01-11score: Introduce Thread_Entry_informationSebastian Huber1-1/+1
This avoids potential dead code in _Thread_Handler(). It gets rid of the dangerous function pointer casts. Update #2514.
2015-12-24api: Remove deprecated NotepadsAun-Ali Zaidi2-4/+0
Notepads where a feature of RTEMS' tasks that simply functioned in the same way as POSIX keys or threaded local storage (TLS). They were introduced well before per task variables, which are also deprecated, and were barely used in favor of their POSIX alternatives. In addition to their scarce usage, Notepads took up unnecessary memory. For each task: - 16 32-bit integers were allocated. - A total of 64 bytes per task per thread. This is especially critical in low memory and safety-critical applications. They are also defined as uint32_t, and therefore are not guaranteed to hold a pointer. Lastly, they are not portable solutions for SMP and uniprocessor systems, like POSIX keys and TLS. updates #2493.
2015-12-10bsps: Delete superfluous bsp_pretasking_hook()Sebastian Huber1-1/+0
Use the bsp_predriver_hook() instead. Update #2408.
2015-12-10bsps: Call bsp_work_area_initialize() earlySebastian Huber3-10/+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.
2015-10-26basdefs.h: Add and use RTEMS_PACKEDSebastian Huber4-20/+20
2015-10-26basdefs.h: Add and use RTEMS_UNUSEDSebastian Huber2-2/+2
2015-09-30bsps/i386: Interrupt server supportSebastian Huber4-5/+22
2015-07-16Most bsp.h: Switch to LIBBSP_@CPU@_@BSP_FAMILY@_H for guardJoel Sherrill1-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
2015-06-11pc386/console/fb*.c: Use atomics to avoid dependency on pthreadsJoel Sherrill3-44/+45
closes #2364.
2015-05-26i386/pc386: default graphics driver changed from VGA to VESA basedJan Dolezal3-23/+29
basic VGA driver can be enabled during configure phase by exporting variable USE_VGA=1 so that it is available in configure environment cirrus driver is enabled the same way by exporting variable USE_CIRRUS_GD5446=1
2015-05-26i386/pc386/VESA framebuffer driver: modified and extended initialization optionsJan Dolezal4-40/+172
driver is not initialized by default initialization is possible through multiboot command line option or through the string variable (see fb_default_mode.h) set in user's module allowing the driver to evaluate this variable after the two modules are linked together
2015-05-21pc386/clock/ckinit.c: Remove prototyped but not defined warningJoel Sherrill1-1/+0
2015-05-20bsps: Convert clock drivers to use a timecounterAlexander Krutwig1-103/+22
Update #2271.
2015-01-09smp: Add and use _SMP_Should_start_processor()Sebastian Huber1-5/+1
2015-01-04pc386: Add Edison base supportJoel Sherrill12-17/+220
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
2015-01-04pc386: Add BSP_ENABLE_COM1_COM4 BSP optionJoel Sherrill3-27/+38
This allows the support for the legacy COM1-COM4 serial ports to be completely disabled. It is needed to prevent hangs on some hardware. In particular, the Intel Edison where it is not present.
2015-01-04pc386: Add BSP_ENABLE_IDE BSP optionJoel Sherrill4-1/+13
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.
2015-01-04pc386: Add BSP_ENABLE_VGA BSP optionJoel Sherrill7-36/+69
This allows the VGA and keyboard console to be completely disabled. It is useful on PCs without displays and prevents a very slow boot time on the Intel Edison.
2014-12-23pc386: scan all functions of multi-function PCI devicesTill Strauman1-7/+23
The current algorithm scans all PCI busses (0..ff) and all devices (0..31) on each bus for bridges and determines the maximum of all subordinate busses encountered. However, the algorithm does not scan all functions present in multi-function devices -- I have a PCI express root complex (82801H) where multiple (non-zero index) functions are 'PCI bridges' whose subordinate bus number is missed by the original algorithm. This commit makes sure that the scan is extended to all functions of multi-function devices. See #2067
2014-12-05Update bug report URLSebastian Huber3-3/+3
2014-12-05libmisc: More useful default configurationSebastian Huber1-1/+0
The dummy.c was a de-facto default configuration. Rename it to default-configuration.c. Use unlimited objects and the stack checker. This makes it easier for new RTEMS users which will likely use this file if they just work with the usual main() function as the application entry point. Provide proper arguments for main() using the BSP command line. Add spare user extensions and drivers. Do not initialize the network by default. Delete bspinit.c.
2014-12-04i386: doxygen and comments related to VESA real mode framebufferJan Dolezal7-371/+622
2014-12-04i386/pc386: cammelCase (struct and function names) to underscores, typedefed ↵Jan Dolezal7-245/+250
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
2014-12-03pc386 bsp fix for default modeBen Gras1-2/+2
If USE_VBE_RM is 0, vesa_realmode_bootup_init() is not available so the test should be #if instead of #ifdef.
2014-11-20autotools: regenerate preinstall.am for pc386Gedare Bloom1-1/+2
2014-11-20i386/pc386: VESA based frame buffer utilizing real mode interrupt 10hJan Dolezal6-0/+1021
2014-11-20i386/pc386/include: header files for VESA BIOS EXTENSIONS and VESA Extended ↵Jan Dolezal4-0/+986
Display Identification Data