Displaying 4 results from an estimated 4 matches for "syslinux_serial_console_info".
Did you mean:
__syslinux_serial_console_info
2015 Aug 02
1
interacting with UART
...nside that. Or you can
write a Lua script to do the same, and then you don't even need to
compile anything.
> So what I'd like to know is, does Syslinux supports UART in COM32
> image?
I think generically it does not. But there's nothing to stop you from
reprogramming the UART syslinux_serial_console_info() points you at. Or
another one.
--
Regards,
Feri.
2015 Aug 01
3
interacting with UART
On Sat, Aug 01, 2015 at 12:58:40PM +0000, Tal Lubko via Syslinux wrote:
> Hi
>
> I would like SYSLINUX to get input from UART and act accordingly.
> For example, I want to choose what rootfs to load according to the sequence received from UART.
> So I'd like to know if SYSLINUX a the infrastructure for doing this
Yes, Syslinux supports serial ports a.k.a. UARTS. Since the very
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
...onfig.h>
#include "file.h"
ssize_t __serial_write(struct file_info *fp, const void *buf, size_t count)
{
- com32sys_t ireg;
const char *bufp = buf;
size_t n = 0;
@@ -49,12 +49,8 @@ ssize_t __serial_write(struct 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/...