mirror of
https://github.com/ipxe/ipxe
synced 2025-12-23 05:21:49 +03:00
[vram] Add "vram" built-in setting to dump video RAM
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>
This commit is contained in:
@@ -337,6 +337,9 @@ REQUIRE_OBJECT ( cpuid_settings );
|
||||
#ifdef MEMMAP_SETTINGS
|
||||
REQUIRE_OBJECT ( memmap_settings );
|
||||
#endif
|
||||
#ifdef VRAM_SETTINGS
|
||||
REQUIRE_OBJECT ( vram_settings );
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Drag in selected keyboard map
|
||||
|
||||
Reference in New Issue
Block a user