summaryrefslogtreecommitdiffstats
path: root/sys/arch/arm/include/frame.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove strange /* End of file */ style.deraadt2018-06-301-3/+1
|
* unifdef CPU_ARMv7 and ARM_ARCH_7jsg2017-01-061-10/+5
| | | | ok kettenis@ patrick@
* If an Access Flag fault happens while we were running the kernel andpatrick2016-10-221-1/+4
| | | | | | | it happened on a kernel page, we need to consult the kernel pmap instead of the current proc's pmap. Fixes panic when using tmpfs. ok kettenis@
* Implement atomic operations using the atomic instructions availablepatrick2016-04-251-1/+21
| | | | | | | since ARMv6K. As we also support ARMs that are older than that, guard the new atomic operations with an ifdef specifically for ARMv7. ok jsg@
* whitespace cleanuppatrick2016-04-241-19/+19
|
* EABI's Procedure Call Standard (AAPCS) requires the stack pointerpatrick2016-04-241-2/+9
| | | | | | | | to be 8-byte aligned. To guarantee this, align the stack pointers passed to user processes and make sure the in-kernel stacks are properly aligned, too. ok jsg@
* Switch from PSR_X_bit and X32_bit PSR macro names to just PSR_X.jsg2016-01-311-3/+3
| | | | | This matches FreeBSD and makes things a bit more consistent. Discussed with Patrick.
* When restoring spsr values when handling traps use spsr_fsxc insteadjsg2015-01-181-4/+4
| | | | | | | | | | | | of spsr_all so all the bits are restored. Using the msr instruction with spsr_all is treated the same as spsr_fc and does not include the status and extension fields (bits 23:8). This fixes the problem of some i.MX6 machines powering up with the big endian bit set in the extension field causing them to crash on returning from the first interrupt. From NetBSD.
* The 'mrs' instruction only deals with the whole register withoutjsg2015-01-181-3/+3
| | | | | | | masking. Remove the use of cpsr_all/spsr_all with 'mrs' and just use the register names. This matches the arm docs and avoids confusion as cpsr_all/spsr_all don't include bits 23->8 when used with the 'msr' instruction but do with 'mrs'.
* Late spring cleaning of the arm code for old dusty bits we do not want tomiod2011-09-201-32/+9
| | | | | | | | | | | | | | | | keep: - remove bootconfig parameter passing feature (unused). - unifdef __PROG32 and remove all remains of arm26 code. - remove ARMFPE support (unused). - remove support for ARM2, ARM2AS, ARM3, ARM6, ARM7, ARM7TDMI and StrongARM processor families, and the related silicon bug workarounds (especially the SA-110 STM^ bug). - remove cpu_functions no longer necessary after previous removals. - remove ARM32_DISABLE_ALIGNMENT_FAULTS option (unused). - make FIQ support conditional on option FIQ (unused, but may be eventually). Discussed with drahn@ and jasper@ long ago, I was sitting on this commit for no good reason.
* Remove COMPAT_1x stuff inherited from NetBSD, which does not apply to us.miod2006-03-071-118/+3
| | | | ok uwe@
* de __P of sys/arch/arm.drahn2004-05-191-2/+2
|
* Arm port, NetBSD codebase stripped down, 32bit only support.drahn2004-02-011-0/+412