Skip to content

Commit

Permalink
libc: implement AIO(4)
Browse files Browse the repository at this point in the history
  • Loading branch information
atopia authored and chelmuth committed Sep 16, 2024
1 parent 54c487b commit 42a5a70
Show file tree
Hide file tree
Showing 9 changed files with 646 additions and 5 deletions.
2 changes: 1 addition & 1 deletion repos/libports/lib/mk/libc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ SRC_CC = atexit.cc dummies.cc rlimit.cc sysctl.cc \
vfs_plugin.cc dynamic_linker.cc signal.cc \
socket_operations.cc socket_fs_plugin.cc syscall.cc \
getpwent.cc getrandom.cc fork.cc execve.cc kernel.cc component.cc \
genode.cc spinlock.cc kqueue.cc
genode.cc spinlock.cc kqueue.cc aio.cc

#
# Pthreads
Expand Down
7 changes: 7 additions & 0 deletions repos/libports/lib/symbols/libc
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,13 @@ abs T
accept T
accept4 T
access T
aio_cancel T
aio_error T
aio_fsync T
aio_read T
aio_return T
aio_suspend T
aio_write T
alarm T
alphasort T
arc4random T
Expand Down
2 changes: 1 addition & 1 deletion repos/libports/ports/libc.hash
Original file line number Diff line number Diff line change
@@ -1 +1 @@
b36b17e21acc3a6b70bc550e19d08abbb15db71a
dac8797596d9724e9699d60f27b6442f478f32c5
3 changes: 2 additions & 1 deletion repos/libports/ports/libc.port
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ DIR_CONTENT(include/libc/sys) := \
utsname.h elf.h mtio.h _stdint.h atomic_common.h _ucontext.h \
_cpuset.h _bitset.h bitset.h _stdarg.h _uio.h auxv.h random.h \
_sockaddr_storage.h termios.h _termios.h _umtx.h kerneldump.h \
conf.h disk_zone.h counter.h soundcard.h pciio.h timex.h)
conf.h disk_zone.h counter.h soundcard.h pciio.h timex.h aio.h)

DIRS += include/libc/sys/disk
DIR_CONTENT(include/libc/sys/disk) := $(D)/sys/sys/disk/*h
Expand Down Expand Up @@ -278,3 +278,4 @@ default: create_symlinks
create_symlinks: _dirs
@$(MSG_PREFIX)create symlinks
$(VERBOSE)ln -sf sys/poll.h include/libc/poll.h
$(VERBOSE)ln -sf sys/aio.h include/libc/aio.h
Loading

0 comments on commit 42a5a70

Please sign in to comment.