Sha256: 4f91c9771724686546dbeb531ecca74a35f17c2b59d7f74a511586af757532bb

Contents?: true

Size: 1.45 KB

Versions: 16

Compression:

Stored size: 1.45 KB

Contents

// Code generated by linux/mkall.go generatePtracePair("mipsle", "mips64le"). DO NOT EDIT.

//go:build linux && (mipsle || mips64le)
// +build linux
// +build mipsle mips64le

package unix

import "unsafe"

// PtraceRegsMipsle is the registers used by mipsle binaries.
type PtraceRegsMipsle struct {
	Regs     [32]uint64
	Lo       uint64
	Hi       uint64
	Epc      uint64
	Badvaddr uint64
	Status   uint64
	Cause    uint64
}

// PtraceGetRegsMipsle fetches the registers used by mipsle binaries.
func PtraceGetRegsMipsle(pid int, regsout *PtraceRegsMipsle) error {
	return ptracePtr(PTRACE_GETREGS, pid, 0, unsafe.Pointer(regsout))
}

// PtraceSetRegsMipsle sets the registers used by mipsle binaries.
func PtraceSetRegsMipsle(pid int, regs *PtraceRegsMipsle) error {
	return ptracePtr(PTRACE_SETREGS, pid, 0, unsafe.Pointer(regs))
}

// PtraceRegsMips64le is the registers used by mips64le binaries.
type PtraceRegsMips64le struct {
	Regs     [32]uint64
	Lo       uint64
	Hi       uint64
	Epc      uint64
	Badvaddr uint64
	Status   uint64
	Cause    uint64
}

// PtraceGetRegsMips64le fetches the registers used by mips64le binaries.
func PtraceGetRegsMips64le(pid int, regsout *PtraceRegsMips64le) error {
	return ptracePtr(PTRACE_GETREGS, pid, 0, unsafe.Pointer(regsout))
}

// PtraceSetRegsMips64le sets the registers used by mips64le binaries.
func PtraceSetRegsMips64le(pid int, regs *PtraceRegsMips64le) error {
	return ptracePtr(PTRACE_SETREGS, pid, 0, unsafe.Pointer(regs))
}

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
ruby_snowflake_client-1.3.7 ext/vendor/golang.org/x/sys/unix/zptrace_mipsnnle_linux.go
ruby_snowflake_client-1.3.6 ext/vendor/golang.org/x/sys/unix/zptrace_mipsnnle_linux.go
ruby_snowflake_client-1.3.5 ext/vendor/golang.org/x/sys/unix/zptrace_mipsnnle_linux.go
ruby_snowflake_client-1.3.4 ext/vendor/golang.org/x/sys/unix/zptrace_mipsnnle_linux.go
ruby_snowflake_client-1.3.4.pre.debug ext/vendor/golang.org/x/sys/unix/zptrace_mipsnnle_linux.go
ruby_snowflake_client-1.3.3.pre.debug ext/vendor/golang.org/x/sys/unix/zptrace_mipsnnle_linux.go
ruby_snowflake_client-1.3.2 ext/vendor/golang.org/x/sys/unix/zptrace_mipsnnle_linux.go
ruby_snowflake_client-1.3.1 ext/vendor/golang.org/x/sys/unix/zptrace_mipsnnle_linux.go
ruby_snowflake_client-1.3.0 ext/vendor/golang.org/x/sys/unix/zptrace_mipsnnle_linux.go
ruby_snowflake_client-1.2.1 ext/vendor/golang.org/x/sys/unix/zptrace_mipsnnle_linux.go
ruby_snowflake_client-1.2.0 ext/vendor/golang.org/x/sys/unix/zptrace_mipsnnle_linux.go
ruby_snowflake_client-1.1.1 ext/vendor/golang.org/x/sys/unix/zptrace_mipsnnle_linux.go
ruby_snowflake_client-1.1.0 ext/vendor/golang.org/x/sys/unix/zptrace_mipsnnle_linux.go
ruby_snowflake_client-1.0.2 ext/vendor/golang.org/x/sys/unix/zptrace_mipsnnle_linux.go
ruby_snowflake_client-1.0.1 ext/vendor/golang.org/x/sys/unix/zptrace_mipsnnle_linux.go
ruby_snowflake_client-1.0.0 ext/vendor/golang.org/x/sys/unix/zptrace_mipsnnle_linux.go