2 * PROJECT: ReactOS Boot Loader
3 * LICENSE: BSD - See COPYING.ARM in the top level directory
4 * FILE: boot/armllb/crtsupp.c
5 * PURPOSE: CRT Support Code
6 * PROGRAMMERS: ReactOS Portable Systems Group
14 /* Write to the screen */
17 /* For DEBUGGING ONLY */
23 puts(const char* string
)
25 while (*string
) putchar(*string
++);
29 int printf(const char *fmt
, ...)
33 char printbuffer
[1024];
36 i
= vsprintf(printbuffer
, fmt
, args
);
39 /* Print the string */
40 return puts(printbuffer
);
44 DbgPrint(const char *fmt
, ...)
51 i
= vsprintf(Buffer
, fmt
, args
);
54 for (j
= 0; j
< i
; j
++) LlbSerialPutChar(Buffer
[j
]);