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

Nicolas Cellier noreply at github.com
Sun Jun 21 19:51:28 UTC 2020


  Branch: refs/heads/experimental_FFI
  Home:   https://github.com/OpenSmalltalk/opensmalltalk-vm
  Commit: bb553e22ebd08f8e5696bd8a235e1a6e794cb3f5
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/bb553e22ebd08f8e5696bd8a235e1a6e794cb3f5
  Author: Nicolas Cellier <nicolas.cellier.aka.nice at gmail.com>
  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
https://source.squeak.org/VMMakerInbox/VMMaker.oscog-nice.2763.diff




More information about the Vm-dev mailing list