github.com/twelsh-aw/go/src@v0.0.0-20230516233729-a56fe86a7c81/runtime/stubs_riscv64.go (about)

     1  // Copyright 2022 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package runtime
     6  
     7  // Called from assembly only; declared for go vet.
     8  func load_g()
     9  func save_g()
    10  
    11  // Used by reflectcall and the reflect package.
    12  //
    13  // Spills/loads arguments in registers to/from an internal/abi.RegArgs
    14  // respectively. Does not follow the Go ABI.
    15  func spillArgs()
    16  func unspillArgs()
    17  
    18  // getcallerfp returns the address of the frame pointer in the callers frame or 0 if not implemented.
    19  func getcallerfp() uintptr { return 0 }