mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-05-01 07:12:47 +03:00
66d97267c7
This excludes all headers in /usr/include/dev because that directory is bonkers huge (18M). We can add these on an as-needed basis.
28 lines
513 B
C
Vendored
28 lines
513 B
C
Vendored
/* $OpenBSD: sysarch.h,v 1.14 2018/01/07 18:54:44 guenther Exp $ */
|
|
/* $NetBSD: sysarch.h,v 1.1 2003/04/26 18:39:48 fvdl Exp $ */
|
|
|
|
#ifndef _MACHINE_SYSARCH_H_
|
|
#define _MACHINE_SYSARCH_H_
|
|
|
|
/*
|
|
* Architecture specific syscalls (amd64)
|
|
*/
|
|
#define AMD64_IOPL 2
|
|
|
|
struct amd64_iopl_args {
|
|
int iopl;
|
|
};
|
|
|
|
#ifdef _KERNEL
|
|
int amd64_iopl(struct proc *, void *, register_t *);
|
|
#else
|
|
|
|
#include <sys/cdefs.h>
|
|
|
|
__BEGIN_DECLS
|
|
int amd64_iopl(int);
|
|
int sysarch(int, void *);
|
|
__END_DECLS
|
|
#endif
|
|
|
|
#endif /* !_MACHINE_SYSARCH_H_ */ |