src/winsup/cygwin ChangeLog.64bit fhandler_pro ...
CVSROOT:/cvs/src Module name:src Branch: cygwin-64bit-branch Changes by: cori...@sourceware.org 2012-12-13 18:45:41 Modified files: winsup/cygwin : ChangeLog.64bit fhandler_process.cc pinfo.cc pinfo.h Log message: * pinfo.h (enum picom): Add PICOM_HEAP_INFO. (_pinfo::win_heap_info): Declare. (struct win_heap_info): Rename from heap_info and define here. Change to accommodate 64 bit. * fhandler_process.cc (struct win_heap_info): Just implement here. (win_heap_info::gen_heap_info): New method. (format_process_maps): Accommodate above changes. Add FIXME comment to explain 32->64 bit problem with VirtualQueryEx. * pinfo.cc (commune_process): Handle PICOM_HEAP_INFO. (_pinfo::commune_request): Ditto. (_pinfo::win_heap_info): New method. 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.61&r2=1.1.2.62 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_process.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.120.2.7&r2=1.120.2.8 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/pinfo.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.309.2.6&r2=1.309.2.7 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/pinfo.h.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.128.2.3&r2=1.128.2.4
src/winsup/cygwin ChangeLog.64bit fhandler_pro ...
CVSROOT:/cvs/src Module name:src Branch: cygwin-64bit-branch Changes by: cori...@sourceware.org 2012-11-12 17:26:25 Modified files: winsup/cygwin : ChangeLog.64bit fhandler_proc.cc fhandler_process.cc mmap.cc nlsfuncs.cc ntdll.h pinfo.cc select.cc sysconf.cc wincap.h wow64.cc dlfcn.cc winsup/cygwin/regex: regcomp.c engine.c Log message: * dlfcn.cc (dlopen): Change cast to accommodate type change in ntdll.h * fhandler_process.cc (thread_info::thread_info): Change type of local variable size to ULONG to match NtQuerySystemInformation call. Add cast to avoid compiler warnings. (get_process_state): Add cast to avoid compiler warnings. Accommodate name change of NextEntryOffset member of PSYSTEM_PROCESS_INFORMATION structure. * mmap.cc: Add casts to avoid compiler warnings. (mlock): Change type of local variables min and max to match GetProcessWorkingSetSize call. * nlsfuncs.cc (__collate_range_cmp): Add casts to avoid compiler warnings. * ntdll.h: Drop accommodations for Mingw32. Fix a couple of formatting glitches. Add a comment to all structures explicitely tested on 64 bit. (SYSTEM_INFORMATION_CLASS): Change SystemProcessesAndThreadsInformation to SystemProcessInformation and SystemProcessorTimes to SystemProcessorPerformanceInformation to match MSDN. (SYSTEM_BASIC_INFORMATION): Fix member types to match 64 bit. (SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION): Rename from SYSTEM_PROCESSOR_TIMES to use official name from MSDN. Accommodate throughout. Drop unneeded align attribute. (VM_COUNTERS): Fix member types to match 64 bit. (SYSTEM_PROCESS_INFORMATION): Rename from SYSTEM_PROCESSES to use official name from MSDN. Fix member types to match 64 bit. Change member names to match MSDN and Mingw64. Accommodate throughout. (IO_STATUS_BLOCK): Change to use MSDN definition. (SYSTEM_TIMEOFDAY_INFORMATION): Rename from SYSTEM_TIME_OF_DAY_INFORMATION to use official name from MSDN. Accommodate throughout. Add Reserved1 area per MSDN. (LDR_DATA_TABLE_ENTRY): Add comment for future reference. Change type of LoadCount to USHORT. (PEB_LDR_DATA): Change type of Initialized to BOOLEAN. Add comment for future reference. (PEB): Fix member types to match 64 bit. (GDI_TEB_BATCH): New type. (TEB): Fix member types to match 64 bit. (PROCESS_BASIC_INFORMATION): Ditto. (MEMORY_WORKING_SET_LIST): Ditto. (SharedUserData): Change comment to note the fact that the address is valid on 32 and 64 bit. * pinfo.cc (winpids::enum_processes): Add cast to avoid compiler warnings. * select.cc (pipe_data_available): Add braces in initalization of an IO_STATUS_BLOCK to match new definition. * wincap.h (class wincapc): Change type of wow64 to ULONG_PTR to match MSDN description. (wincapc::is_wow64): Convert return value explicitely to bool. * wow64.cc (wow64_test_for_64bit_parent): Change type of wow64 to ULONG_PTR to match MSDN description. Add a cast to avoid compiler warning. * regex/engine.c: Avoid compiler warnings about unused and potentially uninitialized variables. * regex/regcomp.c: Ditto. Drop unnecessary definition of LCID. 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.33&r2=1.1.2.34 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_proc.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.115.2.2&r2=1.115.2.3 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_process.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.120.2.4&r2=1.120.2.5 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/mmap.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.177.2.2&r2=1.177.2.3 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/nlsfuncs.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.36&r2=1.36.2.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ntdll.h.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.141.2.4&r2=1.141.2.5 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/pinfo.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.309.2.3&r2=1.309.2.4 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/select.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.207&r2=1.207.2.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/sysconf.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.63&r2=1.63.2.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/winca
src/winsup/cygwin ChangeLog.64bit fhandler_pro ...
CVSROOT:/cvs/src Module name:src Branch: cygwin-64bit-branch Changes by: cori...@sourceware.org 2012-11-07 14:52:00 Modified files: winsup/cygwin : ChangeLog.64bit fhandler_process.cc Log message: * fhandler_process.cc (heap_info::heap_info): Add comment to explain a TODO item. 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.26&r2=1.1.2.27 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_process.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.120.2.3&r2=1.120.2.4
src/winsup/cygwin ChangeLog.64bit fhandler_pro ...
CVSROOT:/cvs/src Module name:src Branch: cygwin-64bit-branch Changes by: cori...@sourceware.org 2012-11-07 09:43:10 Modified files: winsup/cygwin : ChangeLog.64bit fhandler_procsysvipc.cc Log message: * fhandler_procsysvipc.cc (format_procsysvipc_msg): Fix printf format string for 32 bit as well. 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.25&r2=1.1.2.26 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_procsysvipc.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.5.2.2&r2=1.5.2.3
src/winsup/cygwin ChangeLog.64bit fhandler_pro ...
CVSROOT:/cvs/src Module name:src Branch: cygwin-64bit-branch Changes by: cori...@sourceware.org 2012-11-07 09:40:15 Modified files: winsup/cygwin : ChangeLog.64bit fhandler_procsysvipc.cc fhandler_registry.cc fhandler_serial.cc winsup/cygwin/include/cygwin: ipc.h msg.h sem.h shm.h Log message: * fhandler_procsysvipc.cc (format_procsysvipc_msg): Fix printf format string for 64 bit. * fhandler_registry.cc (fhandler_registry::readdir): Fix cast. * fhandler_serial.cc (ibuf): Avoid compiler warning. * include/cygwin/ipc.h: Include stdint.h. * include/cygwin/msg.h (msgqnum_t): Define as uint32_t. (msglen_t): Ditto. (struct msginfo): Convert all long members to int32_t. (struct msg_info): Ditto. * include/cygwin/sem.h (struct seminfo): Ditto. * include/cygwin/shm.h (shmatt_t): Define as uint32_t. (struct shmid_ds): Define shm_segsz as uint32_t. (struct shminfo): Convert all long members to int32_t. 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.24&r2=1.1.2.25 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_procsysvipc.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.5.2.1&r2=1.5.2.2 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_registry.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.75.2.1&r2=1.75.2.2 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_serial.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.89&r2=1.89.2.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/cygwin/ipc.h.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.7&r2=1.7.20.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/cygwin/msg.h.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.3&r2=1.3.28.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/cygwin/sem.h.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.3&r2=1.3.28.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/cygwin/shm.h.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.3&r2=1.3.28.1
src/winsup/cygwin ChangeLog.64bit fhandler_pro ...
CVSROOT:/cvs/src Module name:src Branch: cygwin-64bit-branch Changes by: cori...@sourceware.org 2012-11-05 20:17:09 Modified files: winsup/cygwin : ChangeLog.64bit fhandler_process.cc fhandler_procnet.cc ntdll.h winsup/cygwin/include: inttypes.h limits.h stdint.h winsup/cygwin/include/asm: byteorder.h winsup/cygwin/include/bits: wordsize.h winsup/cygwin/include/cygwin: signal.h types.h Log message: * fhandler_process.cc: Fix debug printf calls to be type safe. Add casts to avoid compiler warnings. (get_mem_values): Avoid using ULONG_MAX since it's NOT matching ULONG on 64 bit. * fhandler_procnet.cc (fhandler_procnet::open): Fix syscall_printf call to be type safe. (format_procnet_ifinet6): Add cast to avoid compiler warnings. * ntdll.h (struct _DEBUG_HEAP_BLOCK): Change Address to ULONG_PTR. * include/bits/wordsize.h: Fix __WORDSIZE definition for x86_64. Add __WORDSIZE_COMPAT32 as on Linux. * include/inttypes.h: Include bits/wordsize.h. Use __WORDSIZE check where appropriate. * include/limits.h: Include bits/wordsize.h. (CHAR_BIT): Change definition to rely on default compiler definition. (LONG_BIT): Ditto. (WORD_BIT): Ditto. (__LONG_MAX__): Use __WORDSIZE check. (RTSIG_MAX): Ditto. * include/stdint.h: Include bits/wordsize.h. Use __WORDSIZE check where appropriate. * include/cygwin/signal.h: Ditto. * include/cygwin/types.h: Ditto. * include/asm/byteorder.h (__ntohl): Use bswap instruction, available since i486. (__ntohs): Fix constraint to work on 64 bit CPU as well. 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.22&r2=1.1.2.23 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_process.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.120.2.2&r2=1.120.2.3 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_procnet.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.18.2.2&r2=1.18.2.3 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ntdll.h.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.141.2.2&r2=1.141.2.3 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/inttypes.h.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.6&r2=1.6.2.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/limits.h.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.27.4.2&r2=1.27.4.3 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/stdint.h.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.14&r2=1.14.2.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/asm/byteorder.h.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.13&r2=1.13.6.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/bits/wordsize.h.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.1&r2=1.1.8.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/cygwin/signal.h.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.19.4.3&r2=1.19.4.4 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/cygwin/types.h.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.35.4.1&r2=1.35.4.2