platform/upstream/syslinux.git
15 years agoRun Nindent on com32/include/sys/elf32.h
H. Peter Anvin [Fri, 29 May 2009 22:10:22 +0000 (15:10 -0700)]
Run Nindent on com32/include/sys/elf32.h

Automatically reformat com32/include/sys/elf32.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/include/sys/cpu.h
H. Peter Anvin [Fri, 29 May 2009 22:10:22 +0000 (15:10 -0700)]
Run Nindent on com32/include/sys/cpu.h

Automatically reformat com32/include/sys/cpu.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/include/stdlib.h
H. Peter Anvin [Fri, 29 May 2009 22:10:22 +0000 (15:10 -0700)]
Run Nindent on com32/include/stdlib.h

Automatically reformat com32/include/stdlib.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/include/stdio.h
H. Peter Anvin [Fri, 29 May 2009 22:10:22 +0000 (15:10 -0700)]
Run Nindent on com32/include/stdio.h

Automatically reformat com32/include/stdio.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/include/stdint.h
H. Peter Anvin [Fri, 29 May 2009 22:10:22 +0000 (15:10 -0700)]
Run Nindent on com32/include/stdint.h

Automatically reformat com32/include/stdint.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/include/stdbool.h
H. Peter Anvin [Fri, 29 May 2009 22:10:22 +0000 (15:10 -0700)]
Run Nindent on com32/include/stdbool.h

Automatically reformat com32/include/stdbool.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/include/pngconf.h
H. Peter Anvin [Fri, 29 May 2009 22:10:22 +0000 (15:10 -0700)]
Run Nindent on com32/include/pngconf.h

Automatically reformat com32/include/pngconf.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/include/png.h
H. Peter Anvin [Fri, 29 May 2009 22:10:22 +0000 (15:10 -0700)]
Run Nindent on com32/include/png.h

Automatically reformat com32/include/png.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/include/netinet/in.h
H. Peter Anvin [Fri, 29 May 2009 22:10:22 +0000 (15:10 -0700)]
Run Nindent on com32/include/netinet/in.h

Automatically reformat com32/include/netinet/in.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/include/klibc/endian.h
H. Peter Anvin [Fri, 29 May 2009 22:10:22 +0000 (15:10 -0700)]
Run Nindent on com32/include/klibc/endian.h

Automatically reformat com32/include/klibc/endian.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/include/klibc/diverr.h
H. Peter Anvin [Fri, 29 May 2009 22:10:22 +0000 (15:10 -0700)]
Run Nindent on com32/include/klibc/diverr.h

Automatically reformat com32/include/klibc/diverr.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/include/klibc/archsetjmp.h
H. Peter Anvin [Fri, 29 May 2009 22:10:22 +0000 (15:10 -0700)]
Run Nindent on com32/include/klibc/archsetjmp.h

Automatically reformat com32/include/klibc/archsetjmp.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/include/inttypes.h
H. Peter Anvin [Fri, 29 May 2009 22:10:22 +0000 (15:10 -0700)]
Run Nindent on com32/include/inttypes.h

Automatically reformat com32/include/inttypes.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/include/endian.h
H. Peter Anvin [Fri, 29 May 2009 22:10:22 +0000 (15:10 -0700)]
Run Nindent on com32/include/endian.h

Automatically reformat com32/include/endian.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/include/elf.h
H. Peter Anvin [Fri, 29 May 2009 22:10:22 +0000 (15:10 -0700)]
Run Nindent on com32/include/elf.h

Automatically reformat com32/include/elf.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/include/dirent.h
H. Peter Anvin [Fri, 29 May 2009 22:10:22 +0000 (15:10 -0700)]
Run Nindent on com32/include/dirent.h

Automatically reformat com32/include/dirent.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/include/dev.h
H. Peter Anvin [Fri, 29 May 2009 22:10:22 +0000 (15:10 -0700)]
Run Nindent on com32/include/dev.h

Automatically reformat com32/include/dev.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/include/ctype.h
H. Peter Anvin [Fri, 29 May 2009 22:10:22 +0000 (15:10 -0700)]
Run Nindent on com32/include/ctype.h

Automatically reformat com32/include/ctype.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/include/cpufeature.h
H. Peter Anvin [Fri, 29 May 2009 22:10:22 +0000 (15:10 -0700)]
Run Nindent on com32/include/cpufeature.h

