summaryrefslogtreecommitdiff
path: root/com32/gpllib
Commit message (Collapse)AuthorAgeFilesLines
* gpllib/disk: Massive updates of fs labelsErwan Velu2011-12-221-66/+113
| | | | | Inspired by Gerth and updated from both fdisk list & also from http://www.win.tue.nl/~aeb/partitions/partition_types-1.html
* Merge remote-tracking branch 'mfleming/for-hpa/makefile-cleanup'H. Peter Anvin2011-04-261-1/+2
|\ | | | | | | | | | | | | | | Resolved Conflicts: com32/hdt/Makefile com32/sysdump/Makefile Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * 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>
* | cpuid: Using generic model if cyrix id is unknownErwan Velu2011-04-161-3/+6
| | | | | | | | | | | | | | When using the specific Cyrix call to determine the model, if the model is unknown, let's consider the generic call was right. This insure a better display of the model id.
* | cpuid: Improving Cyrix/NSC detectionErwan Velu2011-04-161-0/+126
| | | | | | | | | | This code add the specific detection code for Cyrix/NSC processor. Code came from the Linux kernel.
* | cpuid: Managing UNKNOWN CPU betterErwan Velu2011-04-141-1/+7
| | | | | | | | | | It's safe to manage the unknown cpu as a regular one. This will avoid weird behavior when CPU isn't well detected.
* | cpuid: add cpuid info for "Geode by NSC"Jim Cromie2011-04-131-0/+6
| | | | | | | | | | | | Without this, cpu_detect(), and set_generic_info() would take 416 seconds on a soekris 4801 and hdt would report ?????????? as the processor vendor.
* | acpi: moving flags_to_string to base codeErwan Velu2011-04-041-0/+19
| | | | | | | | This code is useful for many program, let's make it generic.
* | zzjson: Avoid printing empty line after each printErwan Velu2011-03-231-1/+1
| | | | | | | | This is useless and generates confusing outputs
* | cpuid: Simplied structure initErwan Velu2011-03-211-7/+1
| | | | | | | | Let's zeroify everything and then init what is different from 0;
* | cpuid: Fixing names & init.Erwan Velu2011-03-211-4/+4
| | | | | | | | The init code was nearly incorrect. Fixed regarding Shao's comments.
* | cpuid: Enable cpu flags members parsingErwan Velu2011-03-211-0/+23
| | | | | | | | | | | | | | | | 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 !
* | cpuid: Init flags structuresErwan Velu2011-03-211-0/+1
| | | | | | | | Let's zeroify it at init time.
* | zzjson: Use PRINT() instead of PUTC()Erwan Velu2011-03-201-1/+2
| | | | | | | | | | PUTC() call didn't got caught when using the bufprintf. We can use the PRINT() macro instead.
* | zzjson: Fixing compilation errorsErwan Velu2011-03-181-3/+3
| | | | | | | | Just a simple recasting.
* | zzjson: No need to keep the test caseErwan Velu2011-03-181-137/+0
| | | | | | | | This is useless.
* | zzjson: Adding zzjson 1.1.0Erwan Velu2011-03-187-2/+1070
|/
* ACPI: Adding BOOT supportErwan Velu2011-01-311-3/+8
|
* ACPI: Adding SLIC supportErwan Velu2011-01-311-0/+8
|
* ACPI: Adding MCFG supportErwan Velu2011-01-311-0/+7
|
* ACPI: Adding TCPA supportErwan Velu2011-01-311-0/+8
|
* ACPI: Adding HPET supportErwan Velu2011-01-311-0/+8
|
* ACPI: Improving tables detectionErwan Velu2011-01-314-130/+162
| | | | | | | | | | In some conditions, XSDT pointer could be null. In such conditions, we have to parse tables pointed by RSDP. This patch remove the table parsing from xsdt to acpi.c. If the XSDT detection fails, let's switch back to the RSDP entries. This was the case under KVM whereas VirtualBox features an XSDT.
* DMI: Adjusting structures size / Adding cpu coreLaurent Licour2011-01-304-22/+70
| | | | | This patch adds some correction of the dmi structures but also add the support of the cpu cores/threads.
* Merge remote branch 'origin/master' into chouffeErwan Velu2011-01-261-6/+24
|\
| * disklib: Detect DiskCryptor MBRGert Hulselmans2011-01-251-0/+2
| | | | | | | | | | | | Add detection code for DiskCryptor MBR to disklib. Signed-off-by: Gert Hulselmans <gerth@zytor.com>
| * disklib: Detect "FreeDOS (eXtended FDisk)" MBRGert Hulselmans2011-01-251-1/+3
| | | | | | | | | | | | Add detection code for "FreeDOS (eXtended FDisk)" MBR to disklib. Signed-off-by: Gert Hulselmans <gerth@zytor.com>
| * disklib: Detect "MS-DOS 3.30 through Windows 95 (A)" MBRGert Hulselmans2011-01-251-1/+3
| | | | | | | | | | | | Add detection code for "MS-DOS 3.30 through Windows 95 (A)" MBR to disklib. Signed-off-by: Gert Hulselmans <gerth@zytor.com>
| * disklib: Detect new Syslinux (normal + isohybrid) MBRGert Hulselmans2011-01-251-4/+13
| | | | | | | | | | | | | | Add detection code for new Syslinux (normal + isohybrid) MBR to disklib. Switch old Syslinux MBR and Master Boot LoaDeR detection code. Signed-off-by: Gert Hulselmans <gerth@zytor.com>
| * disklib: Detect Paragon MBRGert Hulselmans2011-01-251-0/+3
| | | | | | | | | | | | Add detection code for Paragon MBR to disklib. Signed-off-by: Gert Hulselmans <gerth@zytor.com>
* | ACPI: Fixing copyrightErwan Velu2011-01-2610-10/+10
| |
* | ACPI: Displaying MADT as APICErwan Velu2011-01-261-1/+1
| | | | | | | | Kernel shows this table as APIC, let's do the same
* | ACPI: Fixing pointer arithmeticErwan Velu2011-01-268-29/+50
| | | | | | | | Several adjustements were necessary ;o)
* | ACPI: Adding DEBUG_PRINTErwan Velu2011-01-253-0/+19
| | | | | | | | Adding a function to debug & print for ACPI.
* | ACPI: Fixing SSDT detectionErwan Velu2011-01-251-1/+1
| | | | | | | | This test error was crashing the program.
* | Merge branch 'master' into chouffeErwan Velu2011-01-259-362/+366
|\ \ | |/ | | | | | | Conflicts: com32/hdt/hdt.h
| * disklib: remove improper "inline"H. Peter Anvin2010-11-141-2/+2
| | | | | | | | | | | | | | Remove improper inlines from static functions which cause gcc 4.5 to abort due to inlining failure. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * DMI: Fixing memory mgmnt in dmi_memory_module_typesLaurent Licour2010-07-072-14/+16
| | | | | | | | | | In some case, dmi_memory_module_types could read the entire memory as a result of a bogus snprintf usage.
| * disklib: Add WEE bootloader detection codeGert Hulselmans2010-06-241-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WEE, is a bootloader based on grub4dos. It fits in the first 63 sectors of the drive. The first 4 bytes are: $ hexdump -n 4 /media/Data/ubcd-new/wee-2010-06-20/wee63.mbr 0000000 5eeb 0090 0000004 Or in the format get_mbr_string wants it: $ hexdump -C -n 4 wee63.mbr 00000000 eb 5e 90 00 Patch tested in qemu: qemu -boot d -cdrom hdt.iso -hda wee-2010-06-20/wee63.mbr
| * Replacing strncpy by strlcpyErwan Velu2010-06-227-346/+346
| | | | | | | | | | As reported by hpa, strlcpy is safer and could prevent some bugs. So I replaced all strncpy by strlcpy calls.
* | ACPI: On the road to cleaning ;)Erwan Velu2011-01-259-34/+35
| |
* | Adding stdlib includeErwan Velu2010-05-261-0/+1
| | | | | | | | Malloc requires stdlib
* | Merge branch 'master', remote branch 'origin' into chouffeErwan Velu2010-05-267-155/+176
|\ \ | |/
| * Merge remote branch 'erwan/master'H. Peter Anvin2010-05-111-1/+1
| |\
| | * VPD: Fixing base_addressErwan Velu2010-05-111-1/+1
| | | | | | | | | | | | This commit now save properly VPD's address.
| * | Merge remote branch 'erwan/master'H. Peter Anvin2010-05-112-100/+167
| |\ \ | | |/
| | * DMI: Fixing memory corruptionErwan Velu2010-05-062-100/+167
| | | | | | | | | | | | | | | | | | | | | Impact: avoid memory corruption Too much usage of strcpy & sprintf was leading to serious memory corruption. Using snprintf & strncpy is prefered.
| * | gpllib: fix call to CPUID function 4Sebastian Herbszt2010-03-291-2/+4
| | | | | | | | | | | | | | | | | | | | | Only call CPUID function 4 if cpuid_level indicates its availability. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * | dmi_processor.c: remove unreachable table valuesH. Peter Anvin2010-01-101-50/+2
| | | | | | | | | | | | | | | | | | A uint8_t can't have values all the way up to 0x12e... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * | disk/bootloaders.c: fix bogus const in get_bootloader_string()H. Peter Anvin2010-01-101-1/+1
| | | | | | | | | | | | | | | | | | | | | get_bootloader_string() takes a mutable first argument; the call chain does have call paths on which this argument will be modified. Signed-off-by: H. Peter Anvin <hpa@zytor.com>