summaryrefslogtreecommitdiff
path: root/sys/dev/microcode
diff options
context:
space:
mode:
authorchs <chs@NetBSD.org>2016-04-26 14:29:58 +0000
committerchs <chs@NetBSD.org>2016-04-26 14:29:58 +0000
commit4be37c6cfe1cea6d2ebb9f4a23e5741d109342bc (patch)
tree16a5234edbcb822dc2beccb2eccec59a45a270e0 /sys/dev/microcode
parent58fe022e117222674f6ee825d6bdc884238afe57 (diff)
the netbsd version of PT_LWPINFO is different from the freebsd version
in that we use lp_lwpid as an input to say which lwp to operate on. freebsd passes the lwpid as the pid, which works fine there since freebsd has globally unique LWP IDs which are also distinct from process IDs. the libproc interface that uses this ptrace() call is only supposed to return info for the process's representative LWP, so just initialize pl_lwpid to 1 before using it.
Diffstat (limited to 'sys/dev/microcode')
0 files changed, 0 insertions, 0 deletions