2019-05-19 11:19:41 -04:00
|
|
|
# Kernel
|
2019-04-25 16:03:45 -04:00
|
|
|
|
2019-05-19 11:19:41 -04:00
|
|
|
Bits and pieces of code that you can assemble to build a kernel for your
|
|
|
|
machine.
|
2019-04-25 16:03:45 -04:00
|
|
|
|
2019-05-19 11:19:41 -04:00
|
|
|
These parts are made to be glued together in a single `glue.asm` file you write
|
2019-04-25 16:03:45 -04:00
|
|
|
yourself.
|
|
|
|
|
2019-06-19 13:34:06 -04:00
|
|
|
This code is designed to be assembled by Collapse OS' own [zasm][zasm].
|
2019-04-25 16:03:45 -04:00
|
|
|
|
2019-11-15 15:37:49 -05:00
|
|
|
## Scope
|
2019-04-25 16:03:45 -04:00
|
|
|
|
2019-11-15 15:37:49 -05:00
|
|
|
Units in the `kernel/` folder is about device driver, abstractions over them
|
|
|
|
as well as the file system. Although a typical kernel boots to a shell, the
|
|
|
|
code for that shell is not considered part of the kernel code (even if, most of
|
|
|
|
the time, it's assembled in the same binary). Shells are considered userspace
|
|
|
|
applications (which live in `apps/`).
|