Dave Lewis uploaded a new version of VMMaker to project VM Maker: http://www.squeaksource.com/VMMaker/VMMaker-dtl.213.mcz
==================== Summary ====================
Name: VMMaker-dtl.213 Author: dtl Time: 28 December 2010, 2:06:59 am UUID: f2524f34-cfcb-46ea-80b6-81402f9a875f Ancestors: VMMaker-dtl.212
VMMaker 4.4.4
Add FilePlugin>>primitiveFileStdioHandles adapted from oscog. Reference Mantis 0007591: Add #primitiveFileStdioHandles to standard VM
Notes r.e. adopting the oscog implementation of primitiveFileStdioHandles:
Cog primitive uses "interpreterProxy topRemappableOop" which is defined for VM_PROXY_MINOR > 9 but standard VM support code is at VM_PROXY_MINOR 8 (Cog is at VM_PROXY_MINOR 11). Work around this by popping and pushing the result array rather than using topRemappableOop.
Cog uses primitive failure return codes not yet supported in the interpreter VM. The primitive return codes need to be adopted in standard VM but this is not yet done.
This VMMaker update adds primitiveFileStdioHandles from Cog to the standard VM (Mantis 7591).
I updated trunk/platforms/Cross/plugins/FilePlugin/sqFilePluginBasicPrims.c with the necessary patch for Unix/Mac. An additional patch is required for platforms/win32/plugins/FilePlugin/sqWin32FilePrims.c
Andreas, I have attached the patched file for Windows, but have not tested it. Can you please review and apply it to platforms/win32? Thanks.
I note that the commit notice for sqFilePluginBasicPrims.c has not yet showed up on the vm-dev list, so possibly something is not running on the squeakvm.org server?
Dave
On Tue, Dec 28, 2010 at 08:07:07PM +0000, squeak-dev-noreply@lists.squeakfoundation.org wrote:
Dave Lewis uploaded a new version of VMMaker to project VM Maker: http://www.squeaksource.com/VMMaker/VMMaker-dtl.213.mcz
==================== Summary ====================
Name: VMMaker-dtl.213 Author: dtl Time: 28 December 2010, 2:06:59 am UUID: f2524f34-cfcb-46ea-80b6-81402f9a875f Ancestors: VMMaker-dtl.212
VMMaker 4.4.4
Add FilePlugin>>primitiveFileStdioHandles adapted from oscog. Reference Mantis 0007591: Add #primitiveFileStdioHandles to standard VM
Notes r.e. adopting the oscog implementation of primitiveFileStdioHandles:
Cog primitive uses "interpreterProxy topRemappableOop" which is defined for VM_PROXY_MINOR > 9 but standard VM support code is at VM_PROXY_MINOR 8 (Cog is at VM_PROXY_MINOR 11). Work around this by popping and pushing the result array rather than using topRemappableOop.
Cog uses primitive failure return codes not yet supported in the interpreter VM. The primitive return codes need to be adopted in standard VM but this is not yet done.
vm-dev@lists.squeakfoundation.org