* grub-core/kern/i386/pc/startup.S (grub_console_setcursor): Check
cursor shape for sanity.
This commit is contained in:
parent
5b0276902e
commit
7bced4583e
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2010-10-17 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/kern/i386/pc/startup.S (grub_console_setcursor): Check
|
||||
cursor shape for sanity.
|
||||
|
||||
2010-10-17 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* docs/grub.texi (Installation): Document buggy BIOS install.
|
||||
|
|
|
@ -820,6 +820,10 @@ FUNCTION(grub_console_setcursor)
|
|||
DATA32 call real_to_prot
|
||||
.code32
|
||||
|
||||
cmp %cl, %ch
|
||||
jb 3f
|
||||
movw $0x0d0e, %cx
|
||||
3:
|
||||
movw %cx, console_cursor_shape
|
||||
1:
|
||||
/* set %cx to the designated cursor shape */
|
||||
|
|
Loading…
Reference in a new issue