Update of /cvsroot/squeak/squeak/platforms/win32/vm
In directory usw-pr-cvs1:/tmp/cvs-serv9645
Modified Files:
sqPlatformSpecific.h sqWin32Alloc.c
Log Message:
updates for large image files
Index: sqPlatformSpecific.h
===================================================================
RCS file: /cvsroot/squeak/squeak/platforms/win32/vm/sqPlatformSpecific.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** sqPlatformSpecific.h 5 May 2002 17:34:39 -0000 1.6
--- sqPlatformSpecific.h 5 May 2002 18:08:38 -0000 1.7
***************
*** 35,42 ****
int sqImageFileClose(sqImageFile h);
sqImageFile sqImageFileOpen(char *fileName, char *mode);
! int sqImageFilePosition(sqImageFile h);
! int sqImageFileRead(void *ptr, int sz, int count, sqImageFile h);
! int sqImageFileSeek(sqImageFile h, int pos);
! int sqImageFileWrite(void *ptr, int sz, int count, sqImageFile h);
#endif /* WIN32_FILE_SUPPORT */
--- 35,42 ----
int sqImageFileClose(sqImageFile h);
sqImageFile sqImageFileOpen(char *fileName, char *mode);
! squeakFileOffsetType sqImageFilePosition(sqImageFile h);
! size_t sqImageFileRead(void *ptr, size_t sz, size_t count, sqImageFile h);
! squeakFileOffsetType sqImageFileSeek(sqImageFile h, squeakFileOffsetType pos);
! size_t sqImageFileWrite(void *ptr, size_t sz, size_t count, sqImageFile h);
#endif /* WIN32_FILE_SUPPORT */
Index: sqWin32Alloc.c
===================================================================
RCS file: /cvsroot/squeak/squeak/platforms/win32/vm/sqWin32Alloc.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** sqWin32Alloc.c 4 May 2002 23:20:28 -0000 1.3
--- sqWin32Alloc.c 5 May 2002 18:08:38 -0000 1.4
***************
*** 64,71 ****
/* Here, we only reserve the maximum memory to be used
It will later be committed during actual access */
! maxReserved = 2*1024*1024*1024;
/* Ugh. Note. Some people really *are* crazy...
... as if 512MB wouldn't be enough, no sir...
! ... so we give you all we have (2GB) ...
... except a bit for the C allocator ...
*/
--- 64,71 ----
/* Here, we only reserve the maximum memory to be used
It will later be committed during actual access */
! maxReserved = 1*1024*1024*1024;
/* Ugh. Note. Some people really *are* crazy...
... as if 512MB wouldn't be enough, no sir...
! ... so we give you all we have (1GB) ...
... except a bit for the C allocator ...
*/
|