| 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 mips64 || mips64le |
| 6 |
|
| 7 |
package runtime |
| 8 |
|
| 9 |
import "unsafe" |
| 10 |
|
| 11 |
// Called from assembly only; declared for go vet. |
| 12 |
func load_g() |
| 13 |
func save_g() |
| 14 |
|
| 15 |
//go:noescape |
| 16 |
func asmcgocall_no_g(fn, arg unsafe.Pointer) |
| 17 |
|
| 18 |
// getfp returns the frame pointer register of its caller or 0 if not implemented. |
| 19 |
// TODO: Make this a compiler intrinsic |
| 20 |
// |
| 21 |
//go:nosplit |
| 22 |
func getfp() uintptr { return 0 } |