asleepymoon
asleepymoon pushed to main at asleepymoon/Luna 2022-10-12 12:40:12 +00:00
4768d5fc12 ELFLoader: Consider the offset when calculating how many pages to map
asleepymoon pushed to main at asleepymoon/Luna 2022-10-12 12:35:40 +00:00
bbd9f1d187 VMM: Add FIXME
asleepymoon pushed to main at asleepymoon/Luna 2022-10-12 12:34:18 +00:00
15f340dbbe VMM: Do not map recursively
asleepymoon pushed to main at asleepymoon/Luna 2022-10-12 12:32:00 +00:00
8daffa876c Make some shell scripts executable
28469497e9 Change build system to accept arbitrary CFLAGS during the build process
d3cb642e5f Scheduler: add FIXME
0ee9bd7290 Scheduler: free a task's ELF image.
eaea4603c6 MemoryManager: Fix logging when built with debug logging
Compare 10 commits »
asleepymoon pushed to main at asleepymoon/Luna 2022-10-12 11:18:41 +00:00
cf160d1260 Scheduler: Use misc/utils.h instead of doing everything manually.
66add380cf Kernel/Utilities: add a new get_top_of_stack convenience function
Compare 2 commits »
asleepymoon pushed to main at asleepymoon/Luna 2022-10-12 11:12:52 +00:00
cf3f61e373 Kernel: More GDT refactoring
asleepymoon pushed to main at asleepymoon/Luna 2022-10-12 11:07:33 +00:00
c1f9d3323f Kernel: Refactor TSS loading to make it cleaner >.<
asleepymoon pushed to main at asleepymoon/Luna 2022-10-12 11:06:03 +00:00
97eacc027e Kernel: Use PAGE_SIZE in more places
asleepymoon pushed to main at asleepymoon/Luna 2022-10-12 10:59:06 +00:00
f5deb1048a Kernel: Add functions to push and pop the interrupt state
b3e16068ef Kernel: Add Utilities::get_rflags(), and thus Interrupts::are_enabled()
Compare 2 commits »
asleepymoon pushed to main at asleepymoon/Luna 2022-10-12 10:15:18 +00:00
e90b90c556 Kernel, libc: Round up to nearest page-aligned size instead of down
asleepymoon deleted branch descriptive_headers from asleepymoon/Luna 2022-10-12 10:11:45 +00:00
asleepymoon pushed to main at asleepymoon/Luna 2022-10-12 10:11:45 +00:00
a8eb7a6b66 Merge branch descriptive_headers into main
d89685bb36 libc: Document sys/types.h
1e16a78106 libc: Document functions in sys/mman.h
a3362429d3 libc: Update strerror()
0d3e7d4463 libc: Document errno.h
Compare 13 commits »
asleepymoon merged pull request asleepymoon/Luna#11 2022-10-12 10:11:45 +00:00
libc: Document functions in headers
asleepymoon pushed to descriptive_headers at asleepymoon/Luna 2022-10-12 10:07:48 +00:00
d89685bb36 libc: Document sys/types.h
asleepymoon pushed to descriptive_headers at asleepymoon/Luna 2022-10-12 10:06:52 +00:00
1e16a78106 libc: Document functions in sys/mman.h
asleepymoon pushed to descriptive_headers at asleepymoon/Luna 2022-10-12 10:01:23 +00:00
a3362429d3 libc: Update strerror()
0d3e7d4463 libc: Document errno.h
Compare 2 commits »
asleepymoon pushed to descriptive_headers at asleepymoon/Luna 2022-10-12 09:58:13 +00:00
b42c866db8 Correct description for fopen()
9f5b3b76d2 libc: Document the function in fcntl.h
Compare 2 commits »
asleepymoon pushed to descriptive_headers at asleepymoon/Luna 2022-10-12 09:54:35 +00:00
f44411aa46 libc: Document the functions in luna.h
asleepymoon pushed to descriptive_headers at asleepymoon/Luna 2022-10-12 09:51:39 +00:00
6aabe19fb4 libc: Document the functions in stdio.h
asleepymoon pushed to descriptive_headers at asleepymoon/Luna 2022-10-12 09:30:28 +00:00
ffc223c2cf libc: Document functions in stdlib.h