This enables Palacios' internal implementation of strnlen
-
config BUILT_IN_STRCMP
bool "strcmp()"
default n
This enables Palacios' internal implementation of strpbrk
+config BUILT_IN_SPRINTF
+ bool "sprintf()"
+ default n
+ depends on BUILT_IN_STDLIB
+ help
+ This enables Palacios' internal implementation of sprintf
+
+
+config BUILT_IN_SNPRINTF
+ bool "snprintf()"
+ default n
+ depends on BUILT_IN_STDLIB
+ help
+ This enables Palacios' internal implementation of snprintf
+
+
+config BUILT_IN_VSPRINTF
+ bool "vsprintf()"
+ default n
+ depends on BUILT_IN_STDLIB
+ help
+ This enables Palacios' internal implementation of vsprintf
+
+config BUILT_IN_VSNPRINTF
+ bool "vsnprintf()"
+ default n
+ depends on BUILT_IN_STDLIB
+ help
+ This enables Palacios' internal implementation of vsnprintf
+
+config BUILT_IN_VSNRPRINTF
+ bool "vsnrprintf()"
+ default n
+ depends on BUILT_IN_STDLIB
+ help
+ This enables Palacios' internal implementation of vsnrprintf
+
endmenu
Enable Symbiotic components of the VMM
+config SYMBIOTIC_SWAP
+ bool "Symbiotic Swap"
+ default n
+ depends on SYMBIOTIC
+ help
+ This enables the symbiotic swap architecture
+
endmenu
*/
#include <palacios/vmm.h>
-#include <palacios/svm.h>
-#include <palacios/vmx.h>
#include <palacios/vmm_intr.h>
#include <palacios/vmm_config.h>
#include <palacios/vm_guest.h>
#include <palacios/vmm_ctrl_regs.h>
#include <palacios/vmm_lowlevel.h>
-
+#ifdef CONFIG_SVM
+#include <palacios/svm.h>
+#endif
+#ifdef CONFIG_VMX
+#include <palacios/vmx.h>
+#endif
v3_cpu_arch_t v3_cpu_type;
} else
#endif
{
- PrintDebug("CPU has no virtualization Extensions\n");
+ PrintError("CPU has no virtualization Extensions\n");
}
}
#include <palacios/vmm_sprintf.h>
-#define NEED_SPRINTF 0
-#define NEED_SNPRINTF 0
-#define NEED_VSPRINTF 0
-#define NEED_VSNPRINTF 0
-#define NEED_VSNRPRINTF 1
typedef addr_t ptrdiff_t; /* ptr1 - ptr2 */
static int kvprintf(char const * fmt, void (*func)(int, void *), void * arg, int radix, va_list ap);
-#if NEED_SPRINTF
+#ifdef CONFIG_BUILT_IN_SPRINTF
/*
* Scaled down version of sprintf(3).
*/
#endif
-#if NEED_VSPRINTF
+#ifdef CONFIG_BUILT_IN_VSPRINTF
/*
* Scaled down version of vsprintf(3).
*/
#endif
-#if NEED_SNPRINTF
+#ifdef CONFIG_BUILT_IN_SNPRINTF
/*
* Scaled down version of snprintf(3).
*/
#endif
-#if NEED_VSNPRINTF
+#ifdef CONFIG_BUILT_IN_VSNPRINTF
/*
* Scaled down version of vsnprintf(3).
*/
#endif
-#if NEED_VSNRPRINTF
+#ifdef CONFIG_BUILT_IN_VSNRPRINTF
/*
* Kernel version which takes radix argument vsnprintf(3).
*/