OSDN Git Service

Extract FPU context operations from entry.S
authorAlan Kao <alankao@andestech.com>
Tue, 9 Oct 2018 02:18:30 +0000 (10:18 +0800)
committerPalmer Dabbelt <palmer@sifive.com>
Tue, 23 Oct 2018 00:02:22 +0000 (17:02 -0700)
commite68ad867f77e1a839ad496ffcbd88b9c96769b5b
tree927c07682cae899cd635236d24252a52099b2f67
parent84df9525b0c27f3ebc2ebb1864fa62a97fdedb7d
Extract FPU context operations from entry.S

We move __fstate_save and __fstate_restore to a new source
file, fpu.S.

Signed-off-by: Alan Kao <alankao@andestech.com>
Cc: Greentime Hu <greentime@andestech.com>
Cc: Vincent Chen <vincentc@andestech.com>
Cc: Zong Li <zong@andestech.com>
Cc: Nick Hu <nickhu@andestech.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
arch/riscv/kernel/Makefile
arch/riscv/kernel/entry.S
arch/riscv/kernel/fpu.S [new file with mode: 0644]