This enables Palacios' internal implementation of strpbrk
+config BUILT_IN_STDIO
+ bool "Enable Built in versions of stdio functions"
+ default n
+ help
+ Not all host OSes provide link targets for stdio functions
+ Palacios provides internal implementations of these functions, that you can select from this list
+
+
+
config BUILT_IN_SPRINTF
bool "sprintf()"
default n
- depends on BUILT_IN_STDLIB
+ depends on BUILT_IN_STDIO
help
This enables Palacios' internal implementation of sprintf
config BUILT_IN_SNPRINTF
bool "snprintf()"
default n
- depends on BUILT_IN_STDLIB
+ depends on BUILT_IN_STDIO
help
This enables Palacios' internal implementation of snprintf
config BUILT_IN_VSPRINTF
bool "vsprintf()"
default n
- depends on BUILT_IN_STDLIB
+ depends on BUILT_IN_STDIO
help
This enables Palacios' internal implementation of vsprintf
config BUILT_IN_VSNPRINTF
bool "vsnprintf()"
default n
- depends on BUILT_IN_STDLIB
+ depends on BUILT_IN_STDIO
help
This enables Palacios' internal implementation of vsnprintf
config BUILT_IN_VSNRPRINTF
bool "vsnrprintf()"
default n
- depends on BUILT_IN_STDLIB
+ depends on BUILT_IN_STDIO
help
This enables Palacios' internal implementation of vsnrprintf
};
+
+#if defined(CONFIG_BUILT_IN_STDIO) && \
+ ( defined(CONFIG_BUILT_IN_SPRINTF) || \
+ defined(CONFIG_BUILT_IN_SNPRINTF) || \
+ defined(CONFIG_BUILT_IN_VSPRINTF) || \
+ defined(CONFIG_BUILT_IN_VSNPRINTF) || \
+ defined(CONFIG_BUILT_IN_VSNRPRINTF ))
+
static char * ksprintn(char * nbuf, uint64_t num, int base, int *len, int upper);
static void snprintf_func(int ch, void * arg);
static int kvprintf(char const * fmt, void (*func)(int, void *), void * arg, int radix, va_list ap);
}
+#endif // CONFIG_BUILT_IN_STDIO
+
void v3_hexdump(const void * ptr, int length, const char * hdr, int flags) {