git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modules/ATA - Debugging issue with VBox, problem still there
[tpg/acess2.git]
/
Kernel
/
arch
/
x86_64
/
proc.c
diff --git
a/Kernel/arch/x86_64/proc.c
b/Kernel/arch/x86_64/proc.c
index
9abcc63
..
5739470
100644
(file)
--- a/
Kernel/arch/x86_64/proc.c
+++ b/
Kernel/arch/x86_64/proc.c
@@
-736,8
+736,6
@@
void Proc_Scheduler(int CPU)
// If the spinlock is set, let it complete
if(IS_LOCKED(&glThreadListLock)) return;
// If the spinlock is set, let it complete
if(IS_LOCKED(&glThreadListLock)) return;
- //LogF("Scheduler: CPU = %i\n", CPU);
-
// Get current thread
thread = gaCPUs[CPU].Current;
// Get current thread
thread = gaCPUs[CPU].Current;
@@
-776,6
+774,9
@@
void Proc_Scheduler(int CPU)
);
#endif
);
#endif
+
+ if(CPU > MAX_CPUS)
+ LogF("CPU = %i", CPU);
// Set current thread
gaCPUs[CPU].Current = thread;
// Set current thread
gaCPUs[CPU].Current = thread;
UCC
git Repository :: git.ucc.asn.au