summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/i386/shared/irq/irq_asm.S (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsps: Move interrupt controller support to bspsSebastian Huber2018-04-231-268/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* i386/pc386: Fix interrupt support.Chris Johns2016-05-111-71/+10
| | | | | | | | | | | | 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.
* bsps/i386: Interrupt server supportSebastian Huber2015-09-301-0/+2
|
* libbsp/i386/shared: Fix warningsJoel Sherrill2014-10-161-3/+6
|
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-211-1/+1
|
* bsps/i386: SMP and per-CPU thread dispatch disableSebastian Huber2013-08-091-3/+10
| | | | Interrupt support for SMP and the per-CPU thread dispatch disable level.
* bsps/i386: Revert most SMP related changesSebastian Huber2013-08-091-54/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The commit partially restores the _ISR_Handler code to the original version in commit b8fc2de1ce089c585da81c157ec0f24a90e484b7. A list of reverted changes follows. commit c236082873cb4a2fd42af4ca0868106e1dd65422 Author: Sebastian Huber <sebastian.huber@embedded-brains.de> Date: Tue Jul 30 15:54:53 2013 +0200 smp: Provide cache optimized Per_CPU_Control Delete _Per_CPU_Information_p. This commit was completely reverted. commit 39e51758c86754cef5ba4521c0c36578521f73d0 Author: Sebastian Huber <sebastian.huber@embedded-brains.de> Date: Fri Jun 14 14:00:38 2013 +0200 smp: Add and use _CPU_SMP_Get_current_processor() Add and use _SMP_Get_current_processor() and rtems_smp_get_current_processor(). Delete bsp_smp_interrupt_cpu(). Change type of current processor index from int to uint32_t to match _SMP_Processor_count type. This commit was completely reverted. commit e94aa61b6820e34732840139dbe3f2016c6f1e24 Author: Till Straumann <strauman@slac.stanford.edu> Date: Fri Aug 5 00:15:50 2011 +0000 2011-08-04 Till Straumann <strauman@slac.stanford.edu> * shared/irq/irq_asm.S: BUGFIX (introduced by SMP changes which moved code around, apparently): *must* store i8259 mask to frame *before* switching to IRQ stack. The code retrieves the mask after switching back to original stack. Also, the IRQ stack has no reserved space for the mask; storing it there could overwrite memory! This commit was completely reverted. commit 01f2692e338d592f363b2e27b2f62d8182d1124e Author: Jennifer Averett <Jennifer.Averett@OARcorp.com> Date: Mon Aug 1 13:41:50 2011 +0000 2011-08-01 Jennifer Averett <Jennifer.Averett@OARcorp.com> PR 1802 * shared/irq/irq_asm.S, shared/irq/irq_init.c, shared/smp/smp-imps.c, shared/smp/smp-imps.h: Add SMP support for i386. * shared/smp/getcpuid.c: New file. The parts modifying the code of _ISR_Handler were reverted. commit 66729db3115e865fa45bc4e9ab81d8266894151c Author: Joel Sherrill <joel.sherrill@OARcorp.com> Date: Wed Mar 16 20:05:17 2011 +0000 2011-03-16 Jennifer Averett <jennifer.averett@OARcorp.com> PR 1729/cpukit * shared/irq/irq_asm.S: Add next step in SMP support. This adds an allocated array of the Per_CPU structures to support multiple cpus vs a single instance of the structure which is still used if SMP support is disabled. Configuration support is also added to explicitly enable or disable SMP. But SMP can only be enabled for the CPUs which will support it initially -- SPARC and i386. With the stub BSP support, a BSP can be run as a single core SMP system from an RTEMS data structure standpoint. This commit was completely reverted.
* smp: Provide cache optimized Per_CPU_ControlSebastian Huber2013-07-311-2/+3
| | | | Delete _Per_CPU_Information_p.
* smp: Add and use _CPU_SMP_Get_current_processor()Sebastian Huber2013-07-171-1/+1
| | | | | | | | | | Add and use _SMP_Get_current_processor() and rtems_smp_get_current_processor(). Delete bsp_smp_interrupt_cpu(). Change type of current processor index from int to uint32_t to match _SMP_Processor_count type.
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-111-2/+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.
* 2011-08-04 Till Straumann <strauman@slac.stanford.edu>Till Straumann2011-08-051-2/+3
| | | | | | | | | * shared/irq/irq_asm.S: BUGFIX (introduced by SMP changes which moved code around, apparently): *must* store i8259 mask to frame *before* switching to IRQ stack. The code retrieves the mask after switching back to original stack. Also, the IRQ stack has no reserved space for the mask; storing it there could overwrite memory!
* 2011-08-01 Jennifer Averett <Jennifer.Averett@OARcorp.com>Jennifer Averett2011-08-011-50/+51
| | | | | | | PR 1802 * shared/irq/irq_asm.S, shared/irq/irq_init.c, shared/smp/smp-imps.c, shared/smp/smp-imps.h: Add SMP support for i386. * shared/smp/getcpuid.c: New file.
* 2011-04-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-04-111-2/+3
| | | | | | * shared/irq/irq_asm.S: Rename rtems_smp_maximum_processors to rtems_configuration_smp_maximum_processors since it is defined in confdefs.h.
* 2011-04-04 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-04-041-0/+7
| | | | | | | | PR 1768/bsps * shared/irq/irq_asm.S: The nbench benchmark highlighted the fact that we do not perform a cld before calling C code in the ISR. This was historically not a problem but gcc 4.3 changed the behavior. From http://gcc.gnu.org/gcc-4.3/changes.html
* 2011-03-16 Jennifer Averett <jennifer.averett@OARcorp.com>Joel Sherrill2011-03-161-2/+11
| | | | | | | | | | | | PR 1729/cpukit * shared/irq/irq_asm.S: Add next step in SMP support. This adds an allocated array of the Per_CPU structures to support multiple cpus vs a single instance of the structure which is still used if SMP support is disabled. Configuration support is also added to explicitly enable or disable SMP. But SMP can only be enabled for the CPUs which will support it initially -- SPARC and i386. With the stub BSP support, a BSP can be run as a single core SMP system from an RTEMS data structure standpoint.
* 2011-02-14 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-02-141-1/+1
| | | | * shared/irq/irq_asm.S: Fix typo.
* 2011-01-28 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-01-281-1/+1
| | | | * shared/irq/irq_asm.S: Fix typo where license said found in found in.
* 2011-01-06 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-01-061-1/+1
| | | | * shared/irq/irq_asm.S: Fix spelling.
* 2010-06-29 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-06-291-1/+1
| | | | * shared/irq/irq_asm.S: Rename rtems_per_cpu_info.
* 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-06-291-38/+45
| | | | | | | | PR 1573/cpukit * shared/irq/irq.c, shared/irq/irq_asm.S: Add a per cpu data structure which contains the information required by RTEMS for each CPU core. This encapsulates information such as thread executing, heir, idle and dispatch needed.
* 2010-06-15 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-06-151-1/+1
| | | | * shared/irq/irq_asm.S: Fix capitalization.
* Whitespace removal.Ralf Corsepius2009-11-301-2/+2
|
* 2009-11-10 Till Straumann <strauman@slac.stanford.edu>Till Straumann2009-11-101-0/+32
| | | | | * pc386/make/custom/pc586-sse.cfg, pc386/start/start.S, shared/irq/irq_asm.S: Added experimental SSE support.
* 2009-10-29 Till Straumann <strauman@slac.stanford.edu>Till Straumann2009-10-301-27/+45
| | | | | | | | * shared/irq/irq_asm.S: Make sure stack is aligned to CPU_STACK_ALIGNMENT for *all* C-routines (including _Thread_Dispatch() and _ThreadProcessSignalsFromIrq()) not only C_dispatch_isr(). * shared/irq/irq.c: Added IRQ statistics counters.
* 2009-10-29 Till Straumann <strauman@slac.stanford.edu>Till Straumann2009-10-291-107/+107
| | | | | * shared/irq/irq_asm.S: Beautification; ajusted margins and spaces to make the whole thing more readable.
* 2009-10-29 Till Straumann <strauman@slac.stanford.edu>Till Straumann2009-10-291-13/+2
| | | | | | | * shared/irq/irq_asm.S, shared/irq/irq.c: removed (fake) exception frame argument to _ThreadProcessSignalsFromIrq(). This has never been used and removing it simplifies the assembly code.
* 2009-10-28 Till Straumann <strauman@slac.stanford.edu>Till Straumann2009-10-291-4/+18
| | | | | * shared/irq/irq_asm.S: Make sure stack is aligned to CPU_STACK_ALIGNMENT before invoking C-code.
* 2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-03-121-3/+3
| | | | | | | | | PR 1385/cpukit * shared/irq/irq_asm.S: When the type rtems_boolean was switched to the C99 bool, the size changed from 4 bytes to 1 byte. The interrupt dispatching code accesses two boolean variables for scheduling purposes and the assembly implementations of this code did not get updated.
* 2009-02-19 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-02-191-5/+1
| | | | | * shared/irq/irq.c, shared/irq/irq.h, shared/irq/irq_asm.S: Add shared interrupt support to i386.
* 2005-05-06 Jennifer Averett <jennifer.averett@oarcorp.com>Jennifer Averett2005-05-061-1/+1
| | | | | | * Makefile.am, comm/i386-stub-glue.c, comm/tty_drv.c, comm/uart.c, irq/idt.c, irq/irq.c, irq/irq.h, irq/irq_asm.S, irq/irq_init.c: Moved irq.h and irq_asm.h to bsp subdirectory.
* 2005-04-18 Eric Valette <eric.valette@free.fr>Jennifer Averett2005-04-181-3/+7
| | | | | * irq/irq.c, irq/irq.h, irq/irq_asm.S, irq/irq_init.c: Added parameter to irq handler
* Remove duplicate white lines.Ralf Corsepius2004-04-211-3/+0
|
* Remove stray white spaces.Ralf Corsepius2004-04-211-17/+17
|
* 2004-04-09 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-04-091-1/+1
| | | | * irq/irq_asm.S: Include <rtems/asm.h> instead of <asm.h>.
* 2004-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2004-02-031-22/+22
| | | | * irq/irq_asm.S: Convert #..-comments to /*..*/ comments.
* 2003-09-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2003-09-041-1/+1
| | | | | * comm/gdb_glue.c, irq/idt.c, irq/irq.c, irq/irq.h, irq/irq_asm.S, irq/irq_asm.h, irq/irq_init.c: URL for license changed.
* Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to rename allJoel Sherrill1998-12-141-0/+250
.s files to .S in conformance with GNU conventions. This is a minor step along the way to supporting automake.