(RVA_TO_PTR): Redefine to convert RVA to address in
authorAndrew Innes <andrewi@gnu.org>
Sun, 17 Jan 1999 19:22:55 +0000 (19:22 +0000)
committerAndrew Innes <andrewi@gnu.org>
Sun, 17 Jan 1999 19:22:55 +0000 (19:22 +0000)
commit30d2b1c27b6a85742c49521edf6b76d5e1fbaf95
tree24dd566c908b687fa2c0864ce0f37978ecd4ac40
parent5b79dba5b941740286727d2d24091bdec94e2f6f
(RVA_TO_PTR): Redefine to convert RVA to address in
current process.
(round_to_next): Obsolete function removed.
(preload_heap_section): New variable.
(data_region_size): Obsolete variable removed.
(allocate_heap): Modified to determine end of static heap section
used during preload, and use that as initial base address for
dynamic heap instead of hard-coded value.
(sbrk): Remove call to allocate_heap; handled by init_heap.  Skip
calls to commit or decommit pages when allocating from static heap
section during preload.
(recreate_heap): Obsolete function removed.
(init_heap): New function to initialize internal sbrk heap
variables.  Uses static heap section during preload, otherwise
calls allocate_heap to reserve a heap region dynamically.
(round_heap): Use ROUND_UP macro instead of round_to_next.
src/w32heap.c