Automatically reformat com32/include/cpufeature.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/include/console.h
H. Peter Anvin [Fri, 29 May 2009 22:10:21 +0000 (15:10 -0700)]
Run Nindent on com32/include/console.h

Automatically reformat com32/include/console.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/include/com32.h
H. Peter Anvin [Fri, 29 May 2009 22:10:21 +0000 (15:10 -0700)]
Run Nindent on com32/include/com32.h

Automatically reformat com32/include/com32.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/include/colortbl.h
H. Peter Anvin [Fri, 29 May 2009 22:10:21 +0000 (15:10 -0700)]
Run Nindent on com32/include/colortbl.h

Automatically reformat com32/include/colortbl.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/include/bitsize/stdint.h
H. Peter Anvin [Fri, 29 May 2009 22:10:21 +0000 (15:10 -0700)]
Run Nindent on com32/include/bitsize/stdint.h

Automatically reformat com32/include/bitsize/stdint.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/include/bitsize/stddef.h
H. Peter Anvin [Fri, 29 May 2009 22:10:21 +0000 (15:10 -0700)]
Run Nindent on com32/include/bitsize/stddef.h

Automatically reformat com32/include/bitsize/stddef.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/include/alloca.h
H. Peter Anvin [Fri, 29 May 2009 22:10:21 +0000 (15:10 -0700)]
Run Nindent on com32/include/alloca.h

Automatically reformat com32/include/alloca.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/gpllib/vpd/vpd.c
H. Peter Anvin [Fri, 29 May 2009 22:10:21 +0000 (15:10 -0700)]
Run Nindent on com32/gpllib/vpd/vpd.c

Automatically reformat com32/gpllib/vpd/vpd.c using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/gpllib/dmi/dmi_processor.c
H. Peter Anvin [Fri, 29 May 2009 22:10:21 +0000 (15:10 -0700)]
Run Nindent on com32/gpllib/dmi/dmi_processor.c

Automatically reformat com32/gpllib/dmi/dmi_processor.c using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/gpllib/dmi/dmi_memory.c
H. Peter Anvin [Fri, 29 May 2009 22:10:21 +0000 (15:10 -0700)]
Run Nindent on com32/gpllib/dmi/dmi_memory.c

Automatically reformat com32/gpllib/dmi/dmi_memory.c using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/gpllib/dmi/dmi_ipmi.c
H. Peter Anvin [Fri, 29 May 2009 22:10:21 +0000 (15:10 -0700)]
Run Nindent on com32/gpllib/dmi/dmi_ipmi.c

Automatically reformat com32/gpllib/dmi/dmi_ipmi.c using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/gpllib/dmi/dmi_chassis.c
H. Peter Anvin [Fri, 29 May 2009 22:10:21 +0000 (15:10 -0700)]
Run Nindent on com32/gpllib/dmi/dmi_chassis.c

Automatically reformat com32/gpllib/dmi/dmi_chassis.c using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/gpllib/dmi/dmi_bios.c
H. Peter Anvin [Fri, 29 May 2009 22:10:21 +0000 (15:10 -0700)]
Run Nindent on com32/gpllib/dmi/dmi_bios.c

Automatically reformat com32/gpllib/dmi/dmi_bios.c using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/gpllib/dmi/dmi_battery.c
H. Peter Anvin [Fri, 29 May 2009 22:10:21 +0000 (15:10 -0700)]
Run Nindent on com32/gpllib/dmi/dmi_battery.c

Automatically reformat com32/gpllib/dmi/dmi_battery.c using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/gpllib/dmi/dmi_base_board.c
H. Peter Anvin [Fri, 29 May 2009 22:10:21 +0000 (15:10 -0700)]
Run Nindent on com32/gpllib/dmi/dmi_base_board.c

Automatically reformat com32/gpllib/dmi/dmi_base_board.c using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/gpllib/dmi/dmi.c
H. Peter Anvin [Fri, 29 May 2009 22:10:21 +0000 (15:10 -0700)]
Run Nindent on com32/gpllib/dmi/dmi.c

Automatically reformat com32/gpllib/dmi/dmi.c using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/gpllib/cpuid.c
H. Peter Anvin [Fri, 29 May 2009 22:10:21 +0000 (15:10 -0700)]
Run Nindent on com32/gpllib/cpuid.c

