For RISC-V, don't save/restore FP regs
authorAndrew Waterman <waterman@cs.berkeley.edu>
Mon, 7 Jan 2013 03:32:38 +0000 (19:32 -0800)
committerAndrew Waterman <waterman@cs.berkeley.edu>
Mon, 7 Jan 2013 03:32:38 +0000 (19:32 -0800)
commit29cb47f909467f0a8e0ef969ac373322ee32d2b3
treef48e5c08a726091b4edb3fbcf85f7fb1c0881342
parent64b7caf58c43a3dd6e087c2b25f5f4ca712a3b68
For RISC-V, don't save/restore FP regs

Before making this work correctly for no-FP machines, we need to sort out how
we handle silly state.  I think the plan is to only ever restore it lazily,
but that requires many changes to the mainline kernel.
kern/arch/riscv/env.c
kern/arch/riscv/trap.c