summaryrefslogtreecommitdiff
path: root/core/hello.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2010-05-10 12:45:24 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2010-05-10 12:45:24 -0700
commit8d43bf742fc263177d39a8d408638eed408bc076 (patch)
tree28b270527ea1e1fd462650f9a8a85f0f8c0bf6c2 /core/hello.c
parent4ee08e404e1146e7e9d07f0a16ed9a49d251f8c3 (diff)
downloadsyslinux-8d43bf742fc263177d39a8d408638eed408bc076.tar.gz
core: remove "Hello, World!" debugging message
Remove "Hello, World!" debugging message -- no longer relevant. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'core/hello.c')
-rw-r--r--core/hello.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/core/hello.c b/core/hello.c
deleted file mode 100644
index a1591111..00000000
--- a/core/hello.c
+++ /dev/null
@@ -1,30 +0,0 @@
-#include <stddef.h>
-#include <com32.h>
-#include <stdio.h>
-#include <string.h>
-
-
-void myputchar(int c)
-{
- static com32sys_t ireg;
-
- if (c == '\n')
- myputchar('\r');
-
- ireg.eax.b[1] = 0x02;
- ireg.edx.b[0] = c;
- __intcall(0x21, &ireg, NULL);
-}
-
-void myputs(const char *str)
-{
- while (*str)
- myputchar(*str++);
-}
-
-void hello(void)
-{
- static char hello_str[] = "Hello, World!";
-
- printf("%s from (%s)\n", hello_str, __FILE__); /* testing */
-}