endif
# Configuration defaults
-CONFIG_XENBUS ?= y
-
CONFIG_PCI ?= y
# Export config items as compiler directives
-flags-$(CONFIG_XENBUS) += -DCONFIG_XENBUS
flags-$(CONFIG_PCI) += -DCONFIG_PCI
DEF_CFLAGS += $(flags-y)
src-y += mm.c
src-y += netfront.c
src-$(CONFIG_PCI) += pcifront.c
-src-$(CONFIG_XENBUS) += xenbus/xenbus.c
+src-y += xenbus/xenbus.c
src-y += console/console.c
src-y += console/xencons_ring.c
src-y += console/xenbus.c
typedef unsigned long xenbus_transaction_t;
#define XBT_NIL ((xenbus_transaction_t)0)
-#ifdef CONFIG_XENBUS
/* Initialize the XenBus system. */
void init_xenbus(void);
-#else
-static inline void init_xenbus(void)
-{
-}
-#endif
/* Read the value associated with a path. Returns a malloc'd error
string on failure and sets *value to NULL. On success, *value is
* it must use this rather than free() when freeing data received
* from xenbus. */
-#ifdef CONFIG_XENBUS
/* Reset the XenBus system. */
void fini_xenbus(void);
-#else
-static inline void fini_xenbus(void)
-{
-}
-#endif
#endif /* MINIOS_XENBUS_H__ */