* AcessOS Microkernel Version
* debug.c
*/
-#include <common.h>
+#include <acess.h>
#include <stdarg.h>
#define DEBUG_TO_E9 1
char *p = NULL;
int isLongLong = 0;
Uint64 arg;
-
+
while((c = *format++) != 0)
{
// Non control character
if(!p) p = "(null)";
while(*p) E9(*p++);
break;
-
+
+ // Single Character / Array
+ case 'c':
+ if(minSize == 1) {
+ E9(arg);
+ break;
+ }
+ p = (char*)(Uint)arg;
+ if(!p) goto printString;
+ while(minSize--) E9(*p++);
+ break;
+
default: E9(arg); break;
}
}
va_start(args, RetType);
+ if( i == -1 ) {
+ gDebug_Level = 0;
+ i = 0;
+ }
// Indenting
while(i--) E9(' ');