mirror of
https://github.com/rwinkhart/sys.git
synced 2026-09-03 07:37:34 -04:00
unix: add CPU states constants on netbsd
Generated on NetBSD 9.0 Also add the sys/sched.h include in includes_FreeBSD in mkerrors.sh which was missing in CL 244518. Change-Id: I257e103849f9e0c6bbf1061eaaa187e277188f84 Reviewed-on: https://go-review.googlesource.com/c/sys/+/245217 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Benny Siegert <bsiegert@gmail.com>
This commit is contained in:
committed by
Tobias Klauser
parent
2d971f7391
commit
3e129f6d46
@@ -158,6 +158,12 @@ const (
|
||||
CLONE_SIGHAND = 0x800
|
||||
CLONE_VFORK = 0x4000
|
||||
CLONE_VM = 0x100
|
||||
CPUSTATES = 0x5
|
||||
CP_IDLE = 0x4
|
||||
CP_INTR = 0x3
|
||||
CP_NICE = 0x1
|
||||
CP_SYS = 0x2
|
||||
CP_USER = 0x0
|
||||
CREAD = 0x800
|
||||
CRTSCTS = 0x10000
|
||||
CS5 = 0x0
|
||||
|
||||
Reference in New Issue
Block a user