apio pushed to main at apio/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 »
apio pushed to main at apio/Luna 2022-10-12 11:12:52 +00:00
cf3f61e373 Kernel: More GDT refactoring
apio pushed to main at apio/Luna 2022-10-12 11:07:33 +00:00
c1f9d3323f Kernel: Refactor TSS loading to make it cleaner >.<
apio pushed to main at apio/Luna 2022-10-12 11:06:03 +00:00
97eacc027e Kernel: Use PAGE_SIZE in more places
apio pushed to main at apio/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 »
apio pushed to main at apio/Luna 2022-10-12 10:15:18 +00:00
e90b90c556 Kernel, libc: Round up to nearest page-aligned size instead of down
apio merged pull request apio/Luna#11 2022-10-12 10:11:45 +00:00
libc: Document functions in headers
apio pushed to main at apio/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 »
apio deleted branch descriptive_headers from apio/Luna 2022-10-12 10:11:45 +00:00
apio pushed to descriptive_headers at apio/Luna 2022-10-12 10:07:48 +00:00
d89685bb36 libc: Document sys/types.h
apio pushed to descriptive_headers at apio/Luna 2022-10-12 10:06:52 +00:00
1e16a78106 libc: Document functions in sys/mman.h
apio pushed to descriptive_headers at apio/Luna 2022-10-12 10:01:23 +00:00
a3362429d3 libc: Update strerror()
0d3e7d4463 libc: Document errno.h
Compare 2 commits »
apio pushed to descriptive_headers at apio/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 »
apio pushed to descriptive_headers at apio/Luna 2022-10-12 09:54:35 +00:00
f44411aa46 libc: Document the functions in luna.h
apio pushed to descriptive_headers at apio/Luna 2022-10-12 09:51:39 +00:00
6aabe19fb4 libc: Document the functions in stdio.h
apio pushed to descriptive_headers at apio/Luna 2022-10-12 09:30:28 +00:00
ffc223c2cf libc: Document functions in stdlib.h
apio pushed to descriptive_headers at apio/Luna 2022-10-12 09:20:54 +00:00
c8c4d31cca Add a FIXME to string.cpp
apio pushed to descriptive_headers at apio/Luna 2022-10-12 09:19:20 +00:00
19ee20b6f5 libc: Document the functions in string.h
apio created pull request apio/Luna#11 2022-10-12 09:05:05 +00:00
WIP: libc: Document functions in headers
apio created branch descriptive_headers in apio/Luna 2022-10-12 09:02:24 +00:00