github.com/bananabytelabs/wazero@v0.0.0-20240105073314-54b22a776da8/internal/engine/wazevo/entrypoint_arm64.go (about)

     1  package wazevo
     2  
     3  import _ "unsafe"
     4  
     5  // entrypoint is implemented by the backend.
     6  //
     7  //go:linkname entrypoint github.com/bananabytelabs/wazero/internal/engine/wazevo/backend/isa/arm64.entrypoint
     8  func entrypoint(preambleExecutable, functionExecutable *byte, executionContextPtr uintptr, moduleContextPtr *byte, paramResultStackPtr *uint64, goAllocatedStackSlicePtr uintptr)
     9  
    10  // entrypoint is implemented by the backend.
    11  //
    12  //go:linkname afterGoFunctionCallEntrypoint github.com/bananabytelabs/wazero/internal/engine/wazevo/backend/isa/arm64.afterGoFunctionCallEntrypoint
    13  func afterGoFunctionCallEntrypoint(executable *byte, executionContextPtr uintptr, stackPointer uintptr)