[Vm-dev] Added #primitiveFileStdioHandles to standard VM (was: VM
David T. Lewis
lewis at mail.msen.com
Tue Dec 28 19:22:49 UTC 2010
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
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?
On Tue, Dec 28, 2010 at 08:07:07PM +0000, squeak-dev-noreply at lists.squeakfoundation.org wrote:
> Dave Lewis uploaded a new version of VMMaker to project VM Maker:
> ==================== 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3623 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20101228/52486c3f/sqWin32FilePrims.c.obj
More information about the Vm-dev