X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FKernel%2Fdebug.c;h=6132bd90226a1d858e2afc654bffe7500756531f;hb=26a5b6139d9f7f19a9900369f2f79697ffc0bade;hp=9104262a0e8e0ce649ef192a1ef7e3507ac2ac1f;hpb=c1289cd6702ce3eadf2e26de57a2077f871139be;p=tpg%2Facess2.git diff --git a/KernelLand/Kernel/debug.c b/KernelLand/Kernel/debug.c index 9104262a..6132bd90 100644 --- a/KernelLand/Kernel/debug.c +++ b/KernelLand/Kernel/debug.c @@ -163,6 +163,20 @@ void Debug(const char *Fmt, ...) #endif } + +void LogFV(const char *Fmt, va_list args) +{ + #if LOCK_DEBUG_OUTPUT + SHORTLOCK(&glDebug_Lock); + #endif + + Debug_Fmt(1, Fmt, args); + + #if LOCK_DEBUG_OUTPUT + SHORTREL(&glDebug_Lock); + #endif +} + void LogV(const char *Fmt, va_list args) { #if LOCK_DEBUG_OUTPUT