This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
src/winsup/cygwin ChangeLog.64bit cygheap.h fo ...
- From: corinna at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: 8 Nov 2012 17:25:48 -0000
- Subject: src/winsup/cygwin ChangeLog.64bit cygheap.h fo ...
CVSROOT: /cvs/src
Module name: src
Branch: cygwin-64bit-branch
Changes by: corinna@sourceware.org 2012-11-08 17:25:48
Modified files:
winsup/cygwin : ChangeLog.64bit cygheap.h fork.cc heap.cc
hookapi.cc kernel32.cc fhandler.h mtinfo.h
fhandler_tape.cc
Log message:
* cygheap.h (struct user_heap_info): Change type of chunk to SIZE_T.
Remove unused slop member.
* fork.cc (fork): Rename esp to stackp. Add 64 bit asm expression to
fetch stack pointer.
(child_copy): Use platform independent types.
* heap.cc (eval_start_address): Add comment. Disable 3GB code on 64 bit.
(eval_initial_heap_size): Use platform independent types. Fix debug
printf format strings.
(sbrk): Add comment. Change argument type according to newlib
definition. Use platform independent types. Drop unneeded else and
move comment to the right spot.
* hookapi.cc (PEHeaderFromHModule): Return PVOID. Add comment to
explain why. Add bool parameter to return if target executable is
64 bit or not.
(rvadelta_get): New inline function to fetch section address platform
independent.
(rvadelta32, rvadelta64): Platform dependent wrappers.
(rvadelta): Change to macro calling the platform dependent rvadelta
wrappers.
(putmem): Define platform dependent THUNK_FUNC_TYPE and use throughout.
(RedirectIAT): Add comment.
(get_export): Add comment.
(find_first_notloaded_dll): Allow to fetch information in a platform
and target independent way.
(hook_or_detect_cygwin): Ditto. Recognize the cyg64win1.dll file name
as well.
* kernel32.cc (CreateFileMappingW): Cast to avoid compiler warning.
* fhandler.h (class fhandler_dev_tape): Replace mt_evt with an
OVERLAPPED structure ov.
* mtinfo.h (class mtinfo_part): Define members as int32_t rather than
long. Change member function declarations accordingly.
(class mtinfo_drive): Ditto. Store OVERLAPPED pointer rather than
holding the full structure. Add comment to explain why.
* fhandler_tape.cc: Accommodate above changes throughout.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.64bit.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.1.2.29&r2=1.1.2.30
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygheap.h.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.161.2.3&r2=1.161.2.4
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fork.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.237&r2=1.237.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/heap.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.65&r2=1.65.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/hookapi.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.29.2.1&r2=1.29.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/kernel32.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.11&r2=1.11.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.h.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.473.2.5&r2=1.473.2.6
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/mtinfo.h.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.12&r2=1.12.10.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_tape.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.83.2.3&r2=1.83.2.4