summaryrefslogtreecommitdiffstats
path: root/bsps/i386/pc386/include/bsp/fb_default_mode.h
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/i386/pc386/include/bsp/fb_default_mode.h')
-rw-r--r--bsps/i386/pc386/include/bsp/fb_default_mode.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/bsps/i386/pc386/include/bsp/fb_default_mode.h b/bsps/i386/pc386/include/bsp/fb_default_mode.h
new file mode 100644
index 0000000000..948ffee5b6
--- /dev/null
+++ b/bsps/i386/pc386/include/bsp/fb_default_mode.h
@@ -0,0 +1,25 @@
+/**
+ * @file fb_default_mode.h
+ *
+ * @ingroup i386_pc386
+ *
+ * @brief Variable for the definition of the default graphical mode to be
+ * initialized.
+ */
+
+/*
+ * @brief Allows to enable initialization of specific framebuffer driver (e.g.
+ * VESA real mode) from an application by setting the value of this variable
+ * to non null value in user's module. The value of this variable will be then
+ * updated when linked with an application's object.
+ *
+ * Further the value should point to string in the following format:
+ * "<resX>x<resY>[-<bpp>]" - e.g. "1024x768-32"
+ * "auto" - select the graphic mode automatically
+ * "none" / "off" - do not initialize the driver
+ * the given parameters are used if applicable.
+ *
+ * Command line argument "--video=" has priority over this string if
+ * it is read/implemented by the driver.
+ */
+extern const char * const rtems_fb_default_mode;