[OpenSmalltalk/opensmalltalk-vm] bb553e: Generate the FFI plugin from VMMaker.oscog-nice.27...

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[OpenSmalltalk/opensmalltalk-vm] bb553e: Generate the FFI plugin from VMMaker.oscog-nice.27...

Eliot Miranda-3
  Branch: refs/heads/experimental_FFI
  Home:   https://github.com/OpenSmalltalk/opensmalltalk-vm
  Commit: bb553e22ebd08f8e5696bd8a235e1a6e794cb3f5
  Author: Nicolas Cellier <[hidden email]>
  Date:   2020-06-21 (Sun, 21 Jun 2020)

  Changed paths:
    M src/plugins/SqueakFFIPrims/ARM32FFIPlugin.c
    M src/plugins/SqueakFFIPrims/ARM64FFIPlugin.c
    M src/plugins/SqueakFFIPrims/IA32FFIPlugin.c
    M src/plugins/SqueakFFIPrims/SqueakFFIPrims.c
    M src/plugins/SqueakFFIPrims/X64SysVFFIPlugin.c
    M src/plugins/SqueakFFIPrims/X64Win64FFIPlugin.c

  Log Message:
  Generate the FFI plugin from VMMaker.oscog-nice.2763 experiments

This includes quite many changes, among them
- wrap returned atomic type alias values into the type alias referentClass
- accept a limited combinations of flags Atomic+Pointer+Struct
  a type must be either atomic or composite(struct) but not both, nor neither
  all struct types must refer to an ExternalStruct referentClass
  (opaque structure can be handled via void * or whatever)
- accept ExternalData even for passing parameters by value
  This is to support usage of External variables (static variables exported by the library)

See following link to VMMaker changes for more details