2019-05-20 01:19:41 +10:00
|
|
|
# Kernel
|
2019-04-26 06:03:45 +10:00
|
|
|
|
2019-05-20 01:19:41 +10:00
|
|
|
Bits and pieces of code that you can assemble to build a kernel for your
|
|
|
|
machine.
|
2019-04-26 06:03:45 +10:00
|
|
|
|
2019-05-20 01:19:41 +10:00
|
|
|
These parts are made to be glued together in a single `glue.asm` file you write
|
2019-04-26 06:03:45 +10:00
|
|
|
yourself.
|
|
|
|
|
2019-06-20 03:34:06 +10:00
|
|
|
This code is designed to be assembled by Collapse OS' own [zasm][zasm].
|
2019-04-26 06:03:45 +10:00
|
|
|
|
2019-11-16 07:37:49 +11:00
|
|
|
## Scope
|
2019-04-26 06:03:45 +10:00
|
|
|
|
2019-11-16 07:37:49 +11: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/`).
|