klipper/src
Kevin O'Connor d303e556ad sched: Interrupts must be disabled during setjmp() call
On the AVR platform (and possibly others) the longjmp() call will
restore the interrupt state saved during the setjmp() call.  So, the
setjmp() call must be invoked with interrupts disabled to ensure that
shutdown handling is run with interrupts disabled.  This fixes
potential corruption of the shutdown processing on AVR.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2017-12-21 12:54:33 -05:00
..
avr docs: Provide additional information on "make flash" failures 2017-12-11 17:33:29 -05:00
generic sched: Don't shutdown on a "timer in the past" if already shutdown 2017-10-12 11:59:27 -04:00
linux linux: Remove unneeded includes from timer.c 2017-10-23 22:20:53 -04:00
pru pru: Don't reset the ADC reset complete flag if a shutdown occurs 2017-10-18 13:05:36 -04:00
sam3x8e docs: Provide additional information on "make flash" failures 2017-12-11 17:33:29 -05:00
simulator avr: Implement internal avr specific timer to handle 16bit overflows 2017-08-08 00:27:28 -04:00
Kconfig linux: Initial support for running Klipper in a Linux real-time process 2017-09-20 12:55:28 -04:00
Makefile build: Allow boards to disable digital input/output support 2017-07-20 10:44:31 -04:00
adccmds.c adccmds: Continue to query analog inputs after a shutdown 2017-10-12 11:59:27 -04:00
basecmd.c mcu: Provide some further help on common MCU shutdown errors 2017-09-05 22:12:15 -04:00
basecmd.h pru: Support config_reset command to manually reset mcu 2017-09-03 23:16:38 -04:00
command.c linux: Initial support for running Klipper in a Linux real-time process 2017-09-20 12:55:28 -04:00
command.h command: Don't pass max_size to command_encodef() 2017-08-14 18:32:15 -04:00
compiler.h compiler.h: Check if __aligned and __section macros are already defined 2016-06-13 23:18:59 -04:00
ctr.h build: Avoid linker magic in compile_time_request.c unique id generation 2017-05-26 12:32:02 -04:00
debugcmds.c debugcmds: Move debugging commands from basecmd.c to new file 2017-05-15 14:02:59 -04:00
endstop.c endstop: Eliminate end_stop_set_oversample command 2017-10-12 11:59:27 -04:00
gpiocmds.c gpiocmds: Clear SPF_NEXT_* flags on new schedule_soft_pwm_out 2017-12-16 20:21:38 -05:00
pwmcmds.c gpiocmds: Allow the start value for a pin to differ from the default_value 2017-10-12 11:59:27 -04:00
sched.c sched: Interrupts must be disabled during setjmp() call 2017-12-21 12:54:33 -05:00
sched.h pru: Support config_reset command to manually reset mcu 2017-09-03 23:16:38 -04:00
spicmds.c Initial commit of source code. 2016-05-25 11:37:40 -04:00
stepper.c mcu: Provide some further help on common MCU shutdown errors 2017-09-05 22:12:15 -04:00
stepper.h stepper: Introduce stepper_get_position command and remove from endstop.c 2017-03-09 14:54:52 -05:00