Automatically reformat com32/gpllib/cpuid.c using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/gplinclude/vpd/vpd.h
H. Peter Anvin [Fri, 29 May 2009 22:10:21 +0000 (15:10 -0700)]
Run Nindent on com32/gplinclude/vpd/vpd.h

Automatically reformat com32/gplinclude/vpd/vpd.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/gplinclude/dmi/dmi_system.h
H. Peter Anvin [Fri, 29 May 2009 22:10:21 +0000 (15:10 -0700)]
Run Nindent on com32/gplinclude/dmi/dmi_system.h

Automatically reformat com32/gplinclude/dmi/dmi_system.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/gplinclude/dmi/dmi_processor.h
H. Peter Anvin [Fri, 29 May 2009 22:10:21 +0000 (15:10 -0700)]
Run Nindent on com32/gplinclude/dmi/dmi_processor.h

Automatically reformat com32/gplinclude/dmi/dmi_processor.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/gplinclude/dmi/dmi_memory.h
H. Peter Anvin [Fri, 29 May 2009 22:10:21 +0000 (15:10 -0700)]
Run Nindent on com32/gplinclude/dmi/dmi_memory.h

Automatically reformat com32/gplinclude/dmi/dmi_memory.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/gplinclude/dmi/dmi_ipmi.h
H. Peter Anvin [Fri, 29 May 2009 22:10:21 +0000 (15:10 -0700)]
Run Nindent on com32/gplinclude/dmi/dmi_ipmi.h

Automatically reformat com32/gplinclude/dmi/dmi_ipmi.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/gplinclude/dmi/dmi_chassis.h
H. Peter Anvin [Fri, 29 May 2009 22:10:21 +0000 (15:10 -0700)]
Run Nindent on com32/gplinclude/dmi/dmi_chassis.h

Automatically reformat com32/gplinclude/dmi/dmi_chassis.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/gplinclude/dmi/dmi_bios.h
H. Peter Anvin [Fri, 29 May 2009 22:10:21 +0000 (15:10 -0700)]
Run Nindent on com32/gplinclude/dmi/dmi_bios.h

Automatically reformat com32/gplinclude/dmi/dmi_bios.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/gplinclude/dmi/dmi_battery.h
H. Peter Anvin [Fri, 29 May 2009 22:10:21 +0000 (15:10 -0700)]
Run Nindent on com32/gplinclude/dmi/dmi_battery.h

Automatically reformat com32/gplinclude/dmi/dmi_battery.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/gplinclude/dmi/dmi_base_board.h
H. Peter Anvin [Fri, 29 May 2009 22:10:21 +0000 (15:10 -0700)]
Run Nindent on com32/gplinclude/dmi/dmi_base_board.h

Automatically reformat com32/gplinclude/dmi/dmi_base_board.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/gplinclude/dmi/dmi.h
H. Peter Anvin [Fri, 29 May 2009 22:10:21 +0000 (15:10 -0700)]
Run Nindent on com32/gplinclude/dmi/dmi.h

Automatically reformat com32/gplinclude/dmi/dmi.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/gplinclude/cpuid.h
H. Peter Anvin [Fri, 29 May 2009 22:10:21 +0000 (15:10 -0700)]
Run Nindent on com32/gplinclude/cpuid.h

Automatically reformat com32/gplinclude/cpuid.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/gdbstub/serial.h
H. Peter Anvin [Fri, 29 May 2009 22:10:21 +0000 (15:10 -0700)]
Run Nindent on com32/gdbstub/serial.h

Automatically reformat com32/gdbstub/serial.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/gdbstub/serial.c
H. Peter Anvin [Fri, 29 May 2009 22:10:21 +0000 (15:10 -0700)]
Run Nindent on com32/gdbstub/serial.c

Automatically reformat com32/gdbstub/serial.c using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/gdbstub/main.c
H. Peter Anvin [Fri, 29 May 2009 22:10:20 +0000 (15:10 -0700)]
Run Nindent on com32/gdbstub/main.c

Automatically reformat com32/gdbstub/main.c using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/gdbstub/gdbstub.c
H. Peter Anvin [Fri, 29 May 2009 22:10:20 +0000 (15:10 -0700)]
Run Nindent on com32/gdbstub/gdbstub.c

