|
|
f96e0b |
From a7fa3c8e8c7b2dab5a704493b7965bbc60f84bed Mon Sep 17 00:00:00 2001
|
|
|
f96e0b |
From: Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>
|
|
|
f96e0b |
Date: Sun, 22 Jul 2012 16:21:24 +0200
|
|
|
f96e0b |
Subject: [PATCH 011/482] Fix coreboot compilation.
|
|
|
f96e0b |
|
|
|
f96e0b |
* grub-core/term/i386/pc/vga_text.c (grub_vga_text_init): Rename to ...
|
|
|
f96e0b |
(grub_vga_text_init_real): ... this.
|
|
|
f96e0b |
(grub_vga_text_fini): Rename to ...
|
|
|
f96e0b |
(grub_vga_text_fini_real): ... this.
|
|
|
f96e0b |
---
|
|
|
f96e0b |
ChangeLog | 9 +++++++++
|
|
|
f96e0b |
grub-core/term/i386/pc/vga_text.c | 8 ++++----
|
|
|
f96e0b |
2 files changed, 13 insertions(+), 4 deletions(-)
|
|
|
f96e0b |
|
|
|
f96e0b |
diff --git a/ChangeLog b/ChangeLog
|
|
|
f96e0b |
index 5e54eda..35e76af 100644
|
|
|
f96e0b |
--- a/ChangeLog
|
|
|
f96e0b |
+++ b/ChangeLog
|
|
|
f96e0b |
@@ -1,3 +1,12 @@
|
|
|
f96e0b |
+2012-07-22 Vladimir Serbinenko <phcoder@gmail.com>
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+ Fix coreboot compilation.
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+ * grub-core/term/i386/pc/vga_text.c (grub_vga_text_init): Rename to ...
|
|
|
f96e0b |
+ (grub_vga_text_init_real): ... this.
|
|
|
f96e0b |
+ (grub_vga_text_fini): Rename to ...
|
|
|
f96e0b |
+ (grub_vga_text_fini_real): ... this.
|
|
|
f96e0b |
+
|
|
|
f96e0b |
2012-07-07 Vladimir Serbinenko <phcoder@gmail.com>
|
|
|
f96e0b |
|
|
|
f96e0b |
* grub-core/Makefile.am: Fix path to boot/i386/pc/startup_raw.S.
|
|
|
f96e0b |
diff --git a/grub-core/term/i386/pc/vga_text.c b/grub-core/term/i386/pc/vga_text.c
|
|
|
f96e0b |
index d1e4ef9..74c155c 100644
|
|
|
f96e0b |
--- a/grub-core/term/i386/pc/vga_text.c
|
|
|
f96e0b |
+++ b/grub-core/term/i386/pc/vga_text.c
|
|
|
f96e0b |
@@ -167,7 +167,7 @@ grub_vga_text_setcursor (struct grub_term_output *term __attribute__ ((unused)),
|
|
|
f96e0b |
}
|
|
|
f96e0b |
|
|
|
f96e0b |
static grub_err_t
|
|
|
f96e0b |
-grub_vga_text_init (struct grub_term_output *term)
|
|
|
f96e0b |
+grub_vga_text_init_real (struct grub_term_output *term)
|
|
|
f96e0b |
{
|
|
|
f96e0b |
#ifdef MODESET
|
|
|
f96e0b |
struct grub_bios_int_registers regs;
|
|
|
f96e0b |
@@ -186,7 +186,7 @@ grub_vga_text_init (struct grub_term_output *term)
|
|
|
f96e0b |
}
|
|
|
f96e0b |
|
|
|
f96e0b |
static grub_err_t
|
|
|
f96e0b |
-grub_vga_text_fini (struct grub_term_output *term)
|
|
|
f96e0b |
+grub_vga_text_fini_real (struct grub_term_output *term)
|
|
|
f96e0b |
{
|
|
|
f96e0b |
#ifdef MODESET
|
|
|
f96e0b |
struct grub_bios_int_registers regs;
|
|
|
f96e0b |
@@ -255,8 +255,8 @@ static struct grub_term_output grub_vga_text_term =
|
|
|
f96e0b |
#else
|
|
|
f96e0b |
.name = "vga_text",
|
|
|
f96e0b |
#endif
|
|
|
f96e0b |
- .init = grub_vga_text_init,
|
|
|
f96e0b |
- .fini = grub_vga_text_fini,
|
|
|
f96e0b |
+ .init = grub_vga_text_init_real,
|
|
|
f96e0b |
+ .fini = grub_vga_text_fini_real,
|
|
|
f96e0b |
.putchar = grub_vga_text_putchar,
|
|
|
f96e0b |
.getwh = grub_vga_text_getwh,
|
|
|
f96e0b |
.getxy = grub_vga_text_getxy,
|
|
|
f96e0b |
--
|
|
|
f96e0b |
1.8.2.1
|
|
|
f96e0b |
|