blob: 0daffac72f8510e36ba8cab4863dbc0b6ea3473f [file] [log] [blame] [edit]
// Copyright 2018 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package runtime
type generalRegs struct {
r [30]uint64
lr uint64
sp uint64
pc uint64
cpsr uint64
tpidr uint64
}
func (r *generalRegs) rPC() uintptr { return uintptr(r.pc) }
func (r *generalRegs) rSP() uintptr { return uintptr(r.sp) }
func (r *generalRegs) rLR() uintptr { return uintptr(r.lr) }