Do some simplification in switch_thread regarding interrupt enabling which simplifies...
commite88da2a7ed55bb3e2d68a9dd8eae9326113216e1
authorjethead71 <jethead71@a1c6a512-1295-4272-9138-f99709370657>
Sat, 19 Jan 2008 13:27:47 +0000 (19 13:27 +0000)
committerjethead71 <jethead71@a1c6a512-1295-4272-9138-f99709370657>
Sat, 19 Jan 2008 13:27:47 +0000 (19 13:27 +0000)
tree3f7ec134a2c2e23a9bf8d8f8755034947afdde66
parent84ab3d9c5279ee64eebb37f3646da236cc272b80
Do some simplification in switch_thread regarding interrupt enabling which simplifies kernel objects as well. Simply doing unconditional disable/enable should be fine in the firmware. Not sure about the case in the bootloader for all targets and so will evaluate but that should be fine too if everything is masked.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16107 a1c6a512-1295-4272-9138-f99709370657
firmware/export/thread.h
firmware/kernel.c
firmware/thread.c
uisimulator/sdl/kernel.c
uisimulator/sdl/thread-sdl.c