Eric Holland
32e774e5fb
[aarch64] Fix stack pointer misalignment
...
sp can become misaligned from 16 byte boundry because context frame
is not a multiple of 16 bytes.
2016-09-01 18:59:18 -04:00
Arve Hjønnevåg
6e4165431f
[arch][arm64] Add a dsb to context switch on smp system.
...
Fixes a crash where a thread would get preempted and move to another
cpu before executing the dsb in arm64_mmu_unmap. This would leave the
old mapping in the tlb, since the cpu that executed the dsb did not
have any pending tlb maintenance operations.
Change-Id: I3753d7020f983672966c125d8010f5f4f7c46ed1
2016-02-12 09:11:45 -08:00
Arve Hjønnevåg
5ab22dee7f
[arch][arm64] Add fpu support
...
Enable fpu registers on demand. Save and disable them on the next
context switch.
Change-Id: I5a1b98044757fd6de7405a7aff3f87b2315ba74b
2015-09-20 12:13:07 -07:00
Travis Geiselbrecht
48b9f038c1
[arch][arm64] get arm64 building again post SMP
...
Does not support smp, but stubs out the required spinlock implementation.
2015-03-10 16:43:55 -07:00
Travis Geiselbrecht
a99a962333
[arch] update all the arches to implement get_current_thread()
...
-For ARM and ARM64, use the cpu local registers
-for X86, X86-64, and ARM-M, use a global variable
2014-05-03 23:58:50 -07:00
Travis Geiselbrecht
4ec1bac774
[arch][arm64] initial port to armv8-a (aarch64)
2014-01-26 22:52:16 -08:00