aboutsummaryrefslogtreecommitdiff
path: root/src/pmm.c
AgeCommit message (Expand)AuthorFilesLines
2018-06-22pmm: use tmp zone on oomGerd Hoffmann1-0/+13
2015-10-15malloc: Don't mix virtual and physical addressesKevin O'Connor1-8/+8
2013-12-27Remove the pmm handle argument from _malloc().Kevin O'Connor1-7/+12
2013-09-18Move pmm definitions to new file std/pmm.h.Kevin O'Connor1-13/+1
2013-09-18Move definition of struct segoff_s from farptr.h to types.h.Kevin O'Connor1-1/+0
2013-09-18Move function definitions for output.c from util.h to new file output.h.Kevin O'Connor1-1/+2
2013-09-18Move malloc code from pmm.c to new files malloc.c and malloc.h.Kevin O'Connor1-541/+17
2013-09-18Move stacks.c definitions from util.h to new file stacks.h.Kevin O'Connor1-0/+1
2013-09-18Rename util.c to string.c and introduce string.h.Kevin O'Connor1-1/+2
2013-09-18Split x86 specific functions out of util.c/h to new files x86.c/h.Kevin O'Connor1-0/+1
2013-08-14Minor - simplify rom_reserve().Kevin O'Connor1-10/+7
2013-08-10Add config option to support memory allocations in 9-segment.Kevin O'Connor1-9/+104
2013-06-13Another fix for hlist_for_each_entry_safe.Kevin O'Connor1-1/+1
2013-06-08Introduce and convert pmm code to use standard list helpers.Kevin O'Connor1-48/+29
2013-06-08Minor - move "tracked memory alloc" code in pmm.c.Kevin O'Connor1-98/+98
2013-03-08Use VARVERIFY32INIT on global variables that point to "tmp" memory.Kevin O'Connor1-2/+4
2013-02-20Use CONFIG_ prefix for Kconfig variables; use BUILD_ for others.Kevin O'Connor1-6/+6
2013-02-19Eliminate separate BiosTableSpace[] space for f-segment allocations.Kevin O'Connor1-9/+3
2013-02-19Calculate "RamSize" needed by 16bit interface dynamically.Kevin O'Connor1-2/+24
2013-02-19Move malloc's ZoneFSeg and ZoneLow setup to malloc_init.Kevin O'Connor1-10/+5
2013-02-19Don't relocate "varlow" variable references at runtime.Kevin O'Connor1-12/+13
2013-02-18Convert VAR16VISIBLE, VAR16EXPORT, and VAR32VISIBLE to VARFSEG.Kevin O'Connor1-1/+4
2013-02-17Clarify build generated "zone low" values.Kevin O'Connor1-8/+8
2013-02-17Report on f-segment UMB ram also.Kevin O'Connor1-1/+2
2013-02-17Rename rom_get_top() to rom_get_max().Kevin O'Connor1-4/+4
2013-02-07POST: Reorganize post entry and "preinit" functions.Kevin O'Connor1-0/+8
2013-02-07Add CSM supportDavid Woodhouse1-0/+19
2013-02-07Fix rebase error in commit 8a0a972f that broke LOWMEM variables.Kevin O'Connor1-0/+4
2013-02-05Normalize POST initialization function name suffixes.Kevin O'Connor1-5/+5
2013-01-20pmm: Use 'struct segoff_s' in pmm header.Kevin O'Connor1-9/+4
2012-07-21Minor - clear unused f-segment data at start of f-segment.Kevin O'Connor1-1/+4
2012-06-08Avoid runtime relocation of 16bit "low" mem - calculate at build instead.Kevin O'Connor1-10/+4
2012-05-30Remove CanPreempt check from pmm code.Kevin O'Connor1-10/+0
2012-05-23Minor - verify UMB dummy optionrom header size doesn't overflow.Kevin O'Connor1-1/+2
2012-05-21Allow optionroms and "low mem" to share space.Kevin O'Connor1-14/+58
2012-05-13Use the e-segment instead of the 9-segment for bios "low mem".Kevin O'Connor1-89/+27
2012-02-15Fix missing NULL pointer checks causing boot failure on 1meg machines.Kevin O'Connor1-1/+2
2011-08-03Allow free space in f-segment to be used by malloc_fseg().Kevin O'Connor1-0/+7
2011-07-16Remove 16bit wrappers from PMM code.Kevin O'Connor1-76/+55
2011-07-16Run option rom visible PMM code in 32bit mode instead of 16bit mode.Kevin O'Connor1-11/+40
2010-09-25Cleanup - it's no longer necessary to manually reset global variables.Kevin O'Connor1-6/+0
2010-09-25Enable optionroms to use freed space due to CONFIG_RELOCATE_INIT.Kevin O'Connor1-5/+0
2010-09-15Move init code from _start() to post().Kevin O'Connor1-3/+0
2010-06-06Introduce memcpy_fl - a memcpy on "flat" pointers.Kevin O'Connor1-15/+5
2010-06-06Rework malloc to use a "first fit" algorithm.Kevin O'Connor1-217/+313
2010-04-17Add __attribute__((__malloc__)) declaration to internal malloc funcs.Kevin O'Connor1-2/+2
2010-03-20Don't move EBDA while an optionrom is running (CONFIG_THREAD_OPTIONROMS).Kevin O'Connor1-6/+12
2010-01-03Be sure to add "void" to all function prototypes that take no args.Kevin O'Connor1-6/+6
2009-12-30Add support for 32bit PCI BIOS entry.Kevin O'Connor1-3/+4
2009-12-27Only add "addr32" to memory accesses that require them.Kevin O'Connor1-2/+7