small kprint header change
This commit is contained in:
parent
f6864de2c9
commit
6aaf270aad
@ -5,7 +5,6 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "../base/errors.h"
|
#include "../base/errors.h"
|
||||||
#include "kprint_colors.h"
|
|
||||||
#include "kprint_format.h"
|
#include "kprint_format.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -97,9 +96,6 @@ void __kprint(u8 n, kp_fmt* formats, __kp_value_union* objects);
|
|||||||
#define kprint(ARGS...) WARNING_DISABLE( W_INT_CONVERSION, \
|
#define kprint(ARGS...) WARNING_DISABLE( W_INT_CONVERSION, \
|
||||||
__kprint(count_args(ARGS), __kp_argsToArrs(count_args(ARGS),ARGS, __32zeroes)) \
|
__kprint(count_args(ARGS), __kp_argsToArrs(count_args(ARGS),ARGS, __32zeroes)) \
|
||||||
)
|
)
|
||||||
|
|
||||||
///@param f bgColor | fgColor
|
|
||||||
void kprint_setColor(kp_fmt f);
|
|
||||||
|
|
||||||
#if __cplusplus
|
#if __cplusplus
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,6 +6,7 @@ extern "C" {
|
|||||||
|
|
||||||
#include "../base/std.h"
|
#include "../base/std.h"
|
||||||
#include "../base/type_system/ktid.h"
|
#include "../base/type_system/ktid.h"
|
||||||
|
#include "kprint_colors.h"
|
||||||
|
|
||||||
/// kprint_format
|
/// kprint_format
|
||||||
typedef u32 kp_fmt;
|
typedef u32 kp_fmt;
|
||||||
@ -44,6 +45,9 @@ PACKED_ENUM(kp_dataFmt,
|
|||||||
#define kp_fmt_dataFormat(FMT) (kp_dataFmt)(FMT&0x000f0000)
|
#define kp_fmt_dataFormat(FMT) (kp_dataFmt)(FMT&0x000f0000)
|
||||||
#define kp_fmt_ktid(FMT) (ktid)(FMT&0x0000ffff)
|
#define kp_fmt_ktid(FMT) (ktid)(FMT&0x0000ffff)
|
||||||
|
|
||||||
|
///@param f bgColor | fgColor
|
||||||
|
void kprint_setColor(kp_fmt f);
|
||||||
|
|
||||||
#if __cplusplus
|
#if __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
Loading…
Reference in New Issue
Block a user