On 22.03.2012 19:57, Dave Mielke wrote:
Do you already have a #define which we can use to detect that we're building
within the grub environment?
No. But I can easily add GRUB_RUNTIME variable for this.
What should we include to pick up the definition for grub_millisleep(), and do
any other headers need to be included before it?
#include <grub/time.h>
Does grub_millisleep() take exactly one parameter (the number of milliseconds
to delay for)?
Yes. You can see example in the indicative patch I've supplied.
Have you had to make any changes to our prologue.h?
No. Every change made to your code was in the indicative patch.
The most important thing we currently use input monitoring for is to wait for
input to become available on a file descriptor. Does grub have a way to do
that?
What kind of file descriptor? GRUB doens't have a philosophy of
"everything is file".
User input is async as well. USB bus is async. Serial is sync but can be
changed to async if needed.
Regular files are read-only.
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: [email protected]
For general information, go to: http://mielke.cc/mailman/listinfo/brltty