asleepymoon
asleepymoon closed issue asleepymoon/Luna#1 2022-10-12 14:11:57 +00:00
Processes
asleepymoon commented on issue asleepymoon/Luna#1 2022-10-12 14:11:57 +00:00
Processes

I think our Task structure is complex enough that it can be considered a process. We don't need separate threads of execution at this point in time, I think - that will be a concern for later.

W…

asleepymoon pushed to main at asleepymoon/Luna 2022-10-12 13:56:10 +00:00
edda41a7bb libc: Implement fseek(), ftell() and rewind()
asleepymoon pushed to main at asleepymoon/Luna 2022-10-12 13:37:35 +00:00
4a5db1dca7 libc: Add lseek()
asleepymoon pushed to main at asleepymoon/Luna 2022-10-12 13:32:14 +00:00
928ade123c libc: Add support for the new seek() system call
asleepymoon pushed to main at asleepymoon/Luna 2022-10-12 13:30:47 +00:00
e40304f2f1 libc: Add off_t to sys/types.h
asleepymoon pushed to main at asleepymoon/Luna 2022-10-12 13:29:03 +00:00
854f585e1a Kernel: Add a seek() system call
97b7572933 VFS: Implement a new type of Node, VFS_DEVICE
Compare 2 commits »
asleepymoon pushed to main at asleepymoon/Luna 2022-10-12 12:51:10 +00:00
0f5910add7 Kernel/Utilities: Add new round_{up,down}_to_nearest_page functions
baa71b09cc Kernel: Build with -fstack-protector-strong instead of -fstack-protector-all
Compare 2 commits »
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 merged pull request asleepymoon/Luna#11 2022-10-12 10:11:45 +00:00
libc: Document functions in headers
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 »