| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Replace hard-coded bounce buffer uses in com32/lib with lmalloc/lfree.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|
|
|
|
|
|
|
| |
Automatically reformat com32/lib/syslinux/memscan.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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
| |
Use the contents of the ebda_seg variable, not the address...
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|
|
|
|
| |
Actually (try to) handle the case of finding the DOS memory amount.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|
|
|
|
|
|
|
|
|
| |
Adjust the lower limit of DOS memory to 0x510; with the last known
BIOS byte in use at 0x500 (and only then for Print Screen) this makes
sense.
If the DOS memory size is clearly insane, fall back to using the EBDA
address.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|
|
|
|
|
| |
Mark the memory range 0-0x7c00 unavailable until the new shuffler code
is ready, at which point we can go for a tighter bound.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|
|
|
|
|
| |
Update copyright notices. Per agreement with my new employer, Intel
Corporation, add Intel copyright notices where appropriate.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|
|
|
|
| |
Change scan_memory_callback to scan_memory_callback_t
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
|
|
|
Merge the memory map discovery for malloc and the memory map discovery
for memmap into one file that scans memory and invokes a callback.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
|