From bd5969fc876a10b18613302db7087ef3c40f18e1 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Thu, 7 Mar 2024 17:28:00 -0500 Subject: lib: Add mlibc Signed-off-by: Ian Moffett --- lib/mlibc/sysdeps/dripos/include/abi-bits/access.h | 1 + lib/mlibc/sysdeps/dripos/include/abi-bits/auxv.h | 1 + lib/mlibc/sysdeps/dripos/include/abi-bits/blkcnt_t.h | 1 + lib/mlibc/sysdeps/dripos/include/abi-bits/blksize_t.h | 1 + lib/mlibc/sysdeps/dripos/include/abi-bits/clockid_t.h | 1 + lib/mlibc/sysdeps/dripos/include/abi-bits/dev_t.h | 1 + lib/mlibc/sysdeps/dripos/include/abi-bits/epoll.h | 1 + lib/mlibc/sysdeps/dripos/include/abi-bits/errno.h | 1 + lib/mlibc/sysdeps/dripos/include/abi-bits/fcntl.h | 1 + lib/mlibc/sysdeps/dripos/include/abi-bits/fsblkcnt_t.h | 1 + lib/mlibc/sysdeps/dripos/include/abi-bits/fsfilcnt_t.h | 1 + lib/mlibc/sysdeps/dripos/include/abi-bits/gid_t.h | 1 + lib/mlibc/sysdeps/dripos/include/abi-bits/in.h | 1 + lib/mlibc/sysdeps/dripos/include/abi-bits/ino_t.h | 1 + lib/mlibc/sysdeps/dripos/include/abi-bits/inotify.h | 1 + lib/mlibc/sysdeps/dripos/include/abi-bits/ioctls.h | 1 + lib/mlibc/sysdeps/dripos/include/abi-bits/limits.h | 1 + lib/mlibc/sysdeps/dripos/include/abi-bits/mode_t.h | 1 + lib/mlibc/sysdeps/dripos/include/abi-bits/mqueue.h | 1 + lib/mlibc/sysdeps/dripos/include/abi-bits/msg.h | 1 + lib/mlibc/sysdeps/dripos/include/abi-bits/nlink_t.h | 1 + lib/mlibc/sysdeps/dripos/include/abi-bits/packet.h | 1 + lib/mlibc/sysdeps/dripos/include/abi-bits/pid_t.h | 1 + lib/mlibc/sysdeps/dripos/include/abi-bits/poll.h | 1 + lib/mlibc/sysdeps/dripos/include/abi-bits/ptrace.h | 1 + lib/mlibc/sysdeps/dripos/include/abi-bits/resource.h | 1 + lib/mlibc/sysdeps/dripos/include/abi-bits/seek-whence.h | 1 + lib/mlibc/sysdeps/dripos/include/abi-bits/shm.h | 1 + lib/mlibc/sysdeps/dripos/include/abi-bits/signal.h | 1 + lib/mlibc/sysdeps/dripos/include/abi-bits/socket.h | 1 + lib/mlibc/sysdeps/dripos/include/abi-bits/socklen_t.h | 1 + lib/mlibc/sysdeps/dripos/include/abi-bits/stat.h | 1 + lib/mlibc/sysdeps/dripos/include/abi-bits/statfs.h | 1 + lib/mlibc/sysdeps/dripos/include/abi-bits/statvfs.h | 1 + lib/mlibc/sysdeps/dripos/include/abi-bits/suseconds_t.h | 1 + lib/mlibc/sysdeps/dripos/include/abi-bits/termios.h | 1 + lib/mlibc/sysdeps/dripos/include/abi-bits/time.h | 1 + lib/mlibc/sysdeps/dripos/include/abi-bits/uid_t.h | 1 + lib/mlibc/sysdeps/dripos/include/abi-bits/utsname.h | 1 + lib/mlibc/sysdeps/dripos/include/abi-bits/vm-flags.h | 1 + lib/mlibc/sysdeps/dripos/include/abi-bits/wait.h | 1 + lib/mlibc/sysdeps/dripos/include/abi-bits/xattr.h | 1 + lib/mlibc/sysdeps/dripos/include/mlibc/thread-entry.hpp | 10 ++++++++++ 43 files changed, 52 insertions(+) create mode 120000 lib/mlibc/sysdeps/dripos/include/abi-bits/access.h create mode 120000 lib/mlibc/sysdeps/dripos/include/abi-bits/auxv.h create mode 120000 lib/mlibc/sysdeps/dripos/include/abi-bits/blkcnt_t.h create mode 120000 lib/mlibc/sysdeps/dripos/include/abi-bits/blksize_t.h create mode 120000 lib/mlibc/sysdeps/dripos/include/abi-bits/clockid_t.h create mode 120000 lib/mlibc/sysdeps/dripos/include/abi-bits/dev_t.h create mode 120000 lib/mlibc/sysdeps/dripos/include/abi-bits/epoll.h create mode 120000 lib/mlibc/sysdeps/dripos/include/abi-bits/errno.h create mode 120000 lib/mlibc/sysdeps/dripos/include/abi-bits/fcntl.h create mode 120000 lib/mlibc/sysdeps/dripos/include/abi-bits/fsblkcnt_t.h create mode 120000 lib/mlibc/sysdeps/dripos/include/abi-bits/fsfilcnt_t.h create mode 120000 lib/mlibc/sysdeps/dripos/include/abi-bits/gid_t.h create mode 120000 lib/mlibc/sysdeps/dripos/include/abi-bits/in.h create mode 120000 lib/mlibc/sysdeps/dripos/include/abi-bits/ino_t.h create mode 120000 lib/mlibc/sysdeps/dripos/include/abi-bits/inotify.h create mode 120000 lib/mlibc/sysdeps/dripos/include/abi-bits/ioctls.h create mode 120000 lib/mlibc/sysdeps/dripos/include/abi-bits/limits.h create mode 120000 lib/mlibc/sysdeps/dripos/include/abi-bits/mode_t.h create mode 120000 lib/mlibc/sysdeps/dripos/include/abi-bits/mqueue.h create mode 120000 lib/mlibc/sysdeps/dripos/include/abi-bits/msg.h create mode 120000 lib/mlibc/sysdeps/dripos/include/abi-bits/nlink_t.h create mode 120000 lib/mlibc/sysdeps/dripos/include/abi-bits/packet.h create mode 120000 lib/mlibc/sysdeps/dripos/include/abi-bits/pid_t.h create mode 120000 lib/mlibc/sysdeps/dripos/include/abi-bits/poll.h create mode 120000 lib/mlibc/sysdeps/dripos/include/abi-bits/ptrace.h create mode 120000 lib/mlibc/sysdeps/dripos/include/abi-bits/resource.h create mode 120000 lib/mlibc/sysdeps/dripos/include/abi-bits/seek-whence.h create mode 120000 lib/mlibc/sysdeps/dripos/include/abi-bits/shm.h create mode 120000 lib/mlibc/sysdeps/dripos/include/abi-bits/signal.h create mode 120000 lib/mlibc/sysdeps/dripos/include/abi-bits/socket.h create mode 120000 lib/mlibc/sysdeps/dripos/include/abi-bits/socklen_t.h create mode 120000 lib/mlibc/sysdeps/dripos/include/abi-bits/stat.h create mode 120000 lib/mlibc/sysdeps/dripos/include/abi-bits/statfs.h create mode 120000 lib/mlibc/sysdeps/dripos/include/abi-bits/statvfs.h create mode 120000 lib/mlibc/sysdeps/dripos/include/abi-bits/suseconds_t.h create mode 120000 lib/mlibc/sysdeps/dripos/include/abi-bits/termios.h create mode 120000 lib/mlibc/sysdeps/dripos/include/abi-bits/time.h create mode 120000 lib/mlibc/sysdeps/dripos/include/abi-bits/uid_t.h create mode 120000 lib/mlibc/sysdeps/dripos/include/abi-bits/utsname.h create mode 120000 lib/mlibc/sysdeps/dripos/include/abi-bits/vm-flags.h create mode 120000 lib/mlibc/sysdeps/dripos/include/abi-bits/wait.h create mode 120000 lib/mlibc/sysdeps/dripos/include/abi-bits/xattr.h create mode 100644 lib/mlibc/sysdeps/dripos/include/mlibc/thread-entry.hpp (limited to 'lib/mlibc/sysdeps/dripos/include') diff --git a/lib/mlibc/sysdeps/dripos/include/abi-bits/access.h b/lib/mlibc/sysdeps/dripos/include/abi-bits/access.h new file mode 120000 index 0000000..171f75f --- /dev/null +++ b/lib/mlibc/sysdeps/dripos/include/abi-bits/access.h @@ -0,0 +1 @@ +../../../../abis/mlibc/access.h \ No newline at end of file diff --git a/lib/mlibc/sysdeps/dripos/include/abi-bits/auxv.h b/lib/mlibc/sysdeps/dripos/include/abi-bits/auxv.h new file mode 120000 index 0000000..866c8bb --- /dev/null +++ b/lib/mlibc/sysdeps/dripos/include/abi-bits/auxv.h @@ -0,0 +1 @@ +../../../../abis/dripos/auxv.h \ No newline at end of file diff --git a/lib/mlibc/sysdeps/dripos/include/abi-bits/blkcnt_t.h b/lib/mlibc/sysdeps/dripos/include/abi-bits/blkcnt_t.h new file mode 120000 index 0000000..e9d9f1b --- /dev/null +++ b/lib/mlibc/sysdeps/dripos/include/abi-bits/blkcnt_t.h @@ -0,0 +1 @@ +../../../../abis/mlibc/blkcnt_t.h \ No newline at end of file diff --git a/lib/mlibc/sysdeps/dripos/include/abi-bits/blksize_t.h b/lib/mlibc/sysdeps/dripos/include/abi-bits/blksize_t.h new file mode 120000 index 0000000..c6dfb6e --- /dev/null +++ b/lib/mlibc/sysdeps/dripos/include/abi-bits/blksize_t.h @@ -0,0 +1 @@ +../../../../abis/mlibc/blksize_t.h \ No newline at end of file diff --git a/lib/mlibc/sysdeps/dripos/include/abi-bits/clockid_t.h b/lib/mlibc/sysdeps/dripos/include/abi-bits/clockid_t.h new file mode 120000 index 0000000..71f37bb --- /dev/null +++ b/lib/mlibc/sysdeps/dripos/include/abi-bits/clockid_t.h @@ -0,0 +1 @@ +../../../../abis/mlibc/clockid_t.h \ No newline at end of file diff --git a/lib/mlibc/sysdeps/dripos/include/abi-bits/dev_t.h b/lib/mlibc/sysdeps/dripos/include/abi-bits/dev_t.h new file mode 120000 index 0000000..0c1143b --- /dev/null +++ b/lib/mlibc/sysdeps/dripos/include/abi-bits/dev_t.h @@ -0,0 +1 @@ +../../../../abis/mlibc/dev_t.h \ No newline at end of file diff --git a/lib/mlibc/sysdeps/dripos/include/abi-bits/epoll.h b/lib/mlibc/sysdeps/dripos/include/abi-bits/epoll.h new file mode 120000 index 0000000..9efc3a0 --- /dev/null +++ b/lib/mlibc/sysdeps/dripos/include/abi-bits/epoll.h @@ -0,0 +1 @@ +../../../../abis/mlibc/epoll.h \ No newline at end of file diff --git a/lib/mlibc/sysdeps/dripos/include/abi-bits/errno.h b/lib/mlibc/sysdeps/dripos/include/abi-bits/errno.h new file mode 120000 index 0000000..2a2ab26 --- /dev/null +++ b/lib/mlibc/sysdeps/dripos/include/abi-bits/errno.h @@ -0,0 +1 @@ +../../../../abis/dripos/errno.h \ No newline at end of file diff --git a/lib/mlibc/sysdeps/dripos/include/abi-bits/fcntl.h b/lib/mlibc/sysdeps/dripos/include/abi-bits/fcntl.h new file mode 120000 index 0000000..ea5323a --- /dev/null +++ b/lib/mlibc/sysdeps/dripos/include/abi-bits/fcntl.h @@ -0,0 +1 @@ +../../../../abis/mlibc/fcntl.h \ No newline at end of file diff --git a/lib/mlibc/sysdeps/dripos/include/abi-bits/fsblkcnt_t.h b/lib/mlibc/sysdeps/dripos/include/abi-bits/fsblkcnt_t.h new file mode 120000 index 0000000..898dfb2 --- /dev/null +++ b/lib/mlibc/sysdeps/dripos/include/abi-bits/fsblkcnt_t.h @@ -0,0 +1 @@ +../../../../abis/linux/fsblkcnt_t.h \ No newline at end of file diff --git a/lib/mlibc/sysdeps/dripos/include/abi-bits/fsfilcnt_t.h b/lib/mlibc/sysdeps/dripos/include/abi-bits/fsfilcnt_t.h new file mode 120000 index 0000000..791755c --- /dev/null +++ b/lib/mlibc/sysdeps/dripos/include/abi-bits/fsfilcnt_t.h @@ -0,0 +1 @@ +../../../../abis/linux/fsfilcnt_t.h \ No newline at end of file diff --git a/lib/mlibc/sysdeps/dripos/include/abi-bits/gid_t.h b/lib/mlibc/sysdeps/dripos/include/abi-bits/gid_t.h new file mode 120000 index 0000000..6a77218 --- /dev/null +++ b/lib/mlibc/sysdeps/dripos/include/abi-bits/gid_t.h @@ -0,0 +1 @@ +../../../../abis/mlibc/gid_t.h \ No newline at end of file diff --git a/lib/mlibc/sysdeps/dripos/include/abi-bits/in.h b/lib/mlibc/sysdeps/dripos/include/abi-bits/in.h new file mode 120000 index 0000000..b58c683 --- /dev/null +++ b/lib/mlibc/sysdeps/dripos/include/abi-bits/in.h @@ -0,0 +1 @@ +../../../../abis/mlibc/in.h \ No newline at end of file diff --git a/lib/mlibc/sysdeps/dripos/include/abi-bits/ino_t.h b/lib/mlibc/sysdeps/dripos/include/abi-bits/ino_t.h new file mode 120000 index 0000000..10d644e --- /dev/null +++ b/lib/mlibc/sysdeps/dripos/include/abi-bits/ino_t.h @@ -0,0 +1 @@ +../../../../abis/mlibc/ino_t.h \ No newline at end of file diff --git a/lib/mlibc/sysdeps/dripos/include/abi-bits/inotify.h b/lib/mlibc/sysdeps/dripos/include/abi-bits/inotify.h new file mode 120000 index 0000000..3f19ef6 --- /dev/null +++ b/lib/mlibc/sysdeps/dripos/include/abi-bits/inotify.h @@ -0,0 +1 @@ +../../../../abis/mlibc/inotify.h \ No newline at end of file diff --git a/lib/mlibc/sysdeps/dripos/include/abi-bits/ioctls.h b/lib/mlibc/sysdeps/dripos/include/abi-bits/ioctls.h new file mode 120000 index 0000000..595106b --- /dev/null +++ b/lib/mlibc/sysdeps/dripos/include/abi-bits/ioctls.h @@ -0,0 +1 @@ +../../../../abis/linux/ioctls.h \ No newline at end of file diff --git a/lib/mlibc/sysdeps/dripos/include/abi-bits/limits.h b/lib/mlibc/sysdeps/dripos/include/abi-bits/limits.h new file mode 120000 index 0000000..1aa5894 --- /dev/null +++ b/lib/mlibc/sysdeps/dripos/include/abi-bits/limits.h @@ -0,0 +1 @@ +../../../../abis/mlibc/limits.h \ No newline at end of file diff --git a/lib/mlibc/sysdeps/dripos/include/abi-bits/mode_t.h b/lib/mlibc/sysdeps/dripos/include/abi-bits/mode_t.h new file mode 120000 index 0000000..29d7733 --- /dev/null +++ b/lib/mlibc/sysdeps/dripos/include/abi-bits/mode_t.h @@ -0,0 +1 @@ +../../../../abis/mlibc/mode_t.h \ No newline at end of file diff --git a/lib/mlibc/sysdeps/dripos/include/abi-bits/mqueue.h b/lib/mlibc/sysdeps/dripos/include/abi-bits/mqueue.h new file mode 120000 index 0000000..fa87b07 --- /dev/null +++ b/lib/mlibc/sysdeps/dripos/include/abi-bits/mqueue.h @@ -0,0 +1 @@ +../../../../abis/linux/mqueue.h \ No newline at end of file diff --git a/lib/mlibc/sysdeps/dripos/include/abi-bits/msg.h b/lib/mlibc/sysdeps/dripos/include/abi-bits/msg.h new file mode 120000 index 0000000..f402b49 --- /dev/null +++ b/lib/mlibc/sysdeps/dripos/include/abi-bits/msg.h @@ -0,0 +1 @@ +../../../../abis/linux/msg.h \ No newline at end of file diff --git a/lib/mlibc/sysdeps/dripos/include/abi-bits/nlink_t.h b/lib/mlibc/sysdeps/dripos/include/abi-bits/nlink_t.h new file mode 120000 index 0000000..7618c27 --- /dev/null +++ b/lib/mlibc/sysdeps/dripos/include/abi-bits/nlink_t.h @@ -0,0 +1 @@ +../../../../abis/mlibc/nlink_t.h \ No newline at end of file diff --git a/lib/mlibc/sysdeps/dripos/include/abi-bits/packet.h b/lib/mlibc/sysdeps/dripos/include/abi-bits/packet.h new file mode 120000 index 0000000..47067e2 --- /dev/null +++ b/lib/mlibc/sysdeps/dripos/include/abi-bits/packet.h @@ -0,0 +1 @@ +../../../../abis/mlibc/packet.h \ No newline at end of file diff --git a/lib/mlibc/sysdeps/dripos/include/abi-bits/pid_t.h b/lib/mlibc/sysdeps/dripos/include/abi-bits/pid_t.h new file mode 120000 index 0000000..3fd26a7 --- /dev/null +++ b/lib/mlibc/sysdeps/dripos/include/abi-bits/pid_t.h @@ -0,0 +1 @@ +../../../../abis/mlibc/pid_t.h \ No newline at end of file diff --git a/lib/mlibc/sysdeps/dripos/include/abi-bits/poll.h b/lib/mlibc/sysdeps/dripos/include/abi-bits/poll.h new file mode 120000 index 0000000..ab989c7 --- /dev/null +++ b/lib/mlibc/sysdeps/dripos/include/abi-bits/poll.h @@ -0,0 +1 @@ +../../../../abis/mlibc/poll.h \ No newline at end of file diff --git a/lib/mlibc/sysdeps/dripos/include/abi-bits/ptrace.h b/lib/mlibc/sysdeps/dripos/include/abi-bits/ptrace.h new file mode 120000 index 0000000..f391fb7 --- /dev/null +++ b/lib/mlibc/sysdeps/dripos/include/abi-bits/ptrace.h @@ -0,0 +1 @@ +../../../../abis/mlibc/ptrace.h \ No newline at end of file diff --git a/lib/mlibc/sysdeps/dripos/include/abi-bits/resource.h b/lib/mlibc/sysdeps/dripos/include/abi-bits/resource.h new file mode 120000 index 0000000..3e59c75 --- /dev/null +++ b/lib/mlibc/sysdeps/dripos/include/abi-bits/resource.h @@ -0,0 +1 @@ +../../../../abis/mlibc/resource.h \ No newline at end of file diff --git a/lib/mlibc/sysdeps/dripos/include/abi-bits/seek-whence.h b/lib/mlibc/sysdeps/dripos/include/abi-bits/seek-whence.h new file mode 120000 index 0000000..3bd41ef --- /dev/null +++ b/lib/mlibc/sysdeps/dripos/include/abi-bits/seek-whence.h @@ -0,0 +1 @@ +../../../../abis/mlibc/seek-whence.h \ No newline at end of file diff --git a/lib/mlibc/sysdeps/dripos/include/abi-bits/shm.h b/lib/mlibc/sysdeps/dripos/include/abi-bits/shm.h new file mode 120000 index 0000000..067d8c4 --- /dev/null +++ b/lib/mlibc/sysdeps/dripos/include/abi-bits/shm.h @@ -0,0 +1 @@ +../../../../abis/linux/shm.h \ No newline at end of file diff --git a/lib/mlibc/sysdeps/dripos/include/abi-bits/signal.h b/lib/mlibc/sysdeps/dripos/include/abi-bits/signal.h new file mode 120000 index 0000000..b20e511 --- /dev/null +++ b/lib/mlibc/sysdeps/dripos/include/abi-bits/signal.h @@ -0,0 +1 @@ +../../../../abis/mlibc/signal.h \ No newline at end of file diff --git a/lib/mlibc/sysdeps/dripos/include/abi-bits/socket.h b/lib/mlibc/sysdeps/dripos/include/abi-bits/socket.h new file mode 120000 index 0000000..0e1d6be --- /dev/null +++ b/lib/mlibc/sysdeps/dripos/include/abi-bits/socket.h @@ -0,0 +1 @@ +../../../../abis/mlibc/socket.h \ No newline at end of file diff --git a/lib/mlibc/sysdeps/dripos/include/abi-bits/socklen_t.h b/lib/mlibc/sysdeps/dripos/include/abi-bits/socklen_t.h new file mode 120000 index 0000000..41f3b11 --- /dev/null +++ b/lib/mlibc/sysdeps/dripos/include/abi-bits/socklen_t.h @@ -0,0 +1 @@ +../../../../abis/linux/socklen_t.h \ No newline at end of file diff --git a/lib/mlibc/sysdeps/dripos/include/abi-bits/stat.h b/lib/mlibc/sysdeps/dripos/include/abi-bits/stat.h new file mode 120000 index 0000000..82642c3 --- /dev/null +++ b/lib/mlibc/sysdeps/dripos/include/abi-bits/stat.h @@ -0,0 +1 @@ +../../../../abis/mlibc/stat.h \ No newline at end of file diff --git a/lib/mlibc/sysdeps/dripos/include/abi-bits/statfs.h b/lib/mlibc/sysdeps/dripos/include/abi-bits/statfs.h new file mode 120000 index 0000000..e3d202f --- /dev/null +++ b/lib/mlibc/sysdeps/dripos/include/abi-bits/statfs.h @@ -0,0 +1 @@ +../../../../abis/linux/statfs.h \ No newline at end of file diff --git a/lib/mlibc/sysdeps/dripos/include/abi-bits/statvfs.h b/lib/mlibc/sysdeps/dripos/include/abi-bits/statvfs.h new file mode 120000 index 0000000..1fc80c2 --- /dev/null +++ b/lib/mlibc/sysdeps/dripos/include/abi-bits/statvfs.h @@ -0,0 +1 @@ +../../../../abis/linux/statvfs.h \ No newline at end of file diff --git a/lib/mlibc/sysdeps/dripos/include/abi-bits/suseconds_t.h b/lib/mlibc/sysdeps/dripos/include/abi-bits/suseconds_t.h new file mode 120000 index 0000000..9ed6597 --- /dev/null +++ b/lib/mlibc/sysdeps/dripos/include/abi-bits/suseconds_t.h @@ -0,0 +1 @@ +../../../../abis/linux/suseconds_t.h \ No newline at end of file diff --git a/lib/mlibc/sysdeps/dripos/include/abi-bits/termios.h b/lib/mlibc/sysdeps/dripos/include/abi-bits/termios.h new file mode 120000 index 0000000..cfcfe76 --- /dev/null +++ b/lib/mlibc/sysdeps/dripos/include/abi-bits/termios.h @@ -0,0 +1 @@ +../../../../abis/mlibc/termios.h \ No newline at end of file diff --git a/lib/mlibc/sysdeps/dripos/include/abi-bits/time.h b/lib/mlibc/sysdeps/dripos/include/abi-bits/time.h new file mode 120000 index 0000000..2a02625 --- /dev/null +++ b/lib/mlibc/sysdeps/dripos/include/abi-bits/time.h @@ -0,0 +1 @@ +../../../../abis/linux/time.h \ No newline at end of file diff --git a/lib/mlibc/sysdeps/dripos/include/abi-bits/uid_t.h b/lib/mlibc/sysdeps/dripos/include/abi-bits/uid_t.h new file mode 120000 index 0000000..1113eba --- /dev/null +++ b/lib/mlibc/sysdeps/dripos/include/abi-bits/uid_t.h @@ -0,0 +1 @@ +../../../../abis/mlibc/uid_t.h \ No newline at end of file diff --git a/lib/mlibc/sysdeps/dripos/include/abi-bits/utsname.h b/lib/mlibc/sysdeps/dripos/include/abi-bits/utsname.h new file mode 120000 index 0000000..17b993f --- /dev/null +++ b/lib/mlibc/sysdeps/dripos/include/abi-bits/utsname.h @@ -0,0 +1 @@ +../../../../abis/mlibc/utsname.h \ No newline at end of file diff --git a/lib/mlibc/sysdeps/dripos/include/abi-bits/vm-flags.h b/lib/mlibc/sysdeps/dripos/include/abi-bits/vm-flags.h new file mode 120000 index 0000000..f1a985e --- /dev/null +++ b/lib/mlibc/sysdeps/dripos/include/abi-bits/vm-flags.h @@ -0,0 +1 @@ +../../../../abis/mlibc/vm-flags.h \ No newline at end of file diff --git a/lib/mlibc/sysdeps/dripos/include/abi-bits/wait.h b/lib/mlibc/sysdeps/dripos/include/abi-bits/wait.h new file mode 120000 index 0000000..6d911c7 --- /dev/null +++ b/lib/mlibc/sysdeps/dripos/include/abi-bits/wait.h @@ -0,0 +1 @@ +../../../../abis/mlibc/wait.h \ No newline at end of file diff --git a/lib/mlibc/sysdeps/dripos/include/abi-bits/xattr.h b/lib/mlibc/sysdeps/dripos/include/abi-bits/xattr.h new file mode 120000 index 0000000..66412d7 --- /dev/null +++ b/lib/mlibc/sysdeps/dripos/include/abi-bits/xattr.h @@ -0,0 +1 @@ +../../../../abis/linux/xattr.h \ No newline at end of file diff --git a/lib/mlibc/sysdeps/dripos/include/mlibc/thread-entry.hpp b/lib/mlibc/sysdeps/dripos/include/mlibc/thread-entry.hpp new file mode 100644 index 0000000..2dd88a6 --- /dev/null +++ b/lib/mlibc/sysdeps/dripos/include/mlibc/thread-entry.hpp @@ -0,0 +1,10 @@ +#pragma once + +#include + +extern "C" void __mlibc_start_thread(void); +extern "C" void __mlibc_enter_thread(void *entry, void *user_arg, Tcb *tcb); + +namespace mlibc { + void *prepare_stack(void *entry, void *user_arg, void *tcb); +} -- cgit v1.2.3