4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-19 21:09:22 +08:00
Corinna Vinschen 6d11044c63 * fhandler.h (class fhandler_base): Declare fixup_mmap_after_fork
with additional flags parameter.  Change offset parameter to _off64_t.
	(class fhandler_disk_file): Ditto.
	(class fhandler_dev_mem): Ditto.
	* fhandler_mem.cc (fhandler_dev_mem::fixup_mmap_after_fork):
	Accomodate new parameters.
	* mmap.cc: Include ntdll.h.
	(class mmap_record): Add flags member.
	(mmap_record::mmap_record): Add flags parameter.
	(mmap_record::get_flags): New method.
	(class map): Add next_anon_addr member to store next anonymous mapping
	address suggestion.
	(map::get_next_anon_addr): New method.
	(map::set_next_anon_addr): New method.
	(mmap64): Don't align offset and length to granularity in case of
	MAP_ANONYMOUS on NT.  Check for already existing mapping only on 9x.
	Call mmap_record::mmap_record with additional flags argument.
	(fhandler_base::fixup_mmap_after_fork): Accomodate new parameters.
	(fhandler_disk_file::mmap): Use NtMapViewOfSection with
	AT_ROUND_TO_PAGE flag for anonymous mappings on NT.  If addr is NULL,
	try to map adjacent to previous mapping.
	(fhandler_disk_file::fixup_mmap_after_fork): Add flags argument.
	Change offset parameter to _off64_t.  Use NtMapViewOfSection to
	re-create anonymous mappings on NT.
	(fixup_mmaps_after_fork): Accomodate new parameters when calling
	fhandler's fixup_mmaps_after_fork function.
	* ntdll.h (AT_ROUND_TO_PAGE): New define.
2005-02-25 21:23:15 +00:00
..
2004-12-05 02:30:20 +00:00
2004-01-20 03:11:39 +00:00
2005-02-20 04:25:33 +00:00
2005-02-20 04:25:33 +00:00
2005-02-20 04:25:33 +00:00
2005-02-13 18:17:29 +00:00
2005-02-23 17:39:46 +00:00
2005-02-23 22:14:40 +00:00
2005-02-23 17:59:04 +00:00
2004-05-12 16:21:18 +00:00
2005-02-20 04:25:33 +00:00
2005-02-20 04:25:33 +00:00
2005-02-20 04:25:33 +00:00
2005-02-13 18:17:29 +00:00
2005-02-20 04:25:33 +00:00
2005-02-20 04:25:33 +00:00
2005-02-20 04:25:33 +00:00
2005-02-13 18:17:29 +00:00
2005-02-13 18:17:29 +00:00
2005-02-20 04:25:33 +00:00
2004-03-14 05:35:19 +00:00
2004-12-05 02:30:20 +00:00
2005-02-20 04:25:33 +00:00
2005-02-20 04:25:33 +00:00
2005-02-20 04:25:33 +00:00
2004-02-04 22:40:50 +00:00
2005-02-23 17:39:46 +00:00
2005-02-22 19:45:41 +00:00
2005-02-20 04:25:33 +00:00
2005-02-13 18:17:29 +00:00
2005-02-20 04:25:33 +00:00
2005-02-20 04:25:33 +00:00
2005-02-20 04:25:33 +00:00
2003-07-07 05:32:24 +00:00
2004-04-16 21:22:13 +00:00
2005-02-20 04:25:33 +00:00
2005-02-20 04:25:33 +00:00
2005-02-20 04:25:33 +00:00
2004-12-27 19:03:56 +00:00
2004-07-20 16:08:49 +00:00
2005-01-03 18:11:00 +00:00
2005-02-20 04:25:33 +00:00
2005-02-20 04:25:33 +00:00
2005-02-20 04:25:33 +00:00
2004-12-27 19:03:56 +00:00
2005-02-23 13:12:43 +00:00
2005-02-20 04:25:33 +00:00
2005-01-06 16:36:40 +00:00
2004-05-16 16:38:27 +00:00