summaryrefslogtreecommitdiffstats
path: root/sys/sys/sysent.h
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-12-13 22:41:47 +0000
committeralfred <alfred@FreeBSD.org>2002-12-13 22:41:47 +0000
commit4f48184fb2c8948c406b21c3f802b5b281cef957 (patch)
treea1ef524330ea7e253fb665abea3ddb594cde69fc /sys/sys/sysent.h
parentd19b4e039d47537b44233aae83d03b974d29d771 (diff)
downloadFreeBSD-src-4f48184fb2c8948c406b21c3f802b5b281cef957.zip
FreeBSD-src-4f48184fb2c8948c406b21c3f802b5b281cef957.tar.gz
Backout removal SCARGS, the code freeze is only "selectively" over.
Diffstat (limited to 'sys/sys/sysent.h')
-rw-r--r--sys/sys/sysent.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/sys/sysent.h b/sys/sys/sysent.h
index 7206c6f..bbc6b2f 100644
--- a/sys/sys/sysent.h
+++ b/sys/sys/sysent.h
@@ -48,6 +48,9 @@ struct sysent { /* system call table */
#define SYF_ARGMASK 0x0000FFFF
#define SYF_MPSAFE 0x00010000
+#define SCARG(p,k) ((p)->k) /* get arg from args pointer */
+ /* placeholder till we integrate rest of lite2 syscallargs changes XXX */
+
struct image_params;
struct __sigset;
struct trapframe;
OpenPOWER on IntegriCloud