Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | sparc: Fix window underflow trap handler | Daniel Hellstrom | 2016-03-24 | 1 | -1/+1 |
| | | | | | | | | | | | | The window underflow trap handler used %i5 which destroyed the %o5 of the calling context. Bug introduced by 0d3b5d47429effb350448d9e9123a67db722109f. Go back to the pre 0d3b5d47429effb350448d9e9123a67db722109f behaviour and use the two unused instructions in the trap vector to optimize a bit. Close #2651. | ||||
* | score: Fix simple timecounter support | Sebastian Huber | 2016-01-27 | 4 | -27/+42 |
| | | | | Close #2502. | ||||
* | sparc: Fix context switch on SMP | Daniel Cederman | 2015-11-17 | 1 | -17/+14 |
| | | | | | | | | | | | | | | | | | | We must not load registers (e.g. PSR) from the heir context area before the heir stopped execution. With this patch the write to PSR is divided into two steps. We first update the current window pointer and then we restore the status registers and enable traps. This allows us to move the first write to PSR to be before the write to WIM, as there is now no risk that we get an interrupt where the CWP and WIM would be inconsistent. We only need to make sure that we do not use any of the non-global registers or instructions that affects CWP for three instructions after the write. In the earlier code the non-global %o1 register was used right after the write to PSR, which required the use of three nop:s. Close #2472. | ||||
* | bsp/leon3: Fix Termios context usage | Sebastian Huber | 2015-10-20 | 1 | -8/+3 |
| | | | | | Only the context of the console device was used and this is wrong in case more than one APBUART device is available. | ||||
* | Most bsp.h: Switch to LIBBSP_@CPU@_@BSP_FAMILY@_H for guard | Joel Sherrill | 2015-07-16 | 3 | -6/+6 |
| | | | | | | | | | | | | | | | | | 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 | ||||
* | score: Simplify <rtems/system.h> | Sebastian Huber | 2015-06-26 | 1 | -0/+1 |
| | | | | | Drop the <rtems/score/percpu.h> include since this file exposes a lot of implementation details. | ||||
* | bsps/sparc: tlib clock driver timecounter support | Sebastian Huber | 2015-06-09 | 1 | -38/+56 |
| | |||||
* | sparc: Add SPARC_USE_SAFE_FP_SUPPORT | Sebastian Huber | 2015-06-09 | 1 | -0/+85 |
| | | | | | | | | | | | | | | | | | | | | | | | | The SPARC ABI is a bit special with respect to the floating point context. The complete floating point context is volatile. Thus from an ABI point of view nothing needs to be saved and restored during a context switch. Instead the floating point context must be saved and restored during interrupt processing. Historically the deferred floating point switch is used for SPARC and the complete floating point context is saved and restored during a context switch to the new floating point unit owner. This is a bit dangerous since post-switch actions (e.g. signal handlers) and context switch extensions may silently corrupt the floating point context. The floating point unit is disabled for interrupt handlers. Thus in case an interrupt handler uses the floating point unit then this will result in a trap. On SMP configurations the deferred floating point switch is not supported in principle. So use here a safe floating point support. Safe means that the volatile floating point context is saved and restored around a thread dispatch issued during interrupt processing. Thus post-switch actions and context switch extensions may safely use the floating point unit. Update #2270. | ||||
* | sparc: Disable FPU in interrupt context | Alexander Krutwig | 2015-05-30 | 1 | -1/+34 |
| | | | | Update #2270. | ||||
* | bsps/sparc: Delete unused local labels | Sebastian Huber | 2015-05-26 | 1 | -4/+0 |
| | |||||
* | bsps/sparc: Change tabs to spaces | Sebastian Huber | 2015-05-26 | 1 | -5/+5 |
| | |||||
* | bsps: Convert clock drivers to use a timecounter | Alexander Krutwig | 2015-05-20 | 3 | -63/+138 |
| | | | | Update #2271. | ||||
* | Remove obsolete rtems_clock_major/minor | Sebastian Huber | 2015-05-14 | 1 | -14/+0 |
| | | | | | These global variables are obsolete since 65f71f8472fa904ca48b816301ed0810def47001. | ||||
* | LEON3: gptimer drvmgr init simplified wrt boot | Daniel Hellstrom | 2015-04-17 | 1 | -40/+6 |
| | |||||
* | LEON3: move timer variable to where initialized | Daniel Hellstrom | 2015-04-17 | 2 | -5/+2 |
| | |||||
* | LEON3: simplify amba initialization | Daniel Hellstrom | 2015-04-17 | 1 | -7/+2 |
| | |||||
* | LEON3: clock irq always same as timer instance | Daniel Hellstrom | 2015-04-17 | 1 | -10/+1 |
| | | | | | | The leon.h already contains the definition of LEON3_CLOCK_INDEX and irq must always follow that when separate IRQ is supported by the HW. The definitions are resued from leon.h. | ||||
* | DRVMGR: remove struct driver registration func | Daniel Hellstrom | 2015-04-17 | 2 | -6/+6 |
| | |||||
* | DRVMGR: renamed RES_EMPTY to DRVMGR_RES_EMPTY | Daniel Hellstrom | 2015-04-17 | 2 | -2/+2 |
| | |||||
* | DRVMGR: KEY_TYPE now a enum drvmgr_kt | Daniel Hellstrom | 2015-04-17 | 23 | -78/+78 |
| | |||||
* | DRVMGR: renamed info_dev to get_info_dev | Daniel Hellstrom | 2015-04-17 | 1 | -1/+1 |
| | |||||
* | DRVMGR: change name of freq_get to get_freq | Daniel Hellstrom | 2015-04-17 | 1 | -1/+1 |
| | |||||
* | sparc bsps: updated license to rtems.org | Daniel Hellstrom | 2015-04-17 | 92 | -92/+92 |
| | |||||
* | leon3,ngmp: cpucounter initialization use proper names | Daniel Hellstrom | 2015-04-17 | 1 | -2/+3 |
| | | | | | | To be merged with "leon3,ngmp: simplify cpucounter initialization" .. as an affect of previous patch, the next must be updated too. | ||||
* | leon3: timer config updated to use proper naming | Daniel Hellstrom | 2015-04-17 | 2 | -7/+7 |
| | | | | To be merged with "leon3: make timer initialization configurable" | ||||
* | LEON: converted LEON4-N2X to BSD header | Daniel Hellstrom | 2015-04-17 | 1 | -4/+4 |
| | |||||
* | LEON: converted PCI peripherals to BSD header | Daniel Hellstrom | 2015-04-17 | 5 | -24/+24 |
| | |||||
* | LEON: converted AT697,GRPCi,GRPCI2,PCIF to BSD header | Daniel Hellstrom | 2015-04-17 | 4 | -40/+31 |
| | |||||
* | LEON: move driver headers to bsp/ directory | Daniel Hellstrom | 2015-04-17 | 58 | -432/+432 |
| | |||||
* | MCTRL: fix build warnings in MCTRL driver | Daniel Hellstrom | 2015-04-17 | 6 | -0/+38 |
| | |||||
* | AMBAPP GRLIB: fix build warnings | Daniel Hellstrom | 2015-04-17 | 1 | -0/+3 |
| | |||||
* | LEON2: fix build warnings | Daniel Hellstrom | 2015-04-17 | 1 | -22/+11 |
| | |||||
* | AMBAPP_BUS: fix build warnings | Daniel Hellstrom | 2015-04-17 | 1 | -23/+18 |
| | |||||
* | LEON CONS: fix build warnings | Daniel Hellstrom | 2015-04-17 | 1 | -1/+1 |
| | |||||
* | GR-TMTC-1553: fix build warnings | Daniel Hellstrom | 2015-04-17 | 2 | -12/+16 |
| | |||||
* | GR-RASTA-TMTC: fix build warnings | Daniel Hellstrom | 2015-04-17 | 2 | -17/+20 |
| | |||||
* | GR-RASTA-SPW-ROUTER: fix build warnings | Daniel Hellstrom | 2015-04-17 | 2 | -11/+11 |
| | |||||
* | GR-RASTA-IO: fix build warnings | Daniel Hellstrom | 2015-04-17 | 2 | -17/+16 |
| | |||||
* | GR-RASTA-ADCDAC: fix build warnings | Daniel Hellstrom | 2015-04-17 | 2 | -15/+16 |
| | |||||
* | GR-LEON4-N2X: fix build warnings | Daniel Hellstrom | 2015-04-17 | 2 | -12/+14 |
| | |||||
* | GR_701: fix build warnings | Daniel Hellstrom | 2015-04-17 | 2 | -13/+14 |
| | |||||
* | GRGPIO: fix buld warnings | Daniel Hellstrom | 2015-04-17 | 1 | -9/+9 |
| | |||||
* | GPIOLIB: fix build warnings | Daniel Hellstrom | 2015-04-17 | 1 | -10/+5 |
| | |||||
* | GRADCDAC: fix build warnings | Daniel Hellstrom | 2015-04-17 | 1 | -2/+2 |
| | |||||
* | GENIRQ: fix build warnings | Daniel Hellstrom | 2015-04-17 | 1 | -1/+6 |
| | |||||
* | GRPWM: fix build warnings | Daniel Hellstrom | 2015-04-17 | 1 | -6/+12 |
| | |||||
* | SPWCUC: fix build warnings | Daniel Hellstrom | 2015-04-17 | 1 | -2/+2 |
| | |||||
* | SPICTRL: fix build warnings | Daniel Hellstrom | 2015-04-17 | 1 | -10/+19 |
| | |||||
* | GRSPW router: fix build warnings | Daniel Hellstrom | 2015-04-17 | 2 | -13/+28 |
| | |||||
* | GRSPW_PKT: fix build warnings | Daniel Hellstrom | 2015-04-17 | 2 | -1/+4 |
| |