Automatically reformat com32/gdbstub/gdbstub.c using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/cmenu/simple.c
H. Peter Anvin [Fri, 29 May 2009 22:10:20 +0000 (15:10 -0700)]
Run Nindent on com32/cmenu/simple.c

Automatically reformat com32/cmenu/simple.c using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/cmenu/libmenu/tui.h
H. Peter Anvin [Fri, 29 May 2009 22:10:20 +0000 (15:10 -0700)]
Run Nindent on com32/cmenu/libmenu/tui.h

Automatically reformat com32/cmenu/libmenu/tui.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/cmenu/libmenu/tui.c
H. Peter Anvin [Fri, 29 May 2009 22:10:20 +0000 (15:10 -0700)]
Run Nindent on com32/cmenu/libmenu/tui.c

Automatically reformat com32/cmenu/libmenu/tui.c using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/cmenu/libmenu/syslnx.h
H. Peter Anvin [Fri, 29 May 2009 22:10:20 +0000 (15:10 -0700)]
Run Nindent on com32/cmenu/libmenu/syslnx.h

Automatically reformat com32/cmenu/libmenu/syslnx.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/cmenu/libmenu/syslnx.c
H. Peter Anvin [Fri, 29 May 2009 22:10:20 +0000 (15:10 -0700)]
Run Nindent on com32/cmenu/libmenu/syslnx.c

Automatically reformat com32/cmenu/libmenu/syslnx.c using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/cmenu/libmenu/scancodes.h
H. Peter Anvin [Fri, 29 May 2009 22:10:20 +0000 (15:10 -0700)]
Run Nindent on com32/cmenu/libmenu/scancodes.h

Automatically reformat com32/cmenu/libmenu/scancodes.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/cmenu/libmenu/passwords.h
H. Peter Anvin [Fri, 29 May 2009 22:10:20 +0000 (15:10 -0700)]
Run Nindent on com32/cmenu/libmenu/passwords.h

Automatically reformat com32/cmenu/libmenu/passwords.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/cmenu/libmenu/passwords.c
H. Peter Anvin [Fri, 29 May 2009 22:10:20 +0000 (15:10 -0700)]
Run Nindent on com32/cmenu/libmenu/passwords.c

Automatically reformat com32/cmenu/libmenu/passwords.c using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/cmenu/libmenu/menu.h
H. Peter Anvin [Fri, 29 May 2009 22:10:20 +0000 (15:10 -0700)]
Run Nindent on com32/cmenu/libmenu/menu.h

Automatically reformat com32/cmenu/libmenu/menu.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/cmenu/libmenu/menu.c
H. Peter Anvin [Fri, 29 May 2009 22:10:20 +0000 (15:10 -0700)]
Run Nindent on com32/cmenu/libmenu/menu.c

Automatically reformat com32/cmenu/libmenu/menu.c using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/cmenu/libmenu/help.h
H. Peter Anvin [Fri, 29 May 2009 22:10:20 +0000 (15:10 -0700)]
Run Nindent on com32/cmenu/libmenu/help.h

Automatically reformat com32/cmenu/libmenu/help.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/cmenu/libmenu/help.c
H. Peter Anvin [Fri, 29 May 2009 22:10:20 +0000 (15:10 -0700)]
Run Nindent on com32/cmenu/libmenu/help.c

Automatically reformat com32/cmenu/libmenu/help.c using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/cmenu/libmenu/des.h
H. Peter Anvin [Fri, 29 May 2009 22:10:20 +0000 (15:10 -0700)]
Run Nindent on com32/cmenu/libmenu/des.h

Automatically reformat com32/cmenu/libmenu/des.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/cmenu/libmenu/des.c
H. Peter Anvin [Fri, 29 May 2009 22:10:20 +0000 (15:10 -0700)]
Run Nindent on com32/cmenu/libmenu/des.c

Automatically reformat com32/cmenu/libmenu/des.c using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/cmenu/libmenu/com32io.h
H. Peter Anvin [Fri, 29 May 2009 22:10:20 +0000 (15:10 -0700)]
Run Nindent on com32/cmenu/libmenu/com32io.h

Automatically reformat com32/cmenu/libmenu/com32io.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/cmenu/libmenu/com32io.c
H. Peter Anvin [Fri, 29 May 2009 22:10:20 +0000 (15:10 -0700)]
Run Nindent on com32/cmenu/libmenu/com32io.c

