summaryrefslogtreecommitdiff
path: root/com32/lib/syslinux/memmap.c
Commit message (Collapse)AuthorAgeFilesLines
* Run Nindent on com32/lib/syslinux/memmap.cH. Peter Anvin2009-05-291-12/+12
| | | | | | | | | Automatically reformat com32/lib/syslinux/memmap.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>
* com32: remove unused variablesSebastian Herbszt2009-04-171-2/+0
| | | | | | Silence compiler warnings by removing unused variables. - Sebastian
* Merge branch 'master' into new-shufflerH. Peter Anvin2009-04-041-110/+15
|\ | | | | | | | | | | | | Conflicts: com32/lib/syslinux/memmap.c Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * Update copyright notices; add Intel notices where appropriateH. Peter Anvin2009-04-041-1/+2
| | | | | | | | | | | | | | 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>
| * com32: merge all memory map discovery to one fileH. Peter Anvin2009-04-031-111/+14
| | | | | | | | | | | | | | 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>
| * com32: make memory beyond the core HighMem available to mallocH. Peter Anvin2009-04-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | Impact: should deal with memory holes more gracefully Right now, if we find a memory hole, we simply don't use the memory beyond that point. This makes it possible for com32 modules to use that memory. After this, we should be able to add relocation support to allow loading when the memory at 1 MB is unavailable. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | shuffler: make the new shuffler actually workH. Peter Anvin2009-03-311-4/+4
|/ | | | | | | | | Make the new shuffler actually work. This includes changing rllpack.inc to run in 32-bit mode (since simple_pm_call now switches to 32-bit mode) and changing the new shuffler interface to move the shuffle list before actually doing any work. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* e820: pre-initialize bufferH. Peter Anvin2008-10-131-0/+2
| | | | | | | | Pre-initialize the e820 buffer to all zero, except for the active bit; we have found that BIOSes will make assumptions about the pre-existing value of the buffer and this seems the most conservative value. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* com32/lib: fix reversed test when looking for extattr in e820H. Peter Anvin2008-10-131-1/+1
| | | | | | | Fix reversed test when looking for extattr in e820: force the extattr values only when they are *not* present... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Support "extended attributes" for INT 15h, AX=E820hH. Peter Anvin2008-10-131-1/+8
| | | | | | | | | | | | | | | Some blithering idiot thought it was a good idea to introduce "extended attributes" for INT 15h, AX=E820h, and in doing so, breaking compatibility with ALL E820 users out there. F*cking morons. Implement handling of extended attributes in: - e820 parsing in the core - e820 parsing in libcom32 - e820 parsing *and proxying* in memdisk The latter is the really painful one. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Update copyright yearH. Peter Anvin2008-01-101-1/+1
|
* Stealth whitespace cleanup (automated)H. Peter Anvin2007-03-141-4/+4
|
* Finish the shuffle and boot interface, and add an ELF loading module.H. Peter Anvin2007-03-141-74/+45
| | | | | | The shuffle and boot interface, including the library support, should now work as advertised. Add an ELF-loading module as a demo, and it's probably useful for someone, too.
* Wrapper infrastructure for "shuffle and boot"H. Peter Anvin2007-03-121-0/+182
Initial checkin of a wrapper infrastructure for the "shuffle and boot" interface, both real and protected mode. This code automatically will figure out the necessary sequence of moves, taking into account swaps and overlaps as necessary.