[syslinux] The simple menu system doesn't work with serial console
H. Peter Anvin
hpa at zytor.com
Wed Nov 1 15:15:14 PST 2006
Geert Stappers wrote:
>
> As unified diff
>
> --- a/com32/lib/sys/xserial_write.c
> +++ b/com32/lib/sys/xserial_write.c
> @@ -43,7 +43,8 @@ static void emit(char ch)
> {
> static com32sys_t ireg; /* Zeroed with the BSS */
>
> - ireg.eax.w[0] = 0x0400 | (unsigned char)ch;
> + ireg.eax.b[1] = 0x04;
> + ireg.edx.b[0] = ch;
>
> __intcall(0x21, &ireg, NULL);
> }
>
>
> As I see that, it will work on _all_ compilers.
>
>> Oops, not 0.2x, 0.3x and 0.4x, but 3.2x, 3.3x, 3.4x.
>
> Please reply below the text.
> (mind the readers of the archive)
>
Already merged in 3.32-pre5.
-hpa
More information about the Syslinux
mailing list