summaryrefslogtreecommitdiff
path: root/memdump
Commit message (Collapse)AuthorAgeFilesLines
* memdump: Remove old obsolete COM16 binaryH. Peter Anvin2014-06-1032-3895/+0
| | | | | | | | memdump was a com16 binary. If still useful, it should be replaced with a com32 library using libupload, but it has largely been replaced by sysdump anyway. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Merge remote-tracking branch 'origin/syslinux-5.xx'H. Peter Anvin2014-01-181-1/+1
|\ | | | | | | | | | | | | Resolved Conflicts: version Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * Makefiles: don't include *.tmpH. Peter Anvin2014-01-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since checkin: bd09a6d828fa Major Makefile cleanups; gcc 4.3.0 compatiblity ... we include *.tmp into the Makefiles as well as .*.d. This seems to have been a mistake in made when adding *.tmp to cleanup rules, probably using a sed script. This causes problems, because *.tmp files are generated by the gcc_ok macro and do not contain Makefile rules at all. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | mk/embedded.mk: Don't use -mregparm in coreMatt Fleming2013-01-081-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Unfortunately commit 4eb06d95d882 ("mk: Add -fPIC for x86_64 to embedded.mk") left -mregparm enabled when compiling objects in core/, which means that when compiling for i386 those objects are compiled with a different ABI compared with everything else, leading to hangs when booting under 32-bit EFI. We should only enable -mregparm for code that absolutely requires it, such as dos/crt0.S which would need to be re-written to use another ABI. Signed-off-by: Matt Fleming <matt.fleming@intel.com>
* | Add per-firmware object directory supportMatt Fleming2012-10-161-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that we have multiple firmware backends it no longer makes sense to write object files to the same directory as their source. A better solution is to write the object files to a per-firmware directory under a top-level object directory. The top-level object directory can be specified on the command-line with the O= variable, e.g. make O=/tmp/obj. If no top-level object directory is specified an 'obj' directory is created in the top-level of the Syslinux source repository. All the existing make targets continue to work as before, however now they apply to all firmware backends, e.g. 'make installer' will build the BIOS, 32-bit EFI and 64-bit EFI installers and place them under $(OBJ)/bios, $(OBJ)/efi32 and $(OBJ)/efi64 respectively. Note unlike every other bit of Syslinux, the gpxe objects are still kept in the src directory, e.g. gpxe/src, since gpxe is only required by the BIOS backend. It is possible to specify a make target for a specific firmware or list of firmware with the following syntax, make [firmware[,firmware]] [target[,target]] To clean the object directory for just the BIOS firmware type, 'make bios clean' To build both the 32-bit and 64-bit EFI installers type, 'make efi32 efi64 installer' Since the Syslinux make infrastructure is now more complex a new file doc/building.txt has been created to explain how to build Syslinux. The top-level Makefile now exports some make variables for use in module Makefiles, - topdir - the top-level source directory of the Syslinux repository, e.g. /usr/src/syslinux - objdir - the top-level object directory for the firmware backend currently being built, e.g. /obj/syslinux/bios - SRC - the source directory in the Syslinux repository for the module currently being built, e.g. /usr/src/syslinux/com32/libupload - OBJ - the object directory for the module currently being built, e.g. /obj/syslinux/bios/com32/libupload Since we're rewriting the Makefile infrastructure anyway it seemed like a good idea to add parallel support. By writing subdirectories as prequisites for make targets the objects in those subdirectories can be built in parallel. Signed-off-by: Matt Fleming <matt.fleming@intel.com>
* | The assembler directive in memdump/code16.h is fixed for x86_64 build.chandramouli narayanan2012-06-251-0/+2
|/ | | | Remanants of the unused old i386-only files, if any, need to be pruned.
* Makefile: Move Makefile fragments into mk/Matt Fleming2011-04-071-1/+2
| | | | | | | | | | | | | | | | | | Move the MCONFIG files into a mk/ directory and give them more descriptive names. This is purely a cosmetic change to make the 'include' directives a bit more coherent by making it obvious exactly which MCONFIG file we're including. For example, in com32/lua/src/Makefile we exchange the line, include ../../MCONFIG for the much more comprehensible, include $(MAKEDIR)/com32.mk Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
* memdump: srecs need a length, and max 32 data bytesH. Peter Anvin2010-02-051-7/+2
| | | | | | Length + 32 data bytes max... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* memdump: allow outputting S-recordsH. Peter Anvin2010-02-058-26/+176
| | | | | | | | Allow outputting S-records, for users who only have the capability of passively monitoring a serial port as opposed to being able to capture the contents directly. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Run Nindent on memdump/ymsend.hH. Peter Anvin2009-05-291-7/+7
| | | | | | | | | Automatically reformat memdump/ymsend.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>
* Run Nindent on memdump/ymsend.cH. Peter Anvin2009-05-291-135/+135
| | | | | | | | | Automatically reformat memdump/ymsend.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>
* Run Nindent on memdump/strtoul.cH. Peter Anvin2009-05-291-46/+44
| | | | | | | | | Automatically reformat memdump/strtoul.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>
* Run Nindent on memdump/string.hH. Peter Anvin2009-05-291-4/+4
| | | | | | | | | Automatically reformat memdump/string.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>
* Run Nindent on memdump/stdlib.hH. Peter Anvin2009-05-291-1/+1
| | | | | | | | | Automatically reformat memdump/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>
* Run Nindent on memdump/stdio.hH. Peter Anvin2009-05-291-1/+1
| | | | | | | | | Automatically reformat memdump/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>
* Run Nindent on memdump/stdint.hH. Peter Anvin2009-05-291-28/+28
| | | | | | | | | Automatically reformat memdump/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>
* Run Nindent on memdump/skipatou.cH. Peter Anvin2009-05-291-4/+4
| | | | | | | | | Automatically reformat memdump/skipatou.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>
* Run Nindent on memdump/serial.cH. Peter Anvin2009-05-291-53/+53
| | | | | | | | | Automatically reformat memdump/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>
* Run Nindent on memdump/printf.cH. Peter Anvin2009-05-291-235/+246
| | | | | | | | | Automatically reformat memdump/printf.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>
* Run Nindent on memdump/mystuff.hH. Peter Anvin2009-05-291-3/+2
| | | | | | | | | Automatically reformat memdump/mystuff.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>
* Run Nindent on memdump/malloc.hH. Peter Anvin2009-05-291-5/+5
| | | | | | | | | Automatically reformat memdump/malloc.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>
* Run Nindent on memdump/main.cH. Peter Anvin2009-05-291-78/+78
| | | | | | | | | Automatically reformat memdump/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>
* Run Nindent on memdump/io.hH. Peter Anvin2009-05-291-12/+12
| | | | | | | | | Automatically reformat memdump/io.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>
* Run Nindent on memdump/conio.cH. Peter Anvin2009-05-291-11/+11
| | | | | | | | | Automatically reformat memdump/conio.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>
* Run Nindent on memdump/argv.cH. Peter Anvin2009-05-291-41/+41
| | | | | | | | | Automatically reformat memdump/argv.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>
* Run Nindent on memdump/__udivmoddi4.cH. Peter Anvin2009-05-291-21/+21
| | | | | | | | | Automatically reformat memdump/__udivmoddi4.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>
* Run Nindent on memdump/__divdi3.cH. Peter Anvin2009-05-291-15/+15
| | | | | | | | | Automatically reformat memdump/__divdi3.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>
* Unify dependency generation: MCONFIG.embeddedH. Peter Anvin2009-04-271-5/+5
| | | | | | | Unify dependency generation and move common rules into MCONFIG.embedded. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Clean up embedded Makefile targets; fix build failureH. Peter Anvin2008-08-221-14/+3
| | | | | | Unify common pieces to "embedded" targets (those that produce code that runs neither in the host nor in a com32 environment); this fixes the broken sample/ directory Makefile.
* Major Makefile cleanups; gcc 4.3.0 compatiblityH. Peter Anvin2008-08-201-20/+33
| | | | | Cleanup and centralize the Makefile system even more. Fix a gcc 4.3 incompatibility in memdisk (definition of strlen).
* Move files out of root into core, dos, and utilsH. Peter Anvin2008-05-291-1/+1
| | | | | | | | Move source files out of the root directory; the root is a mess and has become virtually unmaintainable. The Syslinux core now lives in core/; the Linux and generic utilities has moved into utils/, and copybs.com has moved into dos/; it had to go somewhere, and it seemed as good a place as any.
* Fixed the various Makefiles so that SYSLINUX compiles on platforms with GCC ↵Stefan Bucur2008-05-121-1/+2
| | | | -fstack-protector flag enabled by default.
* Use $(CC) in gcc_ok macro, not plain gccH. Peter Anvin2008-03-051-1/+1
| | | | | Use $(CC) in gcc_ok macro, not plain gcc. This seems to work, iff the gcc_ok macro is declared with =, not :=
* "begin Ymodem download" is supposed to be an imperative...H. Peter Anvin2008-02-201-1/+1
|
* Whitespace cleanup...syslinux-3.62-pre11H. Peter Anvin2008-02-191-4/+0
|
* memdump: fix typoH. Peter Anvin2008-02-181-1/+1
|
* memdump: avoid comma in filenamesH. Peter Anvin2008-02-081-1/+1
| | | | | Avoid using commas in filenames, since not all systems can handle them.
* memdump: add .bin suffix to generated filenamesH. Peter Anvin2008-02-081-1/+1
| | | | Add a .bin suffix to generated filenames
* Update copyright yearH. Peter Anvin2008-01-103-3/+3
|
* memdump: remove debugging code never meant for releaseH. Peter Anvin2007-10-021-12/+0
|
* Fix building on a 64-bit system without a 32-bit system installedsyslinux-3.52-pre10syslinux-3.52H. Peter Anvin2007-09-243-1/+144
| | | | | A bunch of glibc header files were bogusly included. We should not depend on having a 32-bit glibc installed, since we don't use it.
* memdump: a debugging utility to dump memory over a serial portH. Peter Anvin2007-09-2126-0/+3608
A memory-dumping utility which runs in real mode. Thus, it can be used to get memory dumps from a relatively pristine system.