mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-29 10:39:22 +00:00
* grub-core/kern/i386/pc/startup.S (grub_console_setcursor): Check
cursor shape for sanity.
This commit is contained in:
1 parent
5b0276902e
commit
7bced4583e
2 files changed
+9
No files matched your search
@@ -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 */
|
||||
|
||||
Reference in new issue
Block a user