[2181] 2009-05-04 Robert Millan <[email protected]>

Robert Millan <[email protected]>
Newsgroups gmane.comp.boot-loaders.grub.cvs
Message-ID <[email protected]>
Revision: 2181
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2181
Author:   robertmh
Date:     2009-05-04 18:40:33 +0000 (Mon, 04 May 2009)
Log Message:
-----------
2009-05-04  Robert Millan  <[email protected]>

        * loader/i386/linux.c (grub_cmd_linux): Make "vga=" compatibility
        parameter only available on BIOS.

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/loader/i386/linux.c

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog	2009-05-04 18:06:37 UTC (rev 2180)
+++ trunk/grub2/ChangeLog	2009-05-04 18:40:33 UTC (rev 2181)
@@ -1,3 +1,8 @@
+2009-05-04  Robert Millan  <[email protected]>
+
+	* loader/i386/linux.c (grub_cmd_linux): Make "vga=" compatibility
+	parameter only available on BIOS.
+
 2009-05-04  Vladimir Serbinenko  <[email protected]>
 
 	Removed wrong semicolon in declaration

Modified: trunk/grub2/loader/i386/linux.c
===================================================================
--- trunk/grub2/loader/i386/linux.c	2009-05-04 18:06:37 UTC (rev 2180)
+++ trunk/grub2/loader/i386/linux.c	2009-05-04 18:40:33 UTC (rev 2181)
@@ -608,6 +608,7 @@
   vid_mode = 0;
   linux_mem_size = 0;
   for (i = 1; i < argc; i++)
+#ifdef GRUB_MACHINE_PCBIOS
     if (grub_memcmp (argv[i], "vga=", 4) == 0)
       {
 	/* Video mode selection support.  */
@@ -649,6 +650,7 @@
 	if (grub_errno)
 	  goto fail;
       }
+#endif /* GRUB_MACHINE_PCBIOS */
     else if (grub_memcmp (argv[i], "mem=", 4) == 0)
       {
 	char *val = argv[i] + 4;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.