Commit graph

274 commits

Author SHA1 Message Date
ED
1fc534b9a4 Added the PIC interface
Also added doc comments to functions
2019-06-02 17:14:02 +01:00
Edward Dean
144dffe628 Merge pull request #29 from SamTebbs33/feature/create-gdt-idt-irq-isr
Added GDT, IDT, IRQ, updated build.zig
2019-05-31 07:42:22 +01:00
ED
995268b04e Added GDT, IDT, IRQ, updated build.zig
Added new build.zig


Interrupts no work :(


Added isr


Interrupts work


Added spurious irq


Code review comments


New name


Refactor


Build asm
2019-05-31 07:41:28 +01:00
Sam Tebbs
d22b79816b Merge pull request #28 from SamTebbs33/feature/arch-compilation-refactor
This patch refactors the compilation of arch code to match the design in #27. Closes #27
2019-05-29 08:20:44 +01:00
Sam Tebbs
08dbf09e00 Refactor compilation of architecture-specific code 2019-05-29 08:18:14 +01:00
Edward Dean
b3f7785fd8 Merge pull request #25 from SamTebbs33/feature/tty-vga-interface
Add TTY and VGA interface
2019-05-23 18:35:04 +01:00
Sam Tebbs
4234bd2038 Merge pull request #24 from SamTebbs33/revert-20-feature/tty-vga-interface
Revert "Feature/tty vga interface"
2019-05-23 18:32:51 +01:00
Sam Tebbs
c1711d4318 Revert "Add TTY and VGA interface (#20)"
This reverts commit 7bcccd648edfa775e1da912bcd546b119d5a7901.
2019-05-23 18:30:42 +01:00
Edward Dean
ad2204cab2 Add TTY and VGA interface (#20)
Line endings


Removed redundant files


Line ending
2019-05-22 20:49:27 +01:00
ED
faeb433bb0 Add TTY and VGA interface
Line endings


Removed redundant files


Line ending
2019-05-22 20:12:46 +01:00
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