Correct some commenting left from an earlier set_irq_level version.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15323 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Sevakis 2007-10-26 23:27:04 +00:00
parent c935ed5112
commit 4a5894db1a

View file

@ -28,10 +28,10 @@
#include "thread.h" #include "thread.h"
#include "debug.h" #include "debug.h"
/* Prevent "irq handler" from thread concurrent access as well as current /* Condition to signal that "interrupts" may proceed */
* access on multiple handlers */
static SDL_cond *sim_thread_cond; static SDL_cond *sim_thread_cond;
/* Protect sim irq object when it is being changed */ /* Mutex to serialize changing levels and exclude other threads while
* inside a handler */
static SDL_mutex *sim_irq_mtx; static SDL_mutex *sim_irq_mtx;
static int interrupt_level = HIGHEST_IRQ_LEVEL; static int interrupt_level = HIGHEST_IRQ_LEVEL;
static int status_reg = 0; static int status_reg = 0;
@ -88,7 +88,6 @@ bool sim_kernel_init(void)
return false; return false;
} }
/* Create with a count of 0 to have interrupts disabled by default */
sim_thread_cond = SDL_CreateCond(); sim_thread_cond = SDL_CreateCond();
if (sim_thread_cond == NULL) if (sim_thread_cond == NULL)
{ {