summaryrefslogtreecommitdiff
path: root/docs/README.md
blob: c5c715845727987ee73a4755e9a58537af56349a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Comus is a 64-bit paging kernel.

Created for CSCI.452.01

## Members

- Freya Murphy
- Ian McFarlane
- Galen Sagarin

## Source Code

https://github.com/kenshineto/kern

## Arch

amd64

## Bootloader

Multiboot (Legacy / UEFI)

## Docstrings

Kernel function docstrings MUST be located in the headers.

Docstrings for global functions MAY be in the source c files.

## Startup

1. Multiboot loads kernel into either `_start` or `_start_efi`
  -  Kernel identity maps during legacy boot (`_start`)
2. Kernel loads GDT, and far jobs into `main`
3. `main` loads the modules `cpu`, `mboot`, `memory`, `drivers`, `fs`, `pcb` in order.
  - See MODULES.md
4. Kernel loads init process (`bin/init`)
5. Init loads user programs (sendoff!)