summaryrefslogtreecommitdiff
path: root/docs/MODULES.md
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-05-06 15:32:53 -0400
committerFreya Murphy <freya@freyacat.org>2025-05-06 15:33:18 -0400
commit018e740a875975988425fef076a893faedda5264 (patch)
treee222298c7d1cdda703915326a2db1853837c4685 /docs/MODULES.md
parentMerge branch 'main' of github.com:kenshineto/kern (diff)
downloadcomus-018e740a875975988425fef076a893faedda5264.tar.gz
comus-018e740a875975988425fef076a893faedda5264.tar.bz2
comus-018e740a875975988425fef076a893faedda5264.zip
more docs
Diffstat (limited to '')
-rw-r--r--docs/MODULES.md26
1 files changed, 26 insertions, 0 deletions
diff --git a/docs/MODULES.md b/docs/MODULES.md
index cf452ff..31d3eba 100644
--- a/docs/MODULES.md
+++ b/docs/MODULES.md
@@ -107,3 +107,29 @@ Stores loaded process information and scheduler
- acessed though syscall_queue[SYS_num]
See PCB.md for pcb information.
+
+# syscall.c
+
+Syscall implentation functions for each syscall
+
+See SYSCALLS.md
+
+# term.c
+
+Manages text terminal. All text printed to standard out or err will be printed
+to this terminal.
+
+- contains a terminal buffer for allowing scrolling of the screen
+- manages redrawing the terminal when scrolling or changing terminal handler
+ - vga text mode v.s. gpu framebuffer
+
+# user.c
+
+Loads user ELF binaries into memory and initalizes them into a PCB.
+
+See PCB.md
+
+- `user_load` - load a user process form the filesystem into memory
+- `user_clone` - clones the user process
+- `user_cleanup` - cleans up a user process
+