coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
Go to the source code of this file.
Macros | |
#define | call_tx(x) tx_byte(x, data) |
#define | ZEROPAD 1 /* pad with zero */ |
#define | SIGN 2 /* unsigned/signed long */ |
#define | PLUS 4 /* show plus */ |
#define | SPACE 8 /* space if plus */ |
#define | LEFT 16 /* left justified */ |
#define | SPECIAL 32 /* 0x */ |
#define | LARGE 64 /* use 'ABCDEF' instead of 'abcdef' */ |
Functions | |
static int | number (void(*tx_byte)(unsigned char byte, void *data), unsigned long long inum, int base, int size, int precision, int type, void *data) |
int | vtxprintf (void(*tx_byte)(unsigned char byte, void *data), const char *fmt, va_list args, void *data) |
Definition at line 12 of file vtxprintf.c.
#define LARGE 64 /* use 'ABCDEF' instead of 'abcdef' */ |
Definition at line 20 of file vtxprintf.c.
#define LEFT 16 /* left justified */ |
Definition at line 18 of file vtxprintf.c.
#define PLUS 4 /* show plus */ |
Definition at line 16 of file vtxprintf.c.
#define SIGN 2 /* unsigned/signed long */ |
Definition at line 15 of file vtxprintf.c.
#define SPACE 8 /* space if plus */ |
Definition at line 17 of file vtxprintf.c.
#define SPECIAL 32 /* 0x */ |
Definition at line 19 of file vtxprintf.c.
#define ZEROPAD 1 /* pad with zero */ |
Definition at line 14 of file vtxprintf.c.
int vtxprintf | ( | void(*)(unsigned char byte, void *data) | tx_byte, |
const char * | fmt, | ||
va_list | args, | ||
void * | data | ||
) |
Definition at line 102 of file vtxprintf.c.
References __fallthrough, args, base, call_tx, count, isdigit(), LARGE, LEFT, number(), PLUS, s, SIGN, skip_atoi(), SPACE, SPECIAL, strnlen(), va_arg, and ZEROPAD.
Referenced by vprintk(), vsnprintf(), and wrap_interactive_printf().