* heap.cc (heap_init): Rewrite initial heap allocation to use addresses

beyond 0x20000000.  Explain why and how.
	* shared.cc (shared_info::heap_slop_size): Remove.
	* shared_info.h (class shared_info): Remove heap_slop_inited and
	heap_slop members.  Remove heap_slop_size declaration.
	(CURR_SHARED_MAGIC): Update.
	* wincap.cc: Throughout, drop heapslop.
	* wincap.h (struct wincaps): Drop heapslop.
This commit is contained in:
Corinna Vinschen
2011-05-16 10:27:14 +00:00
parent 6d6cfa4840
commit 883ea27df0
6 changed files with 82 additions and 60 deletions

View File

@@ -30,7 +30,7 @@ public:
/* Data accessible to all tasks */
#define CURR_SHARED_MAGIC 0x7f4db5d3U
#define CURR_SHARED_MAGIC 0xb41ae342U
#define USER_VERSION 1
#define CURR_USER_MAGIC 0x6112afb3U
@@ -44,8 +44,6 @@ class shared_info
DWORD cb;
public:
DWORD heap_chunk;
bool heap_slop_inited;
DWORD heap_slop;
DWORD sys_mount_table_counter;
tty_list tty;
LONG last_used_bindresvport;
@@ -55,7 +53,6 @@ class shared_info
void initialize ();
void init_obcaseinsensitive ();
unsigned heap_chunk_size ();
unsigned heap_slop_size ();
static void create ();
};