github.com/tetratelabs/wazero@v1.7.1/internal/engine/wazevo/backend/isa/amd64/abi_entry_amd64.go (about)

     1  package amd64
     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)