[BRLTTY] BRLTTY in GRUB2

Dave Mielke dave at mielke.cc
Wed Apr 4 01:06:44 EDT 2012


Maybe this'll help explain my question regarding reporting grub errors. In 
ls.c, I found:

   grub_error (GRUB_ERR_BAD_ARGUMENT, "invalid argument");

In this case, the writer of the code knows which text matches the error code. 
When we call the serial driver's configure() method, however, we get back an 
error code but we don't know what it is. Do we just trust that the configure() 
method has already called grub_error()? What if it hasn't? Should we log it 
just in case, and, if so, how can we know which text matches the error code?

Does grub have a function that converts a grub_err_t value to an errno value?

Does grub have functions for disabling and reenabling interrupts?

-- 
Dave Mielke           | 2213 Fox Crescent | The Bible is the very Word of God.
Phone: 1-613-726-0014 | Ottawa, Ontario   | 2011 May 21 is the End of Salvation.
EMail: dave at mielke.cc | Canada  K2A 1H7   | http://Mielke.cc/now.html
http://FamilyRadio.com/                   | http://Mielke.cc/bible/


More information about the BRLTTY mailing list