Automatically reformat com32/cmenu/libmenu/com32io.c using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/cmenu/display.c
H. Peter Anvin [Fri, 29 May 2009 22:10:20 +0000 (15:10 -0700)]
Run Nindent on com32/cmenu/display.c

Automatically reformat com32/cmenu/display.c using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoRun Nindent on com32/cmenu/complex.c
H. Peter Anvin [Fri, 29 May 2009 22:10:20 +0000 (15:10 -0700)]
Run Nindent on com32/cmenu/complex.c

Automatically reformat com32/cmenu/complex.c using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoMerge branch 'for-3.81'
H. Peter Anvin [Fri, 29 May 2009 06:42:49 +0000 (23:42 -0700)]
Merge branch 'for-3.81'

15 years agoisohybrid: make isolinux.bin and isohybrid two-way compatible syslinux-3.81 syslinux-3.81-pre16
H. Peter Anvin [Wed, 27 May 2009 03:29:31 +0000 (20:29 -0700)]
isohybrid: make isolinux.bin and isohybrid two-way compatible

It turns out we *can* determine if we have the extra partition offset
information after all, by looking at the value of the stack pointer.
This depends on the internals of the old isohdpfx code, but that's
really all we need to worry about.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoMerge branch 'for-3.81'
H. Peter Anvin [Tue, 26 May 2009 16:20:05 +0000 (09:20 -0700)]
Merge branch 'for-3.81'

15 years agoisohdpfx: don't clear %ds before parsing partiting info syslinux-3.81-pre15
H. Peter Anvin [Tue, 26 May 2009 16:14:41 +0000 (09:14 -0700)]
isohdpfx: don't clear %ds before parsing partiting info

The partition information is pointed to by ds:si; although ds
will *usually* be 0 it isn't guaranteed (in particular, it may
very well be 0x40 or 0x60); therefore, move the partition parsing
up before the reset of %ds and %es.  As a side benefit, we get
to use push again...

Also, fix the ordering of the two halves of the GPT LBA!

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agodoc: add the Linux kernel coding style document
H. Peter Anvin [Tue, 26 May 2009 04:45:53 +0000 (21:45 -0700)]
doc: add the Linux kernel coding style document

We expect to use Linux kernel coding style, minus the indentation
level.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoNindent: indent script from the NASM project
H. Peter Anvin [Tue, 26 May 2009 04:41:43 +0000 (21:41 -0700)]
Nindent: indent script from the NASM project

Add an indentation script from the NASM project.  This is expected to
be the Syslinux coding style for the future.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoisohybrid: we are backwards compatible again, change the error msg
H. Peter Anvin [Tue, 26 May 2009 04:04:09 +0000 (21:04 -0700)]
isohybrid: we are backwards compatible again, change the error msg

We are backwards compatible again, at least as long as -partok is not
used.  However, there is no minor version number, so we can't check
for that at this time.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoaltmbr: cap at 439 bytes so the partition select byte follows
H. Peter Anvin [Tue, 26 May 2009 02:13:04 +0000 (19:13 -0700)]
altmbr: cap at 439 bytes so the partition select byte follows

Cap altmbr at 439 bytes, so that the partition select byte is not part
of the file.  This means that:

a) updating the altmbr doesn't clobber the configuration;
b) it is easier to simply concatenate the select byte to the file.

This also matches gptmbr behavior.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoisohybrid: revert to a stack format compatible with previous version syslinux-3.81-pre14
H. Peter Anvin [Tue, 26 May 2009 00:48:58 +0000 (17:48 -0700)]
isohybrid: revert to a stack format compatible with previous version

Revert the isohybrid handover protocol so that it has a stack format
compatible with the previous versions; that way we can also revert the
magic number to a compatible one.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agocom32: add dependency on com32.ld -> *.elf syslinux-3.81-pre13
H. Peter Anvin [Mon, 25 May 2009 22:43:10 +0000 (15:43 -0700)]
com32: add dependency on com32.ld -> *.elf

All the *.elf files depend on com32.ld, so make that explicit.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoNEWS: document altmbr fix
H. Peter Anvin [Mon, 25 May 2009 22:42:57 +0000 (15:42 -0700)]
NEWS: document altmbr fix

