- Mm-rewrite:
authorAleksey Bragin <aleksey@reactos.org>
Thu, 11 Oct 2007 20:40:38 +0000 (20:40 +0000)
committerAleksey Bragin <aleksey@reactos.org>
Thu, 11 Oct 2007 20:40:38 +0000 (20:40 +0000)
commit532ee4eb5993a99fc9e878bf2c976529088ebe29
tree11384c26903a6e5b10b8002f83202026089d1284
parent7160af75937dee635410d4fa6909dc7e912b1a8b
- Mm-rewrite:
 * Get rid of a hack-based heap allocation in FreeLdr, which makes real data interleaved with temporary data, all that unfreeable and unmanageable.
 * Introduce new APIs MmHeapAlloc / MmHeapFree to alloc/free memory from a pre-allocated heap.
 * Add BGET (public domain heap implementation), hook it up to the MmHeapAlloc / MmHeapFree APIs.
 * MmAllocateMemory still is a backward-compatibility API, will be removed soon.
- Change most of allocations to the heap-based routines, add frees where necessary (I must admit Brian already used MmFreeMemory in a lot of places, so I just had to change those to the corresponding MmHeapFree API).
- Remove unneeded and wrong IDT filling, which was commented out.
- Temporary disable caching support, because it needs a standalone place to keep its data in. For compatibility's sake it's better to leave it when WinLdr is more mature.

svn path=/branches/winldr/; revision=29518
18 files changed:
arch/i386/hardware.c
cache/blocklist.c
freeldr_base.rbuild
fs/fat.c
include/bget.h [new file with mode: 0644]
include/freeldr.h
include/mm.h
mm/meminit.c
mm/mm.c
reactos/binhive.c
reactos/registry.c
rtl/bget.c [new file with mode: 0644]
rtl/libsupp.c
ui/ui.c
windows/peloader.c
windows/winldr.c
windows/wlmemory.c
windows/wlregistry.c