OSDN Git Service

* child_info.h (CURR_CHILD_INFO_MAGIC): Reset.
authorcgf <cgf>
Tue, 15 Oct 2002 07:03:43 +0000 (07:03 +0000)
committercgf <cgf>
Tue, 15 Oct 2002 07:03:43 +0000 (07:03 +0000)
commit126d836e1e5a57f88c9e518e311ebc840b2c50bf
tree9d3dee0c9fcef1b46fd138fa4b6165cd46e32f37
parentf35fe399f51ce4b4341fe417b1cbf3f776fec25d
* child_info.h (CURR_CHILD_INFO_MAGIC): Reset.
(child_info_fork::mount_table): Remove.
(child_info_fork::myself_addr): Remove.
* fork.cc (fork_child): Don't set either of the above.
* dcrt0.cc (dll_crt0_1): Call memory_init as early as possible.
* fhandler_console.cc (console_state): Move to shared_info.h.
(fhandler_console::get_tty_stuff): Reflect open_shared arg change.
* pinfo.cc (myself_addr): Remove definition.
(pinfo::init): Get myself address from open_shared.
* pinfo.h (myself_addr): Remove declaration.
* shared.cc (open_shared): Rework so that known shared memory locations are
protected.  Take shared memory type as fifth argument.
(memory_init): Reflect open_shared arg change.
* shared_info.h (shared_locations): New enum.
(console_state): Move here.
(open_shared): Reflect open_shared arg change in declaration.
winsup/cygwin/ChangeLog
winsup/cygwin/child_info.h
winsup/cygwin/dcrt0.cc
winsup/cygwin/fhandler_console.cc
winsup/cygwin/fork.cc
winsup/cygwin/pinfo.cc
winsup/cygwin/pinfo.h
winsup/cygwin/shared.cc
winsup/cygwin/shared_info.h