Florian Fischer
015768793b
fix bootloader file name in GRUB config
...
Fixes: 0b75cd9c
2024-01-24 19:52:16 +01:00
Enrico Fraccaroli (Galfurian)
c0254bca6d
Merge branch 'release/v0.6.0'
v0.6.0
2024-01-17 13:50:06 +01:00
Enrico Fraccaroli (Galfurian)
30e01ba560
Update version
2024-01-17 13:49:48 +01:00
Enrico Fraccaroli (Galfurian)
af79958f1a
Clean up useless files from the filesystem
2024-01-17 13:38:53 +01:00
Enrico Fraccaroli (Galfurian)
eca55dfed8
Clean up cmake files (Part 2)
...
I've kept just one cmake project, in the root directory. The
subdirectories just set up the targets.
The asm compiler is serached just one time, from the root
directory cmake file.
Global compilation flags are set in the root cmake file, and
each subdirectory cmake file sets specific flags if necessary
(e.g., programs need the -u_start specified)
2024-01-17 13:34:32 +01:00
Enrico Fraccaroli (Galfurian)
0b75cd9c2a
Clean up cmake files (Part 1)
...
I've been cleaning up the way compilation flags are passed to the targets
and there are still some changes that must be made, in the next commit.
I've also done some renaming, all_programs into programs and the same for
tests.
The gdb initialization file now is just one, populated using the find command
and using realpath to get the absolute path to the files. I've tested if the
generated gdb.run file works and it does.
2024-01-17 13:16:50 +01:00
Enrico Fraccaroli
24367a58ae
Update readme
2024-01-15 11:58:17 +01:00
Enrico Fraccaroli
f40c4a6630
Update readme
2024-01-15 11:45:28 +01:00
Enrico Fraccaroli
7ad283d36a
Remove windows github workflow
2024-01-15 11:36:04 +01:00
Enrico Fraccaroli
e630f89547
Specify the linker
2024-01-15 11:30:52 +01:00
Enrico Fraccaroli
34eeedcbcf
Improve the generation of programs and tests.
2024-01-15 11:26:20 +01:00
Enrico Fraccaroli
90ab346195
Remove github action for MacOs
2024-01-15 11:16:11 +01:00
Enrico Fraccaroli
5ce583fdd8
Rollback patch for archive creation that broke clang compilation
2024-01-15 11:14:34 +01:00
Enrico Fraccaroli
c2f660f885
Merge pull request #18 from fischerling/improve-gdb-run
...
do not append to gdb.run
2024-01-15 11:11:11 +01:00
Enrico Fraccaroli
80af9c93fb
Merge pull request #17 from fischerling/develop
...
Improve process termination
2024-01-15 11:10:52 +01:00
Florian Fischer
8b678be2b7
do not append to gdb.run
...
Currently each time the target gdbinit is executed a new line
containing 'target remote localhost:1234' will be added to the
gdb.run file.
2024-01-13 14:32:03 +01:00
Florian Fischer
ef92ba670b
exit: properly set the process' exit code when calling exit()
...
In order to detect the exit status using
WSTATUSCODE ((status & 0xff00) >> 8) the exit code must
be shifted by 8 to the left.
Separate the kernel process exit logic from the actual system call.
2024-01-13 14:31:00 +01:00
Florian Fischer
6f4d3b57f9
libc: fix waitpid not detecting process termination
...
Since 452aa40770 and the change to
properly return processes exit codes in the status argument, the
status will never be EXIT_ZOMBIE(16) except a process was terminated by
signal(16).
Return from waitpid if either an error occurred (__res < 0) or
we got the status of a child process (__res == cpid).
Additionally fix the weird alignment of the closing braces.
2024-01-13 14:31:00 +01:00
Enrico Fraccaroli (Galfurian)
dd39e93194
Try to fix compilation under MacOS
2023-11-30 13:31:49 -05:00
Enrico Fraccaroli (Galfurian)
275cbbe7b3
Try to fix compilation under MacOS
2023-11-30 13:30:19 -05:00
Enrico Fraccaroli (Galfurian)
290ed59d0b
Try to fix compilation under MacOS
2023-11-30 13:28:09 -05:00
Enrico Fraccaroli (Galfurian)
3e51197ae4
Try to fix compilation under MacOS
2023-11-30 13:16:09 -05:00
Enrico Fraccaroli (Galfurian)
3d49f0abf6
Try to fix compilation under MacOS
2023-11-30 13:07:13 -05:00
Enrico Fraccaroli (Galfurian)
391bba92a6
Try to fix compilation under MacOS
2023-11-30 13:04:10 -05:00
Enrico Fraccaroli (Galfurian)
e96c13ff70
Try to fix compilation under MacOS
2023-11-30 13:02:55 -05:00
Enrico Fraccaroli (Galfurian)
9ef117cbc6
Try to fix compilation under MacOS
2023-11-30 13:01:56 -05:00
Enrico Fraccaroli (Galfurian)
af95af6f3a
Try to fix compilation under MacOS
2023-11-30 12:59:03 -05:00
Enrico Fraccaroli (Galfurian)
d2fd6654eb
Try to fix compilation under MacOS
2023-11-30 12:53:16 -05:00
Enrico Fraccaroli (Galfurian)
3fcc0f8964
Use gcc@11 under MacOS
2023-11-30 11:49:41 -05:00
Enrico Fraccaroli (Galfurian)
327e29791e
Use gcc@11 under MacOS
2023-11-30 11:47:15 -05:00
Enrico Fraccaroli (Galfurian)
f24b962e2b
Use gcc@11 under MacOS
2023-11-30 11:44:42 -05:00
Enrico Fraccaroli (Galfurian)
40e4faad90
Use gcc@11 under MacOS
2023-11-30 11:43:45 -05:00
Enrico Fraccaroli (Galfurian)
f4c35a09de
Use gcc@11 under MacOS
2023-11-30 11:38:17 -05:00
Enrico Fraccaroli (Galfurian)
42d84be2c3
Use gcc@11 under MacOS
2023-11-30 11:35:13 -05:00
Enrico Fraccaroli (Galfurian)
28c00fd9ed
Use gcc@11 under MacOS
2023-11-30 11:29:04 -05:00
Enrico Fraccaroli (Galfurian)
379950fb45
Fix minor conversion problems
2023-11-30 11:26:31 -05:00
Enrico Fraccaroli (Galfurian)
4292149567
Use x86_64-elf-gcc under MacOS
2023-11-29 10:45:27 -05:00
Enrico Fraccaroli (Galfurian)
030c16d29e
Use x86_64-elf-gcc under MacOS
2023-11-29 10:40:27 -05:00
Enrico Fraccaroli (Galfurian)
29e9d2ff11
Use x86_64-elf-gcc under MacOS
2023-11-29 10:38:44 -05:00
Enrico Fraccaroli (Galfurian)
24b2182bec
Use x86_64-elf-gcc under MacOS
2023-11-29 10:37:47 -05:00
Enrico Fraccaroli (Galfurian)
a8cfac3c1f
Use x86_64-elf-gcc under MacOS
2023-11-29 10:35:08 -05:00
Enrico Fraccaroli (Galfurian)
654a3165c0
Use x86_64-elf-gcc under MacOS
2023-11-29 10:34:42 -05:00
Enrico Fraccaroli (Galfurian)
c8544ad6a4
Use x86_64-elf-gcc under MacOS
2023-11-29 10:29:11 -05:00
Enrico Fraccaroli (Galfurian)
61e6954265
Use x86_64-elf-gcc under MacOS
2023-11-29 10:20:23 -05:00
Enrico Fraccaroli (Galfurian)
237bfcefb3
Use x86_64-elf-gcc under MacOS
2023-11-29 10:17:45 -05:00
Enrico Fraccaroli (Galfurian)
b7c32fc102
Use x86_64-elf-gcc under MacOS
2023-11-29 10:13:48 -05:00
Enrico Fraccaroli (Galfurian)
2ec77db77a
Fix link to homebrew
2023-11-29 10:10:13 -05:00
Enrico Fraccaroli (Galfurian)
7ce609fddc
Fix compilation with clang 15.0.7
2023-11-28 10:10:28 -05:00
Enrico Fraccaroli (Galfurian)
75abb84f25
Fix procfs inability to set st_mode properly
2023-11-24 15:50:20 -05:00
Enrico Fraccaroli (Galfurian)
f066dd2ad9
Add support for reading symlinks
2023-11-21 14:20:41 -05:00