search for: write_serial

Displaying 5 results from an estimated 5 matches for "write_serial".

2014 Jun 10
2
Recent (6.02) PXELINUX on Soekris net4501
...set to the appropriate speed while we are at it) * missing stdio initialization: apparently com32 routines make a liberal amount of printf() calls which go nowhere because it seems to me that openconsole is never called (worked around by patching com32/lib/sys/write.c to call write_serial directly if fd==1, crude hack but allows me to use printf() for debugging). But then I'm stuck with the box hanging in pxe_init_isr for no obvious reason. So, question: * is Soekris net4501 + PXELINUX 6.02 a supported combination? * are there known caveats that I have missed? * if t...
2014 Jun 10
0
Recent (6.02) PXELINUX on Soekris net4501
...while > we are at it) > * missing stdio initialization: apparently com32 routines > make a liberal amount of printf() calls which go nowhere > because it seems to me that openconsole is never called > (worked around by patching com32/lib/sys/write.c to > call write_serial directly if fd==1, crude hack but > allows me to use printf() for debugging). > > But then I'm stuck with the box hanging in pxe_init_isr for no obvious > reason. > > So, question: > * is Soekris net4501 + PXELINUX 6.02 a supported combination? > * are there kn...
2012 Apr 17
2
[GIT PULL] elflink warning fixes and auto extension support
...with characters ldlinux: Cast some arguments to avoid compiler warnings ldlinux: Fix number of arguments to start_ldlinux() ldlinux: Add prototype for new_linux_kernel() ldlinux: Fix uninitialized variable warning ldlinux: Use signed char consistently core: Move write_serial() prototype to core.h ldlinux: Include write_serial() prototype meminfo: If we allocate with lmalloc() we should free with lfree() localboot: Include header files for function prototypes init: Fix up compiler warnings hello: Delete unused variable 'console_init'...
2012 Jul 16
5
[PATCH 0/5] Deleting __intcall() from Syslinux
From: Matt Fleming <matt.fleming at intel.com> Since we can't use __intcall() for EFI, and since we can now have the ELF module code resolve all our symbols at runtime, we should delete as many references to __intcall() as possible and just access the symbols directly. The most interesting patch is the support for weak symbols. We need to be able to reference derivative-specific
2012 Aug 14
1
[GIT PULL] elflink fixes
...ruct file_info *fp, const void *buf, size_t count) if (!syslinux_serial_console_info()->iobase) return count; /* Nothing to do */ - memset(&ireg, 0, sizeof ireg); - ireg.eax.b[1] = 0x04; - while (count--) { - ireg.edx.b[0] = *bufp++; - __intcall(0x21, &ireg, NULL); + write_serial(*bufp++); n++; } diff --git a/com32/lib/sys/stdcon_write.c b/com32/lib/sys/stdcon_write.c index 9cb2f7d..9bd225f 100644 --- a/com32/lib/sys/stdcon_write.c +++ b/com32/lib/sys/stdcon_write.c @@ -34,6 +34,7 @@ #include <errno.h> #include <string.h> #include <com32.h> +#i...