15 years agoaltmbr: fix accounting of logical partitions
H. Peter Anvin [Mon, 25 May 2009 22:37:28 +0000 (15:37 -0700)]
altmbr: fix accounting of logical partitions

Unlike the main MBR, we need to keep careful count when we process
logical partitions... and we weren't.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoDon't set the autocr flag on the serial console; clean up crap syslinux-3.81-pre12
H. Peter Anvin [Sun, 24 May 2009 02:33:36 +0000 (19:33 -0700)]
Don't set the autocr flag on the serial console; clean up crap

libutil would set the autocr flag on the serial console, which really
never was any point -- we already do \n -> \r\n conversion explicitly
in the serial code.  This was always very annoying to deal with if the
menu was interrupted.

Furthermore, drop completely unnecessary
initialization/deinitialization routines that completely duplicated
other code.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agocore: don't flush the serial port queue for a serial command
H. Peter Anvin [Sun, 24 May 2009 02:20:01 +0000 (19:20 -0700)]
core: don't flush the serial port queue for a serial command

Don't flush the serial port queue when encountering a "serial"
command.  We don't actually want to lose data due to a repeated
"serial", since it's quite likely it's exactly the same as before.

Do flush the queue on hardware cleanup, however.

Also fix some minor bugs, including a bunch of code in the .data
segment.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agocore: add file missing from previous checkin (serirq.inc) syslinux-3.81-pre11
H. Peter Anvin [Sun, 24 May 2009 00:40:17 +0000 (17:40 -0700)]
core: add file missing from previous checkin (serirq.inc)

Add the file serirq.inc missing from previous checkin.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agocore: remove obsolete comment
H. Peter Anvin [Sun, 24 May 2009 00:39:12 +0000 (17:39 -0700)]
core: remove obsolete comment

Remove comment about flipping A20 for each 64K block copied.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agocore: add a proper interrupt handler for the serial console
H. Peter Anvin [Sun, 24 May 2009 00:37:18 +0000 (17:37 -0700)]
core: add a proper interrupt handler for the serial console

If we enable interrupts for the serial console, add a proper interrupt
handler.  Since we don't know what vector we'll end up using, or if we
are shared with other devices, simply hook *all* the interrupts and
poll the serial port then.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoidle: set NoHalt back to 0 as it should be syslinux-3.81-pre10
H. Peter Anvin [Thu, 21 May 2009 23:15:42 +0000 (16:15 -0700)]
idle: set NoHalt back to 0 as it should be

NoHalt was set to 1 temporarily for debugging; return it to 0.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoisohybrid: add missing isohdppx.S file
H. Peter Anvin [Thu, 21 May 2009 23:07:44 +0000 (16:07 -0700)]
isohybrid: add missing isohdppx.S file

Add a file missing from previous checkin
e462c28ffaca0132c1761736bc93cb06a41dc7a6.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoDrop support for ACPI 3 E820 extended memory attributes
H. Peter Anvin [Thu, 21 May 2009 23:03:15 +0000 (16:03 -0700)]
Drop support for ACPI 3 E820 extended memory attributes

Drop all support for ACPI 3 E820 extended memory attributes.  There
are BIOSes in the field that report completely bogus information here,
resulting in no memory at all being detected (we then fall back to
E801 detection, but that is problematic in its own ways.)

There is strong reasons to believe at this point that the extended
memory attributes are not usable in their current form, so drop them
and revert back to simple 20-byte support, including for MEMDISK
spoofing.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoNEWS: update isohybrid changes
H. Peter Anvin [Thu, 21 May 2009 22:39:22 +0000 (15:39 -0700)]
NEWS: update isohybrid changes

15 years agoisohybrid: support booting from partition; fix CBIOS booting
H. Peter Anvin [Thu, 21 May 2009 22:36:50 +0000 (15:36 -0700)]
isohybrid: support booting from partition; fix CBIOS booting

Fix CBIOS in isohybrid mode.  Also allow an isohybrid image to be
booted from a partition.  Unfortunately this breaks compatibility
between differing versions of isohybrid and isolinux.bin.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoisohybrid: allow selecting the _c and _f versions of the prefix
H. Peter Anvin [Thu, 21 May 2009 20:34:12 +0000 (13:34 -0700)]
isohybrid: allow selecting the _c and _f versions of the prefix

Allow selecting the _f or _c versions of the prefix in addition to the
default one.  This is specified with the -forcehd0 or -ctrlhd0
options.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoidle: handle PXE stacks which improperly disable interrupts syslinux-3.81-pre9
H. Peter Anvin [Thu, 21 May 2009 17:25:43 +0000 (10:25 -0700)]
idle: handle PXE stacks which improperly disable interrupts

At least Etherboot (and all-but-super-recent versions of gPXE) PXE
ROMs improperly disable interrupts when calling an intercepted version
of INT 15h and 1Ah; this is due to the old trick of using "ret 2" to
return... this avoids resetting the flags for status, but it also
doesn't restore the value of the interrupt flag.  Needless to say,
this causes serious issues.

Work around it by adding explicit pushf/popf or STI in places known to
have issues, but also add an STI in reset_idle, and add an error alert
in do_idle if we ever get called with interrupts disabled.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agochain.c32: remove clobber of drivename/partition
H. Peter Anvin [Thu, 21 May 2009 14:22:53 +0000 (07:22 -0700)]
chain.c32: remove clobber of drivename/partition

Remove a clobber of drivename and partition, after we have spent time
computing what the should have been...

Reported-by: Luciano Miguel Ferreira Rocha <strange@nsk.no-ip.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoisohybrid: add options, change default ptype to 0x17 syslinux-3.81-pre8
H. Peter Anvin [Thu, 21 May 2009 02:06:42 +0000 (19:06 -0700)]
isohybrid: add options, change default ptype to 0x17

Add support for setting a variety of options in isohybrid.  Also
change the default partition type to 0x17, "Windows hidden IFS", as
that seems to make Windows less unhappy.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoNEWS: add note about linux.c32 having a quiet command
H. Peter Anvin [Wed, 20 May 2009 22:56:02 +0000 (15:56 -0700)]
NEWS: add note about linux.c32 having a quiet command

15 years agomeminfo: distinguish between no flags and flags=1 syslinux-3.81-pre7
H. Peter Anvin [Wed, 20 May 2009 22:49:36 +0000 (15:49 -0700)]
meminfo: distinguish between no flags and flags=1

For debugging reasons it's important to know if we have no flags at
all or if we get flags = 1.  Print [-] in the case of no flags at all.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoDon't run to comboot API with interrupts off syslinux-3.81-pre6
H. Peter Anvin [Mon, 18 May 2009 23:29:30 +0000 (16:29 -0700)]
Don't run to comboot API with interrupts off

We have historically run the comboot API with interrupts off due to
concerns about stack overflow.  However, this is a really bad idea: we
can easily spend a fair bit of time servicing one of these routines,
especially when doing things like waiting for I/O.

In particular, do_idle should *never* be run with interrupts disabled.

Switch to running with interrupts enabled everywhere unless we have
specific reasons not to do so.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agocore/conio.inc: when reading the serial port, drop read of IIR syslinux-3.81-pre5
H. Peter Anvin [Mon, 18 May 2009 21:57:37 +0000 (14:57 -0700)]
core/conio.inc: when reading the serial port, drop read of IIR

Drop the read of the IIR when reading the serial port.  First of all,
we weren't protecting AL so we clobbered the actual data; second of
all, this isn't actually necessary as reading RDR will clear the
interrupt condition per the UART spec.

It's worth noting that enabling interrupts here will do bad things if
the interrupts aren't edge-triggered (since we don't actually have an
interrupt routine to clear the interrupt condition); this also means
bad things will happen if the interrupt line is shared.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agocore/pxeidle.inc: fix pops with no matching push
H. Peter Anvin [Mon, 18 May 2009 21:28:18 +0000 (14:28 -0700)]
core/pxeidle.inc: fix pops with no matching push

In check_for_arp, we dropped the segment register pushes, but we need
to drop the pops, too.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoTry to HLT the processor during idle syslinux-3.81-pre4
H. Peter Anvin [Mon, 18 May 2009 20:42:19 +0000 (13:42 -0700)]
Try to HLT the processor during idle

Try to HLT the processor during idle.  All the events we care about
should have interrupts associated with them, except possibly the
serial console.  Try to deal with the serial console by waiting some
time before going into HLT, and giving the user the option of enabling
the serial console interrupt, on the assumption that the BIOS will
simply IRET.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>