github.com/tetratelabs/wazero@v1.7.3-0.20240513003603-48f702e154b5/internal/engine/wazevo/backend/isa/arm64/abi_entry_arm64.go (about)

     1  package arm64
     2  
     3  // entrypoint enters the machine code generated by this backend which begins with the preamble generated by functionABI.EmitGoEntryPreamble below.
     4  // This implements wazevo.entrypoint, and see the comments there for detail.
     5  func entrypoint(preambleExecutable, functionExecutable *byte, executionContextPtr uintptr, moduleContextPtr *byte, paramResultPtr *uint64, goAllocatedStackSlicePtr uintptr)
     6  
     7  // afterGoFunctionCallEntrypoint enters the machine code after growing the stack.
     8  // This implements wazevo.afterGoFunctionCallEntrypoint, and see the comments there for detail.
     9  func afterGoFunctionCallEntrypoint(executable *byte, executionContextPtr uintptr, stackPointer, framePointer uintptr)