projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
247ccfe
)
vesacon: stub out debugging function
author
H. Peter Anvin
<hpa@zytor.com>
Wed, 13 Sep 2006 00:40:57 +0000
(17:40 -0700)
committer
H. Peter Anvin
<hpa@zytor.com>
Wed, 13 Sep 2006 00:40:57 +0000
(17:40 -0700)
com32/lib/sys/vesa/initvesa.c
patch
|
blob
|
history
diff --git
a/com32/lib/sys/vesa/initvesa.c
b/com32/lib/sys/vesa/initvesa.c
index
b396b53
..
53ab4b7
100644
(file)
--- a/
com32/lib/sys/vesa/initvesa.c
+++ b/
com32/lib/sys/vesa/initvesa.c
@@
-53,8
+53,9
@@
uint32_t __vesacon_background[VIDEO_Y_SIZE][VIDEO_X_SIZE];
ssize_t __serial_write(void *fp, const void *buf, size_t count);
-static void debug(const char *str, ...)
+static
inline
void debug(const char *str, ...)
{
+#if 0
va_list va;
char buf[65536];
size_t len;
@@
-66,7
+67,10
@@
static void debug(const char *str, ...)
if (len >= sizeof buf)
len = sizeof buf - 1;
- //__serial_write(NULL, buf, len);
+ __serial_write(NULL, buf, len);
+#else
+ (void)str;
+#endif
}
static void unpack_font(uint8_t *dst, uint8_t *src, int height)