summaryrefslogtreecommitdiff
path: root/support/syscall-gen/types+freebsd-x64.frag
diff options
context:
space:
mode:
Diffstat (limited to 'support/syscall-gen/types+freebsd-x64.frag')
-rw-r--r--support/syscall-gen/types+freebsd-x64.frag8
1 files changed, 8 insertions, 0 deletions
diff --git a/support/syscall-gen/types+freebsd-x64.frag b/support/syscall-gen/types+freebsd-x64.frag
index f899053..5ed178c 100644
--- a/support/syscall-gen/types+freebsd-x64.frag
+++ b/support/syscall-gen/types+freebsd-x64.frag
@@ -32,6 +32,7 @@ type id = int64
type cpulevel = int
type cpusetid = int
type idtype = int
+type sysarchop = int
type acltype = int
type acltag = uint32
@@ -796,5 +797,12 @@ const Sigthr : signo = 32 /* reserved by thread library. */
const Siglwp : signo = Sigthr
const Siglibrt : signo = 33 /* reserved by real-time library. */
+/* sysarch ops */
+const Archamd64getfs : sysarchop = 128
+const Archamd64setfs : sysarchop = 129
+const Archamd64getgs : sysarchop = 130
+const Archamd64setgs : sysarchop = 131
+const Archamd64getxfpu : sysarchop = 131
+
extern const syscall : (sc:scno, args:... -> int64)
extern var __cenvp : byte##