Ok maybe I'm being dense, but what is left other than simply callingI'm sure it's doable, though I'd be more than a little nervous about diverging
__fred_entry_from_kvm() as a normal C function?
I'm on the go so there might be something in the code I'm missing, but on the
surface...?
from what FRED=y does, e.g. in case code somewhere expects the stack to look
exactly like a real FRED event.
And since we'd still need the assembly to support FRED=y, I don't see any point
in adding more code when it's trivially easy to have asm_fred_entry_from_kvm()
skip ERETS.