Files
wazero/internal/engine/wazevo/entrypoint_amd64.go
Takeshi Yoneda 109ee6c8f5 wazevo(amd64): Go function calls (#1961)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
2024-01-25 12:16:57 -08:00

14 lines
680 B
Go

package wazevo
import _ "unsafe"
// entrypoint is implemented by the backend.
//
//go:linkname entrypoint github.com/tetratelabs/wazero/internal/engine/wazevo/backend/isa/amd64.entrypoint
func entrypoint(preambleExecutable, functionExecutable *byte, executionContextPtr uintptr, moduleContextPtr *byte, paramResultStackPtr *uint64, goAllocatedStackSlicePtr uintptr)
// entrypoint is implemented by the backend.
//
//go:linkname afterGoFunctionCallEntrypoint github.com/tetratelabs/wazero/internal/engine/wazevo/backend/isa/amd64.afterGoFunctionCallEntrypoint
func afterGoFunctionCallEntrypoint(executable *byte, executionContextPtr uintptr, stackPointer, framePointer uintptr)