aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: e8adecda968906722a60570fcadefe547eac60bb (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
## A simple kernel written in C

## supported platforms
- i686

Supported toolchains are defined in $ARCH/toolchain.mk

## drivers
- uart: 16550 (write)
- vga text mode
- pic: 8259
- ps2 controller: i8042, with keyboard and mouse

## building
- Code is ANSI C
prerequisites:
* i686-elf-gcc, i686-elf-binutils
* for bootable iso image: grub, mtools
* to run: qemu-system-i386

```sh
make glitch.elf # to build the kernel
make glitch.iso # to build bootable CD image
make run        # to run it with qemu
```

## documentation
prerequisites: doxygen

```sh
make doc
```

# musl
- i686/include/sys/io.h
- lib/string/itoa.c