github.com/wasilibs/wazerox@v0.0.0-20240124024944-4923be63ab5f/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/wasilibs/wazerox/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/wasilibs/wazerox/internal/engine/wazevo/backend/isa/arm64.afterGoFunctionCallEntrypoint
    13  func afterGoFunctionCallEntrypoint(executable *byte, executionContextPtr uintptr, stackPointer uintptr)