summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/i386/pc386 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* pc386/bsp_specs: Reorder and improve consistencyJoel Sherrill2017-11-291-3/+3
| | | | Updates #3520.
* REVERT */*/bsp_specs: Increase similarity to ease futureJoel Sherrill2017-11-271-3/+3
| | | | | | Patch was not intended to be pushed yet. Updates #3520.
* */*/bsp_specs: Increase similarity to ease future analysisJoel Sherrill2017-11-271-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Done: arm bfin epiphany i386 lm32 m32c mips moxie nios2 or1k powerpc riscv sh sparc sparc64 v850 To do: m68k Differences noted: + endfile was sometimes before startfile + endfile sometimes was hard-coded and did not have -qrtems version + Should -e XXX (e.g. entry point) be in linkcmds? + Should -u XXX (e.g. undefined symbols) be in linkcmds? + Typos: Odd spacing, "old_endfiles" typo, and *(old_endfiles) (not %) + nios2: Referenced crtnn.o not crtn.o (error) Need to revisit: + m32c, moxie, sparc64 includes !nostdlib which is not used elsewhere + sh has -EL/-EB mapping. Why needed? + sparc64 didn't include crti.o/crtn.o but it is part of toolset + v850 uses something like this for link and end_file: "%{qrtems: %(old_link)}" This means that these are unnecessary. Try this on all. + mips uses old_link all the time also. + arm/tms750 adds -EB. + powerpc: Why do we have rtems_crt* and not use something from GCC? Updates #3520.
* libbsp/*/*/configure.ac: Remove references to bsp_specs in AC_CONFIG_SRCDIRJoel Sherrill2017-11-271-1/+1
| | | | Updates #3250.
* Remove coverhd.hSebastian Huber2017-11-242-5/+0
| | | | | | | This header file contained timing overhead values which are hard to maintain. Update #3254.
* bsps: Simplify RTEMS_BSP_CLEANUP_OPTIONSSebastian Huber2017-11-221-1/+1
| | | | | | | | | Remove BSP-specific defaults for RTEMS_BSP_CLEANUP_OPTIONS to simplify the BSP configuration and documentation. Change defaults to: BSP_PRESS_KEY_FOR_RESET=0 BSP_RESET_BOARD_AT_EXIT=1 BSP_PRINT_EXCEPTION_CONTEXT=1
* getentropy: Add cpu counter based implementation.Christian Mauderer2017-11-171-0/+1
| | | | Update #3239.
* 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.
* bsps: Clock_driver_support_install_isr()Sebastian Huber2017-09-181-5/+0
| | | | | | | Remove old ISR parameter since is not used by the clock driver shell. Make an implementation optional. Update #3139.
* Simplify and unify BSP_output_charSebastian Huber2017-09-121-5/+0
| | | | | | | | The BSP_output_char should output a char and not mingle with high level processing, e.g. '\n' to '\r\n' translation. Move this translation to rtems_putc(). Remove it from all the BSP_output_char implementations. Close #3122.
* Include missing <limits.h>Sebastian Huber2017-08-252-0/+2
| | | | Update #2132.
* Remove Edison BSP.Joel Sherrill2017-07-2810-189/+3
| | | | | | Intel has obsoleted this hardware and the BSP was never completed. closes #3086.
* bsp/i386: Fix warningSebastian Huber2017-07-281-3/+3
|
* bsps: Improve interrupt vector enable/disable APISebastian Huber2017-06-201-6/+1
| | | | | | Change bsp_interrupt_vector_enable() and bsp_interrupt_vector_disable() to not return a status code. Add bsp_interrupt_assert() and use it to validate the vector number in the vector enable/disable implementations.
* i386: Support thread-local storage (TLS)Sebastian Huber2017-06-122-4/+9
| | | | Update #2468.
* build-system: Parallel build all subdirs.Chris Johns2017-05-241-1/+2
|
* bsps/i386: use Pentimum instructions for pc586 and pc686 builds.Pavel Pisa2016-10-172-2/+2
| | | | | | | | | | | | | | | | | | When GCC option -march is not specifies i386-rtems toolchain defaults to i386 architecture instruction set. It does not provide atomic instructions which results in really inefficient atomic_fetch_or even on UP build. SMP build is broken with i386 set because libatomic and GCC generate infinite loop for __atomic_fetch_add_4 used in rtems_interrupt_lock_acquire __atomic_fetch_add_4: push %ebp mov %esp,%ebp movl $0x5,0x10(%ebp) pop %ebp jmp __atomic_fetch_add_4
* bsps/i386: replace global interrupt disable by SMP build supporting locking.Pavel Pisa2016-10-176-50/+97
|
* classic networking: do not reference BSP_irq_enabled_at_i8259s which is no ↵Pavel Pisa2016-09-201-9/+1
| | | | | | | more available on i386. This change is required to build RTEMS with classic "--enable-networking" and link applications/tests which reference RTEMS_BSP_NETWORK_DRIVER_ATTACH.
* libchip: Simplify RTC driverSebastian Huber2016-07-041-2/+0
|
* i386/pc386: Fix printk formatting warnings.Chris Johns2016-05-256-16/+24
|
* i386/pc386: Add --ide-disable boot command line option.Chris Johns2016-05-111-51/+57
|
* i386/pc386: Fix interrupt support.Chris Johns2016-05-111-0/+1
| | | | | | | | | | | | Fix the interrupt and stop the spurious interrupt from happening. The fix moves the EOI to C code and cleans that functionality out of the asm part of the ISR handler. The code checks the ISR and IRR registers on the enable. Only ack the master for a slave IRQ if the slave has no other pending requests.
* i386/pc386: Fix printk with the console changes.Chris Johns2016-05-111-32/+37
|
* bsp/pc386: Use irq-generic.Chris Johns2016-05-112-8/+7
|
* i386/pc386: Add IO and memory support to PCI UART devices.Chris Johns2016-05-111-37/+113
| | | | | Use the BAR to determine IO and memory mapped support for PCI UART boards.
* i386/pc386: Add support for the gdb stub to use available console drivers.Chris Johns2016-05-1112-218/+399
| | | | | | | | | | | 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-162-1/+9
| | | | | | suppress GCC 6 warning. closes #2634
* bsp/pc386: Fix --console=/--printk= argument parsing.Chris Johns2016-03-311-21/+39
|
* 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-293-6/+8
|
* i386/pc386/include/bsp.h: Do not include <rtems/clockdrv.h>Joel Sherrill2016-03-251-1/+0
|
* pc386/README: Replace contents with discussion of console/printk device ↵Joel Sherrill2016-03-241-57/+59
| | | | selection
* pc386/console/conscfg.c: Fix name of Edison consoleJoel Sherrill2016-03-171-3/+3
|
* 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-154-17/+6
| | | | Start to migrate private symbols to bsp/bspimpl.h.
* pc386: Fix linker usage issues with -r and function sectionsJoel Sherrill2016-03-112-3/+7
| | | | closes #2638.
* pc386.cfg: Add disabled per-function-sectionsJoel Sherrill2016-03-101-0/+4
| | | | updates #2638.
* pc386: Add --disable-com1-com4 boot argumentJoel Sherrill2016-03-102-14/+52
|
* 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-104-0/+408
|
* pc386: Improve boot command arguments for console/printk device selectionJoel Sherrill2016-03-103-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.
* Add shared PCI support and enhance pc386 to support non-legacy PCI ↵Joel Sherrill2016-03-103-5/+34
| | | | | | | | | | | | | | | 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/configure.ac: Delete incorrect and unused AM_CONDITIONALJoel Sherrill2016-03-101-1/+0
|
* pc386: Eliminate pcibios.h and begin removal obsolete PCI BIOS API usesJoel Sherrill2016-03-102-7/+1
| | | | | | | | | | | | | | | | | | | | 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.
* score: Distribute clock tick to all online CPUsSebastian Huber2016-03-041-5/+10
| | | | Update #2554.
* pc386: adjust assembly in bsp_fatal_haltGedare Bloom2016-03-031-1/+3
|
* i386: refactor libcpu/cpu.h into rtems/score/i386.hJoel Sherrill2016-03-031-1/+1
| | | | Fixes #2515.
* i386: prepare for paravirtualized interruptsGedare Bloom2016-03-031-3/+2
|