|
2c2e7d9de3
|
build(userspace): update vscode launch configuration and Makefiles for utest and libc_test
Easier to debug
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-21 02:37:48 +02:00 |
|
|
9dfa750444
|
refactor(kernel/syscalls): simplify argument handling in HandleNativeSyscalls
Easier to debug
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-21 02:35:57 +02:00 |
|
|
4240183fa1
|
fix(userspace/libc): cast status to int in __check_errno for proper error handling
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-21 02:33:40 +02:00 |
|
|
42f26787fb
|
feat(userspace/libc): implement getdelim and getline functions
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-20 02:20:26 +02:00 |
|
|
8d08ab933a
|
feat(userspace/libc): implement fstatat, lstat & stat
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-20 02:17:19 +02:00 |
|
|
c83c542f5b
|
feat(userspace/libc): implement fstat()
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-20 02:12:02 +02:00 |
|
|
08319ef4c7
|
docs(syscalls): add documentation for FBIOGET_SCREEN_INFO ioctl
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-20 02:09:09 +02:00 |
|
|
f4168e2815
|
refactor(userspace/libc): implement pthread_sigmask, sigaddset, sigfillset & sigprocmask
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-20 02:07:40 +02:00 |
|
|
123d11e4e3
|
feat(userspace/libc): implement system() function
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-20 02:07:04 +02:00 |
|
|
b1a107fb65
|
refactor(userspace/libc): replace syscall2 with call_kill in kill function
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-20 02:00:26 +02:00 |
|
|
d375acd0ec
|
fix(userspace/libc): include <ctype.h> in stdlib.c
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-20 01:53:21 +02:00 |
|
|
5e6e63ab1a
|
feat(userspace/libc): implement <ctype.h> header
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-20 01:52:37 +02:00 |
|
|
ab4bc55270
|
feat(userspace/libc): implement atoi, strtol, and strtoll functions in <stdlib.h>
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-20 01:49:41 +02:00 |
|
|
e5acf4a99e
|
feat(userspace/libc): implement getpid, getppid & getuid
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-20 01:49:12 +02:00 |
|
|
5089cfa81b
|
feat(userspace/libc): implement <pwd.h> header
Implemented everything except endpwent() and setpwent()
NOT TESTED!
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-20 01:45:04 +02:00 |
|
|
b5fce27037
|
feat(userspace/libc): implement getchar() and getc()
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-19 21:57:51 +02:00 |
|
|
0238f62894
|
fix(userspace/libc): fix error handling in ioctl function
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-19 21:03:53 +02:00 |
|
|
ce59b6ea03
|
feat(userspace/libc): extend termios header with input/output speed and winsize structure
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-19 20:59:48 +02:00 |
|
|
9dcb5abe89
|
feat(userspace/libc): add termios header file for terminal I/O control
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-19 20:43:37 +02:00 |
|
|
4ac29bbce1
|
feat(userspace/libc): define file descriptor macros for standard input/output
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-19 20:42:56 +02:00 |
|
|
155f3bfab5
|
docs(kernel/api): add documentation for FBIOGET_SCREEN_INFO
Add documentation for FBIOGET_SCREEN_INFO macro
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-19 19:47:10 +02:00 |
|
|
e960f9fcc8
|
chore(userspace/libc): update vscode workspace config
Add conventionalCommits.scopes with "userspace/libc"
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-19 18:55:28 +02:00 |
|
|
4bb8ce6d00
|
feat(userspace/libc): complete <string.h> implementation
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-19 18:54:20 +02:00 |
|
|
2ae18af9a0
|
feat(userspace/apps/test/libc_test): add more tests
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-19 18:53:54 +02:00 |
|
|
e61b5824db
|
refactor(userspace/apps/test/libc_test): remove deprecated string test files
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-15 15:35:28 +02:00 |
|
|
0f9a1915d1
|
feat(userspace/libc): implement all <string.h> functions
Implement all string.h functions except some which require locale which is not implemented yet
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-14 22:15:20 +02:00 |
|
|
6dfefc90c4
|
feat(userspace/libc): implement strcpy function
Add strcpy implementation in string.c
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-14 20:07:20 +02:00 |
|
|
c688bd7a97
|
feat: synchronize syscalls.h
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-14 19:59:59 +02:00 |
|
|
e927d93a48
|
feat(kernel): add stub device /dev/fb0
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-14 19:57:29 +02:00 |
|
|
d9235c6f90
|
userspace/libc: implement qsort, realloc and reallocarray functions in stdlib
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-14 02:19:14 +02:00 |
|
|
afa87ec5f3
|
userspace/libc: implement strcoll()
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-14 02:18:40 +02:00 |
|
|
22d01c7a51
|
userspace/libc: add <sys/socket.h> for socket programming support
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-14 02:18:15 +02:00 |
|
|
dfe9bbdbfa
|
userspace/libc: implement read, pread, write & pwrite
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-14 02:17:47 +02:00 |
|
|
92ef18b412
|
userspace/libc: implement alphasort, fdopendir, opendir, posix_getdents, readdir & scandir
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-14 02:17:06 +02:00 |
|
|
d0a8d9dd62
|
userspace/libc: add <sys/uio.h> header for vector I/O operations
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-14 02:15:40 +02:00 |
|
|
f3e145e6f7
|
userspace/libc: add <netinet/in.h> header for IPv4 and IPv6 support
FIXME: not sure if this is implemented correctly
ref: https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/netinet_in.h.html
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-14 02:15:18 +02:00 |
|
|
d9433256ab
|
userspace/libc: add <arpa/inet.h>
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-14 02:13:48 +02:00 |
|
|
ade1c77361
|
userspace/test: add web server test program
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-14 02:11:30 +02:00 |
|
|
3e656854bc
|
userspace/test: implement more tests in libc_test
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-13 01:14:11 +02:00 |
|
|
6c3eefa85d
|
userspace/libc: add stub uname function
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-12 02:53:44 +02:00 |
|
|
2384791793
|
userspace/libc: add stub gethostname function
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-12 02:53:13 +02:00 |
|
|
97af4d855f
|
userspace/libc: implement <sys/fcntl>
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-12 02:52:39 +02:00 |
|
|
b0f0982fd4
|
userspace/libc: update function signatures in fcntl.h
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-12 02:52:01 +02:00 |
|
|
bd1d117283
|
userspace/libc: add ioctl function
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-12 02:51:14 +02:00 |
|
|
a1b040360c
|
userspace/apps/sys: add uname command
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-12 02:50:27 +02:00 |
|
|
8f7938a1e5
|
userspace/libc: implement vfprintf function
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-12 02:47:45 +02:00 |
|
|
b05868d120
|
userspace/libc: implement fprintf function
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-12 02:43:43 +02:00 |
|
|
24fd486764
|
userspace/libc: implement strncpy function
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-02-12 02:42:51 +02:00 |
|
|
23a17fae00
|
userspace/init: dummy code
Build OS / Build Cross-Compiler & Toolchain (push) Successful in 1h46m32s
Build OS / Deploy Documentation to GitHub Pages (push) Failing after 4m27s
Build OS / Analyze (${{ matrix.language }}) (manual, c-cpp) (push) Failing after 6m13s
Build OS / Build amd64 (push) Failing after 14m44s
Build OS / Build i386 (push) Failing after 16m28s
Build OS / Build aarch64 (push) Failing after 11m17s
Build OS / Build arm (push) Failing after 15m17s
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-01-28 12:26:53 +02:00 |
|
|
d7bccb6948
|
userspace: add sh program
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
|
2025-01-28 12:25:36 +02:00 |
|