Commit graph

142 commits

Author SHA1 Message Date
Sam Tebbs
60ba451aec Add x86 syscalls 2019-09-02 20:37:59 +01:00
Sam Tebbs
190f21f907 Merge pull request #62 from SamTebbs33/feature/build-options
Add infrastructure for build options
2019-09-01 17:33:10 +01:00
Sam Tebbs
b8f0b3131c Add infrastructure for build options 2019-09-01 17:29:50 +01:00
Sam Tebbs
47a6dbdb5b Merge pull request #54 from SamTebbs33/feature/ci
Add continuous integration with Azure
2019-07-25 17:51:25 +01:00
Sam Tebbs
50948774c4 Add continuous integration with Azure
This patch adds continuous integration with Azure Pipelines at:
https://dev.azure.com/samueltebbs/pluto/_build?definitionId=1. This will
download zig v0.4.0 (will change to master once we upgrade our source),
build the kernel, install qemu and do runtime testing (mock testing will
also need to be done once that is up and running). Closes #13
2019-07-25 10:35:16 +01:00
Sam Tebbs
811ee30f17 Merge pull request #48 from SamTebbs33/feature/runtime-testing
Add runtime testing harness
2019-07-09 23:27:44 +01:00
Sam Tebbs
35cfbd1686 Add runtime testing harness 2019-07-09 23:25:52 +01:00
Sam Tebbs
a3d1c2a6c5 Merge pull request #52 from SamTebbs33/feature/arch-register-int-handler
Add arch.registerInterruptHandler
2019-07-06 23:40:31 +01:00
Sam Tebbs
9b0fcbab20 Add arch.registerInterruptHandler 2019-07-06 20:34:10 +01:00
Sam Tebbs
f8f7e40535 Merge pull request #39 from SamTebbs33/feature/paging
Add x86 paging
2019-06-29 17:27:47 +01:00
Sam Tebbs
e1511f7924 Add x86 paging 2019-06-29 12:02:42 +01:00
Edward Dean
2ba7f62127 Merge pull request #43 from SamTebbs33/feature/PIT-handler
Added PIT interface
2019-06-27 21:30:00 +01:00
ED
1e951691a9 Added PIT interface
Ready for PR


Code review changes


Minor changes
2019-06-26 18:42:38 +01:00
Sam Tebbs
2ab99036b1 Merge pull request #42 from SamTebbs33/feature/logging
Add logging
2019-06-25 20:23:50 +01:00
Sam Tebbs
7e5b7b2331 Add logging 2019-06-25 20:10:26 +01:00
Sam Tebbs
1b8244adfa Merge pull request #41 from SamTebbs33/feature/serial-output
Add serial output
2019-06-24 22:56:24 +01:00
Sam Tebbs
d980ce5524 Add serial output 2019-06-24 22:49:24 +01:00
Edward Dean
4b75fb78e5 Merge pull request #34 from SamTebbs33/feature/pic-interface
Added the PIC interface
2019-06-02 17:30:42 +01:00
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