github.com/lovishpuri/go-40569/src@v0.0.0-20230519171745-f8623e7c56cf/runtime/stubs_ppc64x.go (about)

     1  // Copyright 2019 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  //go:build ppc64le || ppc64
     6  
     7  package runtime
     8  
     9  // Called from assembly only; declared for go vet.
    10  func load_g()
    11  func save_g()
    12  func reginit()
    13  
    14  // Spills/loads arguments in registers to/from an internal/abi.RegArgs
    15  // respectively. Does not follow the Go ABI.
    16  func spillArgs()
    17  func unspillArgs()
    18  
    19  // getcallerfp returns the address of the frame pointer in the callers frame or 0 if not implemented.
    20  func getcallerfp() uintptr { return 0 }