sys/inttypes.h sys/atomic.h sys/machtypes.h sys/elf.h sys/mkdev.h \
sys/klog.h sys/zone.h sys/processor.h sys/pset.h sys/rctl.h sys/task.h \
sys/exacct.h sys/acct.h sys/acctctl.h sys/utssys.h sys/corectl.h \
- sys/port.h sys/acl.h sys/tsol/label.h sys/loadavg.h sys/fsid.h sys/fstyp.h
+ sys/port.h sys/port_impl.h sys/acl.h sys/tsol/label.h sys/loadavg.h \
+ sys/fsid.h sys/fstyp.h
sysdep_headers += rtld_db.h pcsample.h atomic.h bits/machtypes.h door.h \
ucred.h priv.h zone.h port.h deflt.h procfs.h rctl.h
headers := $(filter-out sys/sysinfo.h sys/xattr.h, $(headers))
02111-1307 USA. */
#include <inline-syscall.h>
-#include <portP.h>
#include <port.h>
+#include <sys/port_impl.h>
/* SYS_port returns a 64-bit int but the port_* calls return a 32-bit int, so
we can't implement these directly in syscalls.list. Whenever the 2nd
+++ /dev/null
-/* Copyright (C) 2008 Free Software Foundation, Inc.
- This file is part of the GNU C Library.
- Contributed by David Bartley <dtbartle@csclub.uwaterloo.ca>, 2008.
-
- The GNU C Library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- The GNU C Library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
-
-#ifndef _PORTP_H
-#define _PORTP_H
-
-#define PORT_SYS_NOPORT 0x100
-#define PORT_MAX_LIST 8192
-
-#endif /* _PORTP_H */
--- /dev/null
+/* Copyright (C) 2009 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, write to the Free
+ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ 02111-1307 USA. */
+
+#ifndef _SYS_PORT_IMPL_H
+#define _SYS_PORT_IMPL_H
+
+#include <sys/port.h>
+
+#define PORT_CREATE 0
+#define PORT_ASSOCIATE 1
+#define PORT_DISSOCIATE 2
+#define PORT_SEND 3
+#define PORT_SENDN 4
+#define PORT_GET 5
+#define PORT_GETN 6
+#define PORT_ALERT 7
+#define PORT_DISPATCH 8
+
+#define PORT_SYS_NOPORT 0x0100
+#define PORT_SYS_NOSHARE 0x0200
+#define PORT_CODE_MASK 0xFF
+#define PORT_SHARE_EVENT 0x01
+#define PORT_MAX_LIST 8192
+
+#endif /* _SYS_PORT_IMPL_H */