#include <stdarg.h>#include <string.h>#include <div64.h>

Go to the source code of this file.
Defines | |
| #define | isdigit(c) ((c) >= '0' && (c) <= '9') |
| #define | is_digit isdigit |
| #define | isxdigit(c) (((c) >= '0' && (c) <= '9') || ((c) >= 'a' && (c) <= 'f') || ((c) >= 'A' && (c) <= 'F')) |
| #define | ZEROPAD 1 |
| #define | SIGN 2 |
| #define | PLUS 4 |
| #define | SPACE 8 |
| #define | LEFT 16 |
| #define | SPECIAL 32 |
| #define | LARGE 64 |
Functions | |
| static int | skip_atoi (const char **s) |
| static int | number (void(*tx_byte)(unsigned char byte), unsigned long long num, int base, int size, int precision, int type) |
| int | vtxprintf (void(*tx_byte)(unsigned char byte), const char *fmt, va_list args) |
| #define is_digit isdigit |
| #define LARGE 64 |
| #define LEFT 16 |
| #define PLUS 4 |
| #define SIGN 2 |
| #define SPACE 8 |
| #define SPECIAL 32 |
| #define ZEROPAD 1 |
| static int number | ( | void(*)(unsigned char byte) | tx_byte, | |
| unsigned long long | num, | |||
| int | base, | |||
| int | size, | |||
| int | precision, | |||
| int | type | |||
| ) | [static] |
Definition at line 71 of file vtxprintf.c.
References c, do_div, LARGE, LEFT, PLUS, SIGN, SPACE, SPECIAL, console_driver::tx_byte, and ZEROPAD.
Referenced by int15_function32(), print_intel_core_msrs(), and vtxprintf().

| static int skip_atoi | ( | const char ** | s | ) | [static] |
Definition at line 54 of file vtxprintf.c.
References is_digit.
Referenced by vtxprintf().

| int vtxprintf | ( | void(*)(unsigned char byte) | tx_byte, | |
| const char * | fmt, | |||
| va_list | args | |||
| ) |
Definition at line 140 of file vtxprintf.c.
References yapps2::flags, is_digit, LARGE, LEFT, len, number(), PLUS, SIGN, skip_atoi(), SPACE, SPECIAL, strnlen(), console_driver::tx_byte, and ZEROPAD.

1.5.5