diff options
author | Freya Murphy <freya@freyacat.org> | 2025-05-06 15:32:53 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-05-06 15:33:18 -0400 |
commit | 018e740a875975988425fef076a893faedda5264 (patch) | |
tree | e222298c7d1cdda703915326a2db1853837c4685 /docs/HEADERS.md | |
parent | Merge branch 'main' of github.com:kenshineto/kern (diff) | |
download | comus-018e740a875975988425fef076a893faedda5264.tar.gz comus-018e740a875975988425fef076a893faedda5264.tar.bz2 comus-018e740a875975988425fef076a893faedda5264.zip |
more docs
Diffstat (limited to 'docs/HEADERS.md')
-rw-r--r-- | docs/HEADERS.md | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/docs/HEADERS.md b/docs/HEADERS.md index e69de29..f904006 100644 --- a/docs/HEADERS.md +++ b/docs/HEADERS.md @@ -0,0 +1,43 @@ + +# Headers + +## comus + +All kernel headers for the `comus` kernel. Each of these headers map directly +to c files in the kernel source tree besides the following. + +### asm.h + +Contains inline functions for calling x64/x86 assembly + +### error.h + +Kernel error codes +- Success (0) +- Failure (1) +- All other codes are specific failures + +### keycodes.h + +Kernel keycodes used in input.h +- ps2 driver uses these keycodes when mapping its scancodes + +### limits.h + +Maximum limists across multiple components of the kernel. +- max open files +- max filesystem disks +- max number of process +- etc... + +## efi.h + +Standard UEFI header. Read UEFI specification online for more information. + +## elf.h + +Standard ELF header. Read ELF specification online for more information. + +## lib + +Used for kernel c library code stored in `kernel/lib` |