184 Commits

Author SHA1 Message Date
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
Some checks failed
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
833d8d497a
userspace/libc: implement sigaction(), sigemptyset(), signal() & strcspn()
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
2025-01-28 12:25:05 +02:00
1b55332027
userspace/libc_test: add test functions for various libc components
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
2025-01-28 11:42:28 +02:00
cbe651d2da
userspace/libc_test: add native build target and default toolchain configuration
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
2025-01-28 11:37:45 +02:00
9c9f5549d7
userspace/libc_test: add VSCode snippets and workspace configuration
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
2025-01-28 11:37:10 +02:00
655a2d88f5
chore: add newline at end of c_boilerplates.code-snippets
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
2025-01-28 11:36:54 +02:00
cd49a219df
userspace/libc: include stdio.h in dirent.c
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
2025-01-27 23:59:29 +02:00
48067d8f58
userspace/libc: implement close() & dirfd()
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
2025-01-27 23:58:54 +02:00
c2412fe710
userspace/libc_test: add return statement to main function
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
2025-01-27 23:31:34 +02:00
2f71bccef2
userspace/libc: implement std more functions
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
2025-01-27 23:30:07 +02:00
f5a813380b
userspace/utest: comment out build and linking commands in Makefile
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
2025-01-27 23:28:22 +02:00
b54a32ba7a
userspace: add stub libc test program
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
2025-01-27 23:20:54 +02:00
1c5c0b524e
userspace: update Makefiles
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
2025-01-26 23:28:10 +02:00
62e482facb
fix: correct project name references in license headers
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
2025-01-25 00:20:34 +02:00
1824c99ca0
userspace/libc: flush stdout & stderr on exit
Some checks failed
Build OS / Deploy Documentation to GitHub Pages (push) Failing after 9m48s
Build OS / Build Cross-Compiler & Toolchain (push) Successful in 1h57m16s
Build OS / Analyze (${{ matrix.language }}) (manual, c-cpp) (push) Failing after 6m20s
Build OS / Build amd64 (push) Failing after 6m19s
Build OS / Build aarch64 (push) Failing after 6m20s
Build OS / Build arm (push) Failing after 6m17s
Build OS / Build i386 (push) Failing after 19m15s
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
2025-01-25 00:16:58 +02:00
e8b61e6d7f
userspace/libc: fix stack alignment
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
2025-01-25 00:08:46 +02:00
69bc044b09
userspace: include crt1.c to streamline startup code
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
2025-01-25 00:07:09 +02:00
4ced264c3c
userspace: simplify SIMD test application assembly code
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
2025-01-24 23:57:15 +02:00
a25c5f4a96
userspace: add SIMD test application
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
2025-01-24 22:40:38 +02:00
a4c5ab7ef3
chore: add .editorconfig files for consistent coding styles
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
2025-01-17 19:59:38 +02:00
75c8dbd31b
refactor: fix softfloat on aarch64 and arm
Some checks failed
Build OS / Analyze (${{ matrix.language }}) (manual, c-cpp) (push) Blocked by required conditions
Build OS / Build amd64 (push) Blocked by required conditions
Build OS / Build i386 (push) Blocked by required conditions
Build OS / Build aarch64 (push) Blocked by required conditions
Build OS / Build arm (push) Blocked by required conditions
Build OS / Deploy Documentation to GitHub Pages (push) Failing after 9m56s
Build OS / Build Cross-Compiler & Toolchain (push) Has been cancelled
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
2025-01-11 06:48:48 +02:00
fbe9fbfbd1
kernel: add arm architecture support
Some checks failed
Build OS / Deploy Documentation to GitHub Pages (push) Failing after 5m35s
Build OS / Analyze (${{ matrix.language }}) (manual, c-cpp) (push) Has been cancelled
Build OS / Build Cross-Compiler & Toolchain (push) Has been cancelled
Build OS / Build amd64 (push) Has been cancelled
Build OS / Build i386 (push) Has been cancelled
Build OS / Build aarch64 (push) Has been cancelled
Build OS / Build arm (push) Has been cancelled
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
2025-01-10 18:55:34 +02:00
e6933acfb0
kernel: add aarch64 architecture support
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
2025-01-10 17:26:26 +02:00
2bb997597e
refactor: Fix build on i386
Some checks failed
CodeQL Advanced / Analyze (${{ matrix.language }}) (manual, c-cpp) (push) Has been cancelled
Deploy Documentation / Deploy Documentation to GitHub Pages (push) Has been cancelled
Build OS / Build Cross-Compiler & Toolchain (push) Has been cancelled
Build OS / Build amd64 (push) Has been cancelled
Build OS / Build i386 (push) Has been cancelled
Build OS / Build aarch64 (push) Has been cancelled
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
2025-01-07 17:49:37 +02:00
6dae34debd
userspace: Rewrite everything
Everything.

Signed-off-by: EnderIce2 <enderice2@protonmail.com>
2025-01-04 06:27:54 +02:00
dea36a0228
chore: Update makefiles and doxygen
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
2025-01-04 06:26:55 +02:00
e4403cdbd6
vscode: Update configuration files
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
2025-01-04 06:13:31 +02:00
EnderIce2
8b026175bb
chore: Update makefiles
https://stackoverflow.com/a/17845120/9352057
Signed-off-by: EnderIce2 <enderice2@users.noreply.github.com>
2024-12-11 04:48:16 +02:00
EnderIce2
7948d0c6e5
chore: Update makefiles & macros 2024-11-29 04:24:27 +02:00
EnderIce2
0dbdacb8df
chore: General cleanup 2024-11-27 01:19:24 +02:00
EnderIce2
00a37325f6
chore: Fix build process 2024-11-26 03:27:08 +02:00
EnderIce2
ce4ebaf6c5
Remove submodule
Some checks failed
Build OS / Deploy Documentation to GitHub Pages (push) Failing after 1m14s
Build OS / Build Cross-Compiler & Toolchain (push) Failing after 1m2s
Build OS / Build GNU-EFI (push) Failing after 7s
Build OS / Analyze with CodeQL (cpp) (push) Has been skipped
Build OS / Build amd64 (push) Has been skipped
Build OS / Build i386 (push) Has been skipped
Build OS / Build aarch64 (push) Has been skipped
2024-11-20 05:49:33 +02:00
EnderIce2
5806c4feaf
Update .gitmodules 2024-11-20 05:47:19 +02:00
EnderIce2
ad09129401
Merge remote-tracking branch 'Userspace/master' 2024-11-20 05:02:06 +02:00
EnderIce2
dc5d62717e
Update submodules 2024-11-20 04:26:09 +02:00