]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
Change GRUB_TERM_NO_KEY to 0
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Mon, 23 Aug 2010 11:21:53 +0000 (13:21 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Mon, 23 Aug 2010 11:21:53 +0000 (13:21 +0200)
include/grub/term.h
kern/i386/pc/startup.S

index 81c18365c4af6042ad40c7c9f78c5aba5cf396f1..dbcb2f52cc4fab43c90dedd50c7f1762e3b06c5a 100644 (file)
@@ -19,7 +19,7 @@
 #ifndef GRUB_TERM_HEADER
 #define GRUB_TERM_HEADER       1
 
-#define GRUB_TERM_NO_KEY        -1
+#define GRUB_TERM_NO_KEY        0
 
 /* Internal codes used by GRUB to represent terminal input.  */
 /* Only for keys otherwise not having shifted modification.  */
index 5a6934dee35997e4b9137c377d78df8638086ed9..f7a924fa899975a922c0ebb2611b66d336b86cdf 100644 (file)
@@ -1226,10 +1226,9 @@ notpending:
        .code16
        DATA32  call    real_to_prot
        .code32
-#if GRUB_TERM_NO_KEY != -1
+#if GRUB_TERM_NO_KEY != 0
 #error Fix this asm code
 #endif
-       decl %eax
        jmp 2b