mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-25 08:39:28 +00:00
add console emulation into serial terminal support using vt100-compatible escape sequences, add --enable-serial into configure, and fix some bugs in the support.
This commit is contained in:
1 parent
7d54a86a52
commit
2455b65f2e
16 files changed
+485
-144
No files matched your search
+3
-3
@@ -1,9 +1,9 @@
|
||||
sbin_PROGRAMS = grub
|
||||
|
||||
AM_CFLAGS = $(GRUB_CFLAGS) -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 \
|
||||
-DFSYS_FFS=1 -DFSYS_MINIX=1 -fwritable-strings \
|
||||
-I$(top_srcdir)/stage2 -I$(top_srcdir)/stage1 \
|
||||
-I$(top_srcdir)/lib
|
||||
-DFSYS_FFS=1 -DFSYS_MINIX=1 -DSUPPORT_SERIAL=1 \
|
||||
-fwritable-strings -I$(top_srcdir)/stage2 \
|
||||
-I$(top_srcdir)/stage1 -I$(top_srcdir)/lib
|
||||
|
||||
grub_SOURCES = main.c asmstub.c
|
||||
grub_LDADD = ../stage2/libgrub.a ../lib/libcommon.a $(GRUB_LIBS)
|
||||
+3
-3
@@ -90,9 +90,9 @@ install_sh = @install_sh@
|
||||
sbin_PROGRAMS = grub
|
||||
|
||||
AM_CFLAGS = $(GRUB_CFLAGS) -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 \
|
||||
-DFSYS_FFS=1 -DFSYS_MINIX=1 -fwritable-strings \
|
||||
-I$(top_srcdir)/stage2 -I$(top_srcdir)/stage1 \
|
||||
-I$(top_srcdir)/lib
|
||||
-DFSYS_FFS=1 -DFSYS_MINIX=1 -DSUPPORT_SERIAL=1 \
|
||||
-fwritable-strings -I$(top_srcdir)/stage2 \
|
||||
-I$(top_srcdir)/stage1 -I$(top_srcdir)/lib
|
||||
|
||||
|
||||
grub_SOURCES = main.c asmstub.c
|
||||
|
||||
+3
-3
@@ -430,7 +430,7 @@ getrtsecs (void)
|
||||
|
||||
/* low-level character I/O */
|
||||
void
|
||||
cls (void)
|
||||
console_cls (void)
|
||||
{
|
||||
#ifdef HAVE_LIBCURSES
|
||||
if (use_curses)
|
||||
@@ -441,7 +441,7 @@ cls (void)
|
||||
|
||||
/* returns packed values, LSB+1 is x, LSB is y */
|
||||
int
|
||||
getxy (void)
|
||||
console_getxy (void)
|
||||
{
|
||||
int y, x;
|
||||
#ifdef HAVE_LIBCURSES
|
||||
@@ -455,7 +455,7 @@ getxy (void)
|
||||
|
||||
|
||||
void
|
||||
gotoxy (int x, int y)
|
||||
console_gotoxy (int x, int y)
|
||||
{
|
||||
#ifdef HAVE_LIBCURSES
|
||||
if (use_curses)
|
||||
|
||||
Reference in new issue
Block a user