diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2006-07-26 15:59:39 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2006-07-26 15:59:39 +0000 |
commit | 5faa48850f4e40c09fa9353b4e4cfbef43c7d9e0 (patch) | |
tree | 855583a1ee274969f7f04163cdc74d7294362ebd /winsup/cygwin/shared_info.h | |
parent | 020a7b4711d9e5ea0922eb940080e2c01933a08a (diff) | |
download | cygnal-5faa48850f4e40c09fa9353b4e4cfbef43c7d9e0.tar.gz cygnal-5faa48850f4e40c09fa9353b4e4cfbef43c7d9e0.tar.bz2 cygnal-5faa48850f4e40c09fa9353b4e4cfbef43c7d9e0.zip |
* cygheap.h (struct init_cygheap): Remove shared_h and mt_h members.
* fhandler_tape.cc (mt): Define as DLL shared area in
.cygwin_dll_common instead of as dynamically allocated area.
Change referencing throughout.
* mtinfo.h (mt_h): Remove entirely.
(mt): Remove extern declaration.
* shared.cc (cygwin_shared_area): New global cygwin_shared
variable located in .cygwin_dll_common.
(offsets): Define shared region addresses descending from
cygwin_shared_address.
(open_shared): Replace usage of SH_CYGWIN_SHARED by SH_USER_SHARED.
(memory_init): Set cygwin_shared just by pointing to cygwin_shared_area.
* shared_info.h (shared_locations): Remove SH_CYGWIN_SHARED and
SH_MTINFO.
(cygwin_shared_address): Define as DLL start address.
* tty.h (tty_min::tty_min): Remove constructor.
Diffstat (limited to 'winsup/cygwin/shared_info.h')
-rw-r--r-- | winsup/cygwin/shared_info.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/winsup/cygwin/shared_info.h b/winsup/cygwin/shared_info.h index 821807641..ae80309cb 100644 --- a/winsup/cygwin/shared_info.h +++ b/winsup/cygwin/shared_info.h @@ -1,6 +1,6 @@ /* shared_info.h: shared info for cygwin - Copyright 2000, 2001, 2002, 2003, 2004, 2005 Red Hat, Inc. + Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006 Red Hat, Inc. This file is part of Cygwin. @@ -169,11 +169,9 @@ extern HANDLE cygwin_user_h; enum shared_locations { - SH_CYGWIN_SHARED, SH_USER_SHARED, SH_SHARED_CONSOLE, SH_MYSELF, - SH_MTINFO, SH_TOTAL_SIZE, SH_JUSTCREATE, SH_JUSTOPEN @@ -186,7 +184,7 @@ void __stdcall memory_init (); (((DWORD) ((p) + 1) + system_info.dwAllocationGranularity - 1) / \ system_info.dwAllocationGranularity))) -#define cygwin_shared_address ((void *) 0x60000000) +#define cygwin_shared_address ((void *) 0x61000000) #ifdef _FHANDLER_H_ struct console_state |