* [PATCH v2] x86/boot: Add ability to call printf in video modes initialization
@ 2015-01-07 13:54 Alexander Kuleshov
2015-01-13 11:22 ` Thomas Gleixner
0 siblings, 1 reply; 2+ messages in thread
From: Alexander Kuleshov @ 2015-01-07 13:54 UTC (permalink / raw)
To: Thomas Gleixner, Ingo Molnar, H. Peter Anvin
Cc: x86, linux-kernel, Alexander Kuleshov
Added ability to call printf in video-mode.c, video-bios.c, video-vesa.c and
video-vga.c for debugging purposes.
Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
---
arch/x86/realmode/rm/Makefile | 3 +++
arch/x86/realmode/rm/printf.c | 1 +
arch/x86/realmode/rm/string.c | 1 +
arch/x86/realmode/rm/tty.c | 1 +
4 files changed, 6 insertions(+)
create mode 100644 arch/x86/realmode/rm/printf.c
create mode 100644 arch/x86/realmode/rm/string.c
create mode 100644 arch/x86/realmode/rm/tty.c
diff --git a/arch/x86/realmode/rm/Makefile b/arch/x86/realmode/rm/Makefile
index 7c0d7be..7354820 100644
--- a/arch/x86/realmode/rm/Makefile
+++ b/arch/x86/realmode/rm/Makefile
@@ -19,6 +19,9 @@ wakeup-objs += video-vga.o
wakeup-objs += video-vesa.o
wakeup-objs += video-bios.o
+realmode-y += string.o
+realmode-y += tty.o
+realmode-y += printf.o
realmode-y += header.o
realmode-y += trampoline_$(BITS).o
realmode-y += stack.o
diff --git a/arch/x86/realmode/rm/printf.c b/arch/x86/realmode/rm/printf.c
new file mode 100644
index 0000000..bae7729
--- /dev/null
+++ b/arch/x86/realmode/rm/printf.c
@@ -0,0 +1 @@
+#include "../../boot/printf.c"
diff --git a/arch/x86/realmode/rm/string.c b/arch/x86/realmode/rm/string.c
new file mode 100644
index 0000000..cbd5413
--- /dev/null
+++ b/arch/x86/realmode/rm/string.c
@@ -0,0 +1 @@
+#include "../../boot/string.c"
diff --git a/arch/x86/realmode/rm/tty.c b/arch/x86/realmode/rm/tty.c
new file mode 100644
index 0000000..d915398
--- /dev/null
+++ b/arch/x86/realmode/rm/tty.c
@@ -0,0 +1 @@
+#include "../../boot/tty.c"
--
2.2.1.212.gc5b9256
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] x86/boot: Add ability to call printf in video modes initialization
2015-01-07 13:54 [PATCH v2] x86/boot: Add ability to call printf in video modes initialization Alexander Kuleshov
@ 2015-01-13 11:22 ` Thomas Gleixner
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Gleixner @ 2015-01-13 11:22 UTC (permalink / raw)
To: Alexander Kuleshov; +Cc: Ingo Molnar, H. Peter Anvin, x86, linux-kernel
On Wed, 7 Jan 2015, Alexander Kuleshov wrote:
> Added ability to call printf in video-mode.c, video-bios.c, video-vesa.c and
> video-vga.c for debugging purposes.
And what's the exact purpose of this change? Increase binary size for
nothing?
Thanks,
tglx
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-01-13 11:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-07 13:54 [PATCH v2] x86/boot: Add ability to call printf in video modes initialization Alexander Kuleshov
2015-01-13 11:22 ` Thomas Gleixner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).