* include/grub/ieee1275/ieee1275.h (grub_ieee1275_flag): New enum value
GRUB_IEEE1275_FLAG_BROKEN_REPEAT. * grub-core/kern/ieee1275/cmain.c (grub_ieee1275_find_options): Set GRUB_IEEE1275_FLAG_BROKEN_REPEAT on PowerBook3,3. * include/grub/terminfo.h (grub_terminfo_input_state) [__powerpc__]: New fields last_key and last_key_time. * grub-core/term/terminfo.c (grub_terminfo_getkey): Transform extended key-esc into extended key-extended key.
This commit is contained in:
parent
52f0f64384
commit
9f1d654e67
5 changed files with 51 additions and 1 deletions
|
@ -121,7 +121,9 @@ enum grub_ieee1275_flag
|
|||
|
||||
GRUB_IEEE1275_FLAG_NO_OFNET_SUFFIX,
|
||||
|
||||
GRUB_IEEE1275_FLAG_VIRT_TO_REAL_BROKEN
|
||||
GRUB_IEEE1275_FLAG_VIRT_TO_REAL_BROKEN,
|
||||
|
||||
GRUB_IEEE1275_FLAG_BROKEN_REPEAT
|
||||
};
|
||||
|
||||
extern int EXPORT_FUNC(grub_ieee1275_test_flag) (enum grub_ieee1275_flag flag);
|
||||
|
|
|
@ -32,6 +32,10 @@ struct grub_terminfo_input_state
|
|||
{
|
||||
int input_buf[GRUB_TERMINFO_READKEY_MAX_LEN];
|
||||
int npending;
|
||||
#ifdef __powerpc__
|
||||
int last_key;
|
||||
grub_uint64_t last_key_time;
|
||||
#endif
|
||||
int (*readkey) (struct grub_term_input *term);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue