Commit graph

314 commits

Author SHA1 Message Date
Sam Tebbs
0196ef7824 Merge pull request #21 from SamTebbs33/feature/multiboot-info
This patch passes the multiboot header address and bootloader magic number provided by grub to the kmain function, and checks the magic number to make sure it is correct before initialising the rest of the system. Closes #19
2019-05-21 20:27:26 +01:00
Sam Tebbs
3c12803954 Pass multiboot magic and header to kmain 2019-05-19 17:39:27 +01:00
Sam Tebbs
bc54f0ef09 Merge pull request #17 from SamTebbs33/feature/architecture-separation
This patch separates the architecture-specific and core code from each other, with the arch code moved to its own directory under src/kernel/arch. The architecture and core code are built to objects, then linked togetherm, and an interface is added in src/kernel/arch.zig which each architecture must implement. Closes #16
2019-05-17 19:18:47 +01:00
Sam Tebbs
49d6f19516 Separate arch-specific and arch-agnostic code 2019-05-13 21:10:03 +01:00
Sam Tebbs
b1011b780f Merge pull request #11 from SamTebbs33/feature/zig-build-system
Start using the zig build system
2019-05-03 23:35:30 +01:00
Sam Tebbs
47f68ceb9c Start using the zig build system
Start using zig build system
2019-05-03 23:35:00 +01:00
Sam Tebbs
def383249e Merge pull request #9 from SamTebbs33/feature/higher-half
Feature/higher half, closes #6
2019-04-23 20:24:28 +01:00
Sam Tebbs
24249a5f40 Move boot_page_directory while increment 2019-04-23 19:59:11 +01:00
Sam Tebbs
80b88c7d03 Move branch quota change to top of boot_page_directory init 2019-04-23 18:50:58 +01:00
Sam Tebbs
a7f28c50e1 Add higher half support in linker script 2019-04-19 21:11:14 +01:00
Sam Tebbs
b6d7e5d5c4 Add multiboot setup code 2019-04-19 21:11:04 +01:00
Edward Dean
bee7416b08 Feature/hello world kernel land, closes #3 (#4)
* prints hello world

* Builds with the zig build system
2019-04-17 17:40:26 +01:00
Edward Dean
7678019e03 Feature/bootloader (#2), closes #1
* Added bootloader files

* Changed to spaces from tabs
2019-03-27 21:33:59 +00:00
Sam Tebbs
915330287f Initial commit 2019-03-22 10:48:48 +00:00