Commit Graph

15 Commits

Author SHA1 Message Date
Patrik
2e8da22b32 Docker: Add a Dockerfile and Makefile targets (#373)
* add docker build option

* add docker section in makefile

* add bash_aliases to get different prompt
2017-12-09 17:34:22 +01:00
Philipp Oppermann
a04924955a Add missing license headers and update copyright year (#232) 2016-10-02 18:20:48 +02:00
Philipp Oppermann
00701ca474 Add code for “Returning from Exceptions” 2016-09-21 14:34:32 +02:00
Philipp Oppermann
725c452157 Use the panic=abort option instead of -Z no-landing-pads 2016-05-29 18:00:29 +02:00
Philipp Oppermann
be251361fa Use -cdrom instead of -drive as it's shorter
Right now, it does not matter whether we boot from a drive or a cdrom. Therefore we use the shorter `-cdrom`.
2016-01-02 16:28:09 +01:00
Philipp Oppermann
f378e6aed3 Set up GDB 2016-01-01 18:05:16 +01:00
Philipp Oppermann
a9e5b7fd28 Update license headers 2015-12-29 12:31:25 +01:00
Philipp Oppermann
e52d8bcfd2 Specify raw ISO format explicitely to avoid QEMU warning 2015-11-24 00:08:34 +01:00
Jacob Krall
37b576eb3c Explicitly rename copied kernel to kernel.bin
Otherwise your `grub.cfg` from earlier in the article will be out of date (we're producing `kernel-x86_64.bin`, but grub expects `kernel.bin`).
2015-10-26 15:45:46 +01:00
Jacob Krall
9ecaf0fe0c make iso depends on grub.cfg
This way, if you fix a typo in grub.cfg, you don't have to `make clean` to get `make iso` to pick it up.
2015-10-26 15:45:19 +01:00
Philipp Oppermann
3d94304bbb Specify rust target 2015-10-24 16:20:46 +02:00
Philipp Oppermann
c6223ed48f Omit unwinding landing pads (we don't support panics atm) 2015-08-25 14:54:06 +02:00
Philipp Oppermann
fcf69dcc53 Remove unused sections to avoid float issues
Avoids a linker error for `fmod` and `fmodf`. These functions are refenced in libcore. The KEEP ensures that the Multiboot section isn't removed.
2015-08-25 14:54:06 +02:00
Philipp Oppermann
d9ce36be11 Compile rust project in Makefile 2015-08-25 14:54:06 +02:00
Philipp Oppermann
262e64f184 Add a Makefile
It provides `make` (builds the kernel), `make iso` (builds kernel+ISO), and `make run` (builds kernel+ISO and starts qemu). All assembly files from the arch subdirectories are compiled and linked. It also provides basic multi-architecture support through e.g. `make arch=mips iso`.
2015-08-13 12:48:17 +02:00