diff --git a/am/src/native/platform.c b/am/src/native/platform.c index 61b0d53..0003aa6 100644 --- a/am/src/native/platform.c +++ b/am/src/native/platform.c @@ -137,6 +137,7 @@ static void init_platform() { // save the context template save_example_context(); + uc_example.uc_mcontext.fpregs = NULL; // clear the FPU context __am_get_intr_sigmask(&uc_example.uc_sigmask); // disable interrupts by default