Erwan Velu [Mon, 4 Apr 2011 19:46:00 +0000 (21:46 +0200)]
hdt: Fixing typo
Erwan Velu [Mon, 4 Apr 2011 18:14:45 +0000 (20:14 +0200)]
hdt: flags_to_string is now part of the acpi code
This code is now generic, let's remove it from hdt.
Erwan Velu [Mon, 4 Apr 2011 18:13:13 +0000 (20:13 +0200)]
acpi: moving flags_to_string to base code
This code is useful for many program, let's make it generic.
Erwan Velu [Sun, 3 Apr 2011 19:28:53 +0000 (21:28 +0200)]
hdt: Removing debugging message
Erwan Velu [Sun, 3 Apr 2011 19:16:38 +0000 (21:16 +0200)]
hdt: Cleaning macros
They have to be simplier.
Erwan Velu [Sun, 3 Apr 2011 18:59:34 +0000 (20:59 +0200)]
hdt: Making dumping code easier to use
A set of CREATE_NEW_OBJECT / FLUSH is enough for a simple dump.
Erwan Velu [Sun, 3 Apr 2011 18:57:51 +0000 (20:57 +0200)]
hdt: Removing corruption on printf
Prior to this commit some garbage occured. The printing buffer wasn't
correctly cleaned after usage.
Erwan Velu [Thu, 31 Mar 2011 19:55:12 +0000 (21:55 +0200)]
hdt: Moving define for more coherency
Erwan Velu [Thu, 31 Mar 2011 19:52:04 +0000 (21:52 +0200)]
hdt: Adding PCI dumping
Erwan Velu [Thu, 31 Mar 2011 19:51:35 +0000 (21:51 +0200)]
hdt: Using Macro to create objects
It makes the code easier to read
Erwan Velu [Thu, 31 Mar 2011 19:51:18 +0000 (21:51 +0200)]
hdt: Avoid memory corruption
Erwan Velu [Tue, 29 Mar 2011 21:25:26 +0000 (23:25 +0200)]
hdt: Dumping memory configuration
This patch dumps the 88, e801 & e820 memory mapping.
Erwan Velu [Tue, 29 Mar 2011 20:42:47 +0000 (22:42 +0200)]
hdt: Displaying item name for missing dmi items
Erwan Velu [Tue, 29 Mar 2011 20:30:07 +0000 (22:30 +0200)]
hdt: Dumping oem & security items
Erwan Velu [Tue, 29 Mar 2011 20:19:18 +0000 (22:19 +0200)]
hdt: Dumping more memory configuration
Erwan Velu [Tue, 29 Mar 2011 19:50:10 +0000 (21:50 +0200)]
hdt: Dumping cache information
Erwan Velu [Tue, 29 Mar 2011 19:39:00 +0000 (21:39 +0200)]
hdt: Improving base_board dump
Some items were missing
Erwan Velu [Mon, 28 Mar 2011 21:20:40 +0000 (23:20 +0200)]
hdt: Dumping DMI
This needs more work to dump the remaining items.
Erwan Velu [Fri, 25 Mar 2011 22:12:43 +0000 (23:12 +0100)]
hdt: Adding add_ahi & addhs for dump mode
This ease at adding hardware items to an array
Erwan Velu [Fri, 25 Mar 2011 21:36:28 +0000 (22:36 +0100)]
hdt: Dumping disks partitions
Erwan Velu [Thu, 24 Mar 2011 22:00:35 +0000 (23:00 +0100)]
hdt: Initial work for dumping disks
More work is necessary to export partition' configuration
Erwan Velu [Wed, 23 Mar 2011 22:01:59 +0000 (23:01 +0100)]
zzjson: Avoid printing empty line after each print
This is useless and generates confusing outputs
Erwan Velu [Wed, 23 Mar 2011 21:53:17 +0000 (22:53 +0100)]
hdt: Dumping vesa modes & configuration
Erwan Velu [Wed, 23 Mar 2011 21:52:35 +0000 (22:52 +0100)]
hdt: Dumping pxe state
Let's report the state (valid/invalid) in the dumped file.
Erwan Velu [Wed, 23 Mar 2011 20:02:51 +0000 (21:02 +0100)]
hdt: Adding VPD to dump feature
Erwan Velu [Tue, 22 Mar 2011 22:04:02 +0000 (23:04 +0100)]
hdt: Dumping syslinux information
Syslinux is now dumped.
Erwan Velu [Tue, 22 Mar 2011 22:02:55 +0000 (23:02 +0100)]
hdt: Fixing memory corruption
When flusing the output, we need to reset also len & size.
Erwan Velu [Tue, 22 Mar 2011 21:16:30 +0000 (22:16 +0100)]
dump-pxe: dumping part of the dhcpdata structure
This is a nice info as it gives the next-server ip.
Erwan Velu [Tue, 22 Mar 2011 21:13:10 +0000 (22:13 +0100)]
inet: Adding inet_ntoa()
Adding inet_ntoa() as it could be useful to print pxe_boot_t structure
Erwan Velu [Mon, 21 Mar 2011 22:05:28 +0000 (23:05 +0100)]
hdt: Dumping pxe structures
If pxe is detected, let's dump the structures.
Erwan Velu [Mon, 21 Mar 2011 22:04:01 +0000 (23:04 +0100)]
hdt: Using flush() for dumping data
This function ease the printing & generation of the dumped information &
files
Erwan Velu [Mon, 21 Mar 2011 21:18:52 +0000 (22:18 +0100)]
cpuid: Simplied structure init
Let's zeroify everything and then init what is different from 0;
Erwan Velu [Mon, 21 Mar 2011 21:14:41 +0000 (22:14 +0100)]
cpuid: NCAPINTS was too small
We do have up to 9x32bits not 7....
Erwan Velu [Mon, 21 Mar 2011 21:08:54 +0000 (22:08 +0100)]
cpuid: Fixing names & init.
The init code was nearly incorrect. Fixed regarding Shao's comments.
Erwan Velu [Mon, 21 Mar 2011 21:00:42 +0000 (22:00 +0100)]
hdt: Spliting cpu dump into separate file
Spliting each dump into a different file will make things easier to
read.
Erwan Velu [Mon, 21 Mar 2011 20:48:17 +0000 (21:48 +0100)]
hdt: First implementation of cpu dump
This commit add the ability of dumping the cpu info into a remote file
formatted in JSON.
Erwan Velu [Mon, 21 Mar 2011 20:23:56 +0000 (21:23 +0100)]
cpuid: Enable cpu flags members parsing
This patch allow a program to parse the list of the cpu flags and
retrieve its values, name & comments.
I'd like to thank Shao Miller for helping me doing this code. He was
really helpful and a good support. Thx Shao !
Erwan Velu [Mon, 21 Mar 2011 20:22:12 +0000 (21:22 +0100)]
cpuid: Init flags structures
Let's zeroify it at init time.
Erwan Velu [Sun, 20 Mar 2011 20:28:40 +0000 (21:28 +0100)]
zzjson: Use PRINT() instead of PUTC()
PUTC() call didn't got caught when using the bufprintf.
We can use the PRINT() macro instead.
Erwan Velu [Sat, 19 Mar 2011 20:02:53 +0000 (21:02 +0100)]
bufprintf: Adding bufprintf
Erwan Velu [Fri, 18 Mar 2011 21:42:26 +0000 (22:42 +0100)]
Merge branch 'json' into libupload
Erwan Velu [Fri, 18 Mar 2011 21:41:15 +0000 (22:41 +0100)]
zzjson: Adding sample module
Note, this module is lacking of the reading test as the ungetc isn't
available. At least, this first implementation consider that syslinux
needs more the output stuff than the input one.
Erwan Velu [Fri, 18 Mar 2011 21:00:57 +0000 (22:00 +0100)]
Merge branch 'json' into libupload
Erwan Velu [Fri, 18 Mar 2011 21:00:05 +0000 (22:00 +0100)]
zzjson: Fixing compilation errors
Just a simple recasting.
Erwan Velu [Fri, 18 Mar 2011 20:58:21 +0000 (21:58 +0100)]
zzjson: No need to keep the test case
This is useless.
Erwan Velu [Fri, 18 Mar 2011 20:56:58 +0000 (21:56 +0100)]
zzjson: Adding zzjson 1.1.0
Erwan Velu [Fri, 18 Mar 2011 20:49:38 +0000 (21:49 +0100)]
hdt: Adding preliminary dump support
This commit add the basics for doing a dump command.
Erwan Velu [Fri, 18 Mar 2011 17:28:52 +0000 (18:28 +0100)]
lib: make chrreplace reachable for com32 modules
chr_replace was only used in pci/scan.c but this could be useful for
other modules like hdt ;)
Erwan Velu [Fri, 18 Mar 2011 08:33:05 +0000 (09:33 +0100)]
Merge remote branch 'hpa/master' into libupload
H. Peter Anvin [Thu, 17 Mar 2011 22:26:16 +0000 (15:26 -0700)]
gpxe: Make the build parallel-safe
Make sure we don't have multiple build processes wrecking havoc in the
gpxe directory.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Erwan Velu [Thu, 17 Mar 2011 19:09:10 +0000 (20:09 +0100)]
Merge remote branch 'hpa/master' into libupload
H. Peter Anvin [Thu, 17 Mar 2011 18:58:35 +0000 (11:58 -0700)]
Merge remote-tracking branch 'genec/gpxelinux-kpxe-for-hpa'
Gene Cumm [Thu, 17 Mar 2011 18:46:43 +0000 (14:46 -0400)]
Makefile: Add gpxe/gpxelinuxk.0 to INSTALL_AUX
H. Peter Anvin [Thu, 17 Mar 2011 00:28:10 +0000 (17:28 -0700)]
core/Makefile: another attempt at dealing with GNU make 3.82
Trying another tack...
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Gene Cumm [Thu, 17 Mar 2011 00:14:03 +0000 (20:14 -0400)]
Makefile: Add diag/geodsp/ .xz images to install target
Gene Cumm [Thu, 17 Mar 2011 00:01:36 +0000 (20:01 -0400)]
Merge branch 'master' into diag-mbr-handoff-for-hpa
Conflicts:
diag/mbr/handoff.S
diag/mbr/handoff.S: Remove the attempt to zero pad/prevent overflow
Gene Cumm [Wed, 16 Mar 2011 21:26:23 +0000 (17:26 -0400)]
Add diag/ targets into top Makefile for install target
Gene Cumm [Wed, 16 Mar 2011 21:16:54 +0000 (17:16 -0400)]
diag/mbr/: use checksize.pl to pad/prevent overflow
HPA noticed that using Fedora 15 Alpha and gcc-4.6 broke on this code
H. Peter Anvin [Wed, 16 Mar 2011 20:58:42 +0000 (13:58 -0700)]
diag/geodsp/Makefile: use ./ to run a file in the current dir
When running a file in the current directory, use ./ as a prefix.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Wed, 16 Mar 2011 20:56:57 +0000 (13:56 -0700)]
Makefile: build the diag directory
Build the diag directory (diagnostic aids).
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Wed, 16 Mar 2011 20:56:10 +0000 (13:56 -0700)]
diag/mbr/handoff.S: Fix compilation problems with gas 2.21.51
The construct used for zero-padding in handoff.S doesn't work with gas
2.21.51.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Wed, 16 Mar 2011 20:52:58 +0000 (13:52 -0700)]
Merge remote-tracking branch 'genec/diag-geodsp-for-hpa'
H. Peter Anvin [Wed, 16 Mar 2011 20:52:23 +0000 (13:52 -0700)]
NEWS: Document isohdpfx*.bin available.
H. Peter Anvin [Wed, 16 Mar 2011 20:50:41 +0000 (13:50 -0700)]
mbr: Install isohdpfx*.bin
GNU xorriso can build isohybrid images in one step without the need
for the isohybrid program, but for that to work the isohdpfx*.bin
files need to be available.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Wed, 16 Mar 2011 20:48:31 +0000 (13:48 -0700)]
README: update copyright to 2011
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Wed, 16 Mar 2011 20:48:03 +0000 (13:48 -0700)]
doc: update copyright to 2011
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Erwan Velu [Wed, 16 Mar 2011 20:39:55 +0000 (21:39 +0100)]
sysdump: Fixing includes
This patch remove ugly relative includes like ../something.h
Erwan Velu [Wed, 16 Mar 2011 20:39:20 +0000 (21:39 +0100)]
sysdump: removing useless file
Data.h is not used, so let's remove it
Erwan Velu [Wed, 16 Mar 2011 20:27:10 +0000 (21:27 +0100)]
Merge remote branch 'hpa/master' into libupload
H. Peter Anvin [Wed, 16 Mar 2011 20:16:16 +0000 (13:16 -0700)]
Merge remote-tracking branch 'genec/news-for-hpa'
H. Peter Anvin [Wed, 16 Mar 2011 20:16:12 +0000 (13:16 -0700)]
Merge remote-tracking branch 'genec/doc-syslinux-for-hpa'
H. Peter Anvin [Wed, 16 Mar 2011 20:13:31 +0000 (13:13 -0700)]
com32/cmenu/adv_menu.tpl: Use the proper value for ipappend
If x is NULL, we're supposed to pass 0 for ipappend; this was
incorrect in the template and the gcc 4.6 unused variable warning
caught it.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Wed, 16 Mar 2011 20:10:36 +0000 (13:10 -0700)]
libinstaller/fat.c: remove variables set but not used
gcc 4.6 warns on variables set but not used, so remove them.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Wed, 16 Mar 2011 20:10:36 +0000 (13:10 -0700)]
extlinux/main.c: remove variables set but not used
gcc 4.6 warns on variables set but not used, so remove them.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Wed, 16 Mar 2011 20:10:36 +0000 (13:10 -0700)]
core/fs/pxe/pxe.c: remove variables set but not used
gcc 4.6 warns on variables set but not used, so remove them.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Wed, 16 Mar 2011 20:10:36 +0000 (13:10 -0700)]
core/fs/iso9660/iso9660.c: remove variables set but not used
gcc 4.6 warns on variables set but not used, so remove them.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Wed, 16 Mar 2011 20:10:36 +0000 (13:10 -0700)]
core/fs/fat/fat.c: remove variables set but not used
gcc 4.6 warns on variables set but not used, so remove them.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Wed, 16 Mar 2011 20:10:36 +0000 (13:10 -0700)]
com32/tools/relocs.c: remove variables set but not used
gcc 4.6 warns on variables set but not used, so remove them.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Wed, 16 Mar 2011 20:10:36 +0000 (13:10 -0700)]
com32/rosh/rosh.h: remove variables set but not used
gcc 4.6 warns on variables set but not used, so remove them.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Wed, 16 Mar 2011 20:10:36 +0000 (13:10 -0700)]
com32/rosh/rosh.c: remove variables set but not used
gcc 4.6 warns on variables set but not used, so remove them.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Wed, 16 Mar 2011 20:10:36 +0000 (13:10 -0700)]
com32/lua/src/vesa.c: remove variables set but not used
gcc 4.6 warns on variables set but not used, so remove them.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Wed, 16 Mar 2011 20:10:36 +0000 (13:10 -0700)]
com32/lua/src/syslinux.c: remove variables set but not used
gcc 4.6 warns on variables set but not used, so remove them.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Wed, 16 Mar 2011 20:10:36 +0000 (13:10 -0700)]
com32/lib/vsscanf.c: remove variables set but not used
gcc 4.6 warns on variables set but not used, so remove them.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Wed, 16 Mar 2011 20:10:36 +0000 (13:10 -0700)]
com32/lib/syslinux/shuffle.c: remove variables set but not used
gcc 4.6 warns on variables set but not used, so remove them.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Wed, 16 Mar 2011 20:10:36 +0000 (13:10 -0700)]
com32/lib/sys/rawcon_read.c: remove variables set but not used
gcc 4.6 warns on variables set but not used, so remove them.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Wed, 16 Mar 2011 20:10:36 +0000 (13:10 -0700)]
com32/lib/jpeg/tinyjpeg.c: remove variables set but not used
gcc 4.6 warns on variables set but not used, so remove them.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Wed, 16 Mar 2011 20:10:36 +0000 (13:10 -0700)]
com32/hdt/hdt-menu-summary.c: remove variables set but not used
gcc 4.6 warns on variables set but not used, so remove them.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Wed, 16 Mar 2011 20:10:36 +0000 (13:10 -0700)]
com32/hdt/hdt-cli-kernel.c: remove variables set but not used
gcc 4.6 warns on variables set but not used, so remove them.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Wed, 16 Mar 2011 20:10:36 +0000 (13:10 -0700)]
com32/cmenu/libmenu/help.c: remove variables set but not used
gcc 4.6 warns on variables set but not used, so remove them.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Wed, 16 Mar 2011 20:07:04 +0000 (13:07 -0700)]
dos/dosexe.ld: Work around linker issue in binutils 2.21.51
binutils 2.21.51 seems to have problem subtracting two
section-relative symbols, so make them global.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Wed, 16 Mar 2011 20:02:26 +0000 (13:02 -0700)]
memdisk: make sure the disk type is actually set
Make sure we actually set the disk CMOS type.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Erwan Velu [Tue, 15 Mar 2011 20:51:46 +0000 (21:51 +0100)]
libupload: New library to manage uploads
This commit creates a library to upload content via 3 backends
(srec/ymodem/tftp).
Code came from sysdump and got librarized for being used more easily
by more other com32 modules.
H. Peter Anvin [Mon, 14 Mar 2011 05:17:27 +0000 (22:17 -0700)]
chain.c32: Allow both "guid" and "uuid"
The GPT specification calls it "guid", but the Unix world generally
calls it "uuid".
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Mon, 14 Mar 2011 05:14:47 +0000 (22:14 -0700)]
chain.c32: fix specification of disk by GUID (UUID)
Fix specification of disk by GUID, broken due to an incorrect pointer.
Reported-by: Szymon H <bodwick@gmail.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Gene Cumm [Thu, 10 Mar 2011 02:21:25 +0000 (21:21 -0500)]
diag: Add geodsp to Makefile
Gene Cumm [Thu, 10 Mar 2011 02:18:27 +0000 (21:18 -0500)]
diag/geodsp: Display Geometry based on read
This produces two images that are 8MiB+ in size (in order to exceed the
size of the largest CHS cylinder) containing 1 or multiple sectors of
code/data and the remaining sectors filled with their LBA.
Gene Cumm [Wed, 9 Mar 2011 23:43:01 +0000 (18:43 -0500)]
diag/mbr: Remove unneeded dependency from Makefile
Gene Cumm [Wed, 9 Mar 2011 18:53:34 +0000 (13:53 -0500)]
diag/mbr/handoff: Make filename in comment consistent
Gene Cumm [Wed, 9 Mar 2011 18:51:06 +0000 (13:51 -0500)]
diag/mbr/README: consistent docs
Gene Cumm [Sun, 6 Mar 2011 22:17:01 +0000 (17:17 -0500)]
diag/: Add Makefile,README here and mbr/