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 - Added -ffreestanding to module build (allows stdint.h)
[tpg/acess2.git]
/
KernelLand
/
Kernel
/
logging.c
diff --git
a/KernelLand/Kernel/logging.c
b/KernelLand/Kernel/logging.c
index
b419be3
..
d067e49
100644
(file)
--- a/
KernelLand/Kernel/logging.c
+++ b/
KernelLand/Kernel/logging.c
@@
-156,6
+156,8
@@
void Log_AddEvent(const char *Ident, int Level, const char *Format, va_list Args
*/
void Log_Int_PrintMessage(tLogEntry *Entry)
{
+ if( CPU_HAS_LOCK(&glLogOutput) )
+ return ; // TODO: Error?
SHORTLOCK( &glLogOutput );
LogF("%s%014lli%s [%-8s] %i - %s",
csaLevelColours[Entry->Level],
UCC
git Repository :: git.ucc.asn.au