[OpenBIOS] PATCH: Read the diagnostic mode setting from NVRAM

Mark Cave-Ayland mark.cave-ayland at siriusit.co.uk
Thu May 21 21:17:17 CEST 2009


Hi everyone,

When trying to boot a SPARC64 disk image under QEMU, extra diagnostic 
information can be made available on the console if diagnostic-mode? 
returns true. This patch implements the simple step of reading the 
diag-switch? NVRAM parameter and using this to determine whether 
diagnostic mode is enabled or disabled.


ATB,

Mark.

-- 
Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
http://www.siriusit.co.uk
t: +44 870 608 0063
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openbios-diagmode.patch
Type: text/x-diff
Size: 788 bytes
Desc: not available
URL: <http://lists.openbios.org/pipermail/openbios/attachments/20090521/e4500137/attachment.bin>


More information about the OpenBIOS mailing list