| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
In bios_charac_strings[] of /com32/gpllib/dmi/dmi_bios.c there are actually 29 entries. However, BIOS_CHAR_NB_ELEMENTS in /com32/gplinclude/dmi/dmi_bios.h was defined as 28 and struct s_characteristics in the same file also only had 28 entries. It turns out that there was a missing entry "boot_from_pcmcia" (the 16th entry representing bit 18) in s_characteristics.
Signed-off-by: Hung-chi Lihn <hlihn@google.com>
Signed-off-by: Erwan Velu <erwanaliasr1@gmail.com>
|
|
|
|
|
| |
This code add the specific detection code for Cyrix/NSC processor.
Code came from the Linux kernel.
|
|
|
|
|
| |
It's safe to manage the unknown cpu as a regular one. This will avoid
weird behavior when CPU isn't well detected.
|
|
|
|
| |
This code is useful for many program, let's make it generic.
|
|
|
|
|
|
|
|
| |
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 !
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
Without defining values using the negative values as a return option
could lead to a false positive case.
Setting up the values helps prevent from using the 0 value.
|
|
|
|
|
| |
This patch adds some correction of the dmi structures but also add the
support of the cpu cores/threads.
|
| |
|
|
|
|
| |
Several adjustements were necessary ;o)
|
|
|
|
| |
Adding a function to debug & print for ACPI.
|
|\
| |
| |
| |
| | |
Conflicts:
com32/hdt/hdt.h
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add a centralized bitops header <sys/bitops.h> which uses x86 bitops
instructions. This is necessary to keep gcc 4.5 from aborting
compilation due to the inlined code being larger than the non-inlined
version, and well, we should really use the bitops.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
| |
| |
| |
| | |
In some case, dmi_memory_module_types could read the entire memory as a
result of a bogus snprintf usage.
|
| | |
|
|\ \
| |/ |
|
| |\ |
|
| | |
| | |
| | |
| | | |
This commit now save properly VPD's address.
|
| |\ \
| | |/ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Impact: avoid string truncation
The version field could be bigger than 32 char.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Impact: none
Removing useless variable
|
| |/
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Impact: Adding more madt apic structures
Adding IO_APIC, INTERRUPT_SOURCE_OVERRIDE, NMI,
LOCAL_APIC_NMI_STRUCTURE, LOCAL_APIC_ADDRESS_OVERRIDE_STRUCTURE,
IO_SAPIC, LOCAL_SAPIC
|
| |
| |
| |
| |
| |
| | |
Impact: Adding FACS, fixing DSDT detection
Adding FACS, fixing DSDT detection via FADT
|
| |
| |
| |
| |
| |
| | |
Impact: completing FADT implementation
Filling FADT structure
|
| |
| |
| |
| |
| |
| | |
Impact: Addding ecdt
Adding ecdt
|
| |
| |
| |
| |
| |
| | |
Impact: Adding SBST
Adding SBST
|
| |
| |
| |
| |
| |
| | |
Impact: none
Using more definitions for ACPI tables names
|
| |
| |
| |
| |
| |
| | |
Impact: Adding SSDT & PSDT
Adding SSDT & PSDT
|
| |
| |
| |
| |
| |
| | |
Impact: Adding dsdt
Adding DSDT
|
| |
| |
| |
| |
| |
| | |
Impact: Fixing madt detection
Fixing madt detection
|
| |
| |
| |
| |
| |
| | |
Impact: Adding FADT
Adding FADT
|
| |
| |
| |
| |
| |
| | |
Impact: Adding XSDT
Adding XSDT
|
| |
| |
| |
| |
| |
| | |
Impact: adding rsdt
Adding RSDT
|
| |
| |
| |
| |
| |
| |
| | |
Impact: none
Parsing have to be done the spec says ;)
Let's found the RSDP first
|
| |
| |
| |
| |
| |
| | |
Impact:
Adding MADT address in structure
|
| |
| |
| |
| |
| |
| | |
Impact: under dev.
Fixing madt structure & parsing
|
| |
| |
| |
| |
| |
| | |
Impact: Fixing MADT structures
Fixing MADT structures
|
|/
|
|
|
|
| |
Impact: adding madt stuff
Trying to add some madt stuff
|
|
|
|
|
|
| |
Impact: Changing units
Processor voltage is now millivolts
|
|
|
|
|
|
| |
Impact: Adding L1 & L2 cache detection
Adding L1 & L2 cache detection
|
|
|
|
|
|
| |
Impact: we are now able to detect the number of cpu cores
We can detect the number of cores using cpuid(4) or cpuid_ecx(0x80000008)
|
|
|
|
|
|
|
| |
Impact: sync with linux kernel
cpu flags are now in sync with the linux kernel. Too many flags were
missing.
|