github.com/wasilibs/wazerox@v0.0.0-20240124024944-4923be63ab5f/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 abiImpl.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 uintptr)