a25a16d4ad
The "vram" setting returns the (Base64-encoded) contents of video RAM, and can be used to capture a screenshot. For example: after running memtest.0 and encountering an error, the output can be captured and sent to a remote server for later diagnosis: #!ipxe chain -a http://server/memtest.0 && goto ok || goto bad :bad params param errno ${errno} param vram ${vram} chain -a http://server/report.php##params :ok Inspired-by: Christian Nilsson <nikize@gmail.com> Originally-implemented-by: Christian Nilsson <nikize@gmail.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
24 lines
574 B
C
24 lines
574 B
C
#ifndef CONFIG_SETTINGS_H
|
|
#define CONFIG_SETTINGS_H
|
|
|
|
/** @file
|
|
*
|
|
* Configuration settings sources
|
|
*
|
|
*/
|
|
|
|
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
|
|
|
#define PCI_SETTINGS /* PCI device settings */
|
|
//#define CPUID_SETTINGS /* CPUID settings */
|
|
//#define MEMMAP_SETTINGS /* Memory map settings */
|
|
//#define VMWARE_SETTINGS /* VMware GuestInfo settings */
|
|
//#define VRAM_SETTINGS /* Video RAM dump settings */
|
|
|
|
#include <config/named.h>
|
|
#include NAMED_CONFIG(settings.h)
|
|
#include <config/local/settings.h>
|
|
#include LOCAL_NAMED_CONFIG(settings.h)
|
|
|
|
#endif /* CONFIG_SETTINGS_H */
|