Displaying 4 results from an estimated 4 matches for "serial_base".
2016 Oct 09
3
Enumeration of ISA serial ports inconsistent between Linux and Syslinux
...this inconsistency is a real problem, as some motherboards
(like e.g. a Supermicro X10DRi with default BIOS settings) have a
different order stored in BIOS:
---
# hexdump -s 0x400 -n 8 /dev/mem
0000400 02f8 03f8 0000 0000
---
Best regards,
Oliver
--- /syslinux/core/include/bios.h ---
#define SERIAL_BASE 0x0400 /* Base address for 4 serial ports */
...
static inline uint16_t get_serial_port(uint16_t port)
{
/* Magic array in BIOS memory, contains four entries */
const uint16_t * const serial_ports = (const uint16_t *)SERIAL_BASE;
/*
* If port > 3 then the port is s...
2016 Oct 09
0
Enumeration of ISA serial ports inconsistent between Linux and Syslinux
...; e.g. a Supermicro X10DRi with default BIOS settings) have a different order
> stored in BIOS:
>
> ---
> # hexdump -s 0x400 -n 8 /dev/mem
> 0000400 02f8 03f8 0000 0000
> ---
>
>
> Best regards,
>
> Oliver
>
> --- /syslinux/core/include/bios.h ---
> #define SERIAL_BASE 0x0400 /* Base address for 4 serial ports */
> ...
> static inline uint16_t get_serial_port(uint16_t port)
> {
> /* Magic array in BIOS memory, contains four entries */
> const uint16_t * const serial_ports = (const uint16_t *)SERIAL_BASE;
>
> /*
>...
2013 Feb 21
0
[PATCH 1/4] purgatory: put variables altered by kexec in .data not .bss
...t a/purgatory/arch/i386/console-x86.c b/purgatory/arch/i386/console-x86.c
index 9773573..40a734b 100644
--- a/purgatory/arch/i386/console-x86.c
+++ b/purgatory/arch/i386/console-x86.c
@@ -55,9 +55,9 @@ static void putchar_vga(int ch)
*/
/* Base Address */
-uint8_t console_serial = 0;
-uint16_t serial_base = 0x3f8; /* TTYS0 */
-uint32_t serial_baud = 0;
+uint8_t console_serial __data = 0;
+uint16_t serial_base __data = 0x3f8; /* TTYS0 */
+uint32_t serial_baud __data = 0;
#define XMTRDY 0x20
diff --git a/purgatory/arch/i386/crashdump_backup.c b/purgatory/arch/i386/crashdump_backup.c
inde...
2011 May 25
1
[GIT PULL] elflink ldlinux
Hi,
These patches contain support for some features that are already in
Syslinux 4 but weren't working properly on the elflink branch. It's
another step closer to feature parity with Syslinux 4.
Having to jump through the comboot API for localboot support is less
than ideal and I'll eventually fix that, probably when we move a big
chunk of code from asm to C.
Also, there's a