Subversion Repositories HelenOS

Rev

Rev 2328 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2328 Rev 2357
Line 28... Line 28...
28
 
28
 
29
/** @addtogroup arm32
29
/** @addtogroup arm32
30
 * @{
30
 * @{
31
 */
31
 */
32
/** @file
32
/** @file
-
 
33
 *  @brief Debug printing functions.
33
 */
34
 */
34
 
35
 
35
#ifndef KERN_arm32_DEBUG_PRINT_H_
36
#ifndef KERN_arm32_DEBUG_PRINT_H_
36
#define KERN_arm32_DEBUG_PRINT_H_
37
#define KERN_arm32_DEBUG_PRINT_H_
37
 
38
 
Line 39... Line 40...
39
#include <arch/types.h>
40
#include <arch/types.h>
40
 
41
 
41
extern void debug_puts(const char *str);
42
extern void debug_puts(const char *str);
42
extern void debug_printf(const char *fmt, ...);
43
extern void debug_printf(const char *fmt, ...);
43
 
44
 
44
 
-
 
45
#ifdef CONFIG_DEBUG
45
#ifdef CONFIG_DEBUG
46
#   define dprintf(arg1...) debug_printf(arg1)
46
#   define dprintf(arg1...) debug_printf(arg1)
47
#   define dputs(arg1) debug_puts(arg1)
47
#   define dputs(arg1) debug_puts(arg1)
48
#else
48
#else
49
#   define dprintf(arg1...)
49
#   define dprintf(arg1...)