Commit graph

18 commits

Author SHA1 Message Date
Geoff Voelker b9cad9c16e w32heap.c (osinfo_cache): New variable.
(cache_system_info): Initialize osinfo_cache.
1999-06-24 22:05:35 +00:00
Andrew Innes 30d2b1c27b (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.
1999-01-17 19:22:55 +00:00
Geoff Voelker 3c1f9d6603 (allocate_heap): Define NTHEAP_PROBE_BASE by default. 1998-09-02 05:25:38 +00:00
Geoff Voelker a1b8f90f30 (recreate_heap): Invoke w32_fatal_reload_error upon error. 1998-04-17 05:08:51 +00:00
Geoff Voelker 801f68b995 (os_subtype): New variable.
(cache_system_info): Set os_subtype.
(recreate_heap): Update system information after loading heap.
Don't use data_seg pragma here.
(_heap_init, _heap_term) [_MSC_VER >= 1000]: New functions that
override CRT routines.
1997-09-03 00:51:32 +00:00
Geoff Voelker e54c8cd119 Add pragma to force zero initialized
data into .data segment.
1997-07-01 05:05:45 +00:00
Geoff Voelker e9e23e2348 Change all uses of win95, winnt, and win32
into Windows 95, Windows NT, and W32, respectively.
Expand "win" substring in variables referring to Microsoft Windows
constructs into "windows".
Canonicalize header comments to use same terminology.
1997-01-20 00:38:22 +00:00
Geoff Voelker 489f937121 Use new names for w32 files 1996-11-19 07:04:49 +00:00
Geoff Voelker fbd6baedb5 Change identifiers of the form win32* to w32*. 1996-11-19 04:59:23 +00:00
Richard M. Stallman 0d05360db7 (allocate_heap): Clean up conditional. 1996-05-13 15:06:32 +00:00
Geoff Voelker 709fd16b8e (allocate_heap): Bump heap base up to 27MB to
wsatisfy Win95.
1996-05-11 06:38:25 +00:00
Geoff Voelker 8dfdd41fa8 Include lisp.h.
(allocate_heap): Use VALBITS to determine size of heap.
(allocate_heap) [WINDOWS95]: Conditional code removed.
(sbrk): Use VALMASK instead of an unsigned integer mask.
1996-05-03 18:34:21 +00:00
Erik Naggum 3b7ad313e0 Update FSF's address in the preamble. 1996-01-15 09:18:04 +00:00
Geoff Voelker 3bbabc43d8 Include config.h.
(syspage_mask, real_data_region_end): Defined.
(allocate_heap) [WINDOWS95]: Reverse conditional, end search at 0xD00000.
(sbrk): Commit and uncommit memory in machine dependent
page size chunks.
1995-06-30 21:14:06 +00:00
Geoff Voelker 011db6707e (reserved_heap_size,allocate_heap): Defined.
(sbrk): Use allocate_heap.
1995-05-26 05:27:52 +00:00
Karl Heuer 488e9a54a5 (sbrk): Shrink heap by arbitrary amounts. 1995-04-12 02:12:02 +00:00
Karl Heuer b65769c78d (sbrk): Allow request sizes to be different than the page size. 1994-11-03 21:07:19 +00:00
Richard M. Stallman 95ed00257a Initial revision 1994-11-01 10:27:02 +00:00