Commit graph

35 commits

Author SHA1 Message Date
Sam Tebbs
1deaab2ad7 Add formatting check to CI 2019-10-06 19:49:45 +01:00
ED
2906d6ca13 Added unit and runtime tests
Also changed up panic call
Fixed rebasing


Feedback
2019-10-06 17:40:12 +01:00
ED
42bdbf6b7f Added unit and runtime tests
Also fixed some typos
Also changed the panic a bit
Removed changed to unnecessary files


Fixed merge


Feedback


Fixed tests
2019-10-05 20:46:31 +01:00
Sam Tebbs
7fb55437e3 Add x86 paging runtime tests 2019-10-01 23:08:19 +01:00
ED
2a0c2e4708 Added unit tests for PIC
Removed I/O wait as it isn't needed and uses the syscall interrupt.
Added runtime tests

Fixed styling for TTY
Fixed runtime tests


Now they are fixed
2019-10-01 17:59:42 +01:00
ED
60164d9252 Added runtime tests for TTY
Removed types
Styling
Added printing error and multi line string for logo


Fix panic after rebase
2019-10-01 11:52:23 +01:00
ED
420a09f039 Added runtime tests for VGA
Added doc comments as well
A little refactor of code
Reordered


Removed types
2019-09-29 12:55:34 +01:00
Sam Tebbs
48d80d92ae Add 4kb paging 2019-09-24 11:43:30 +01:00
Sam Tebbs
a18444e911 Add syscall args to syscall handler type 2019-09-21 17:11:40 +01:00
Sam Tebbs
f11bcd88f3 Import syscall tests into x86/arch.zig 2019-09-17 23:04:01 +01:00
ED
4d9b963310 Added IDT unit and run-time tests 2019-09-17 18:24:44 +01:00
ED
07cc1ae89b Added gdt unit and runtime tests
Updated runtime tests


Added doc comments for runtime tests


PR review


WIP


Fixed testing


Import GDT to run the unit tests


Removed redundant arch tests


Removed whitespace
2019-09-16 22:19:33 +01:00
Sam Tebbs
8a961d7e6d Replace alignment functions with stdlib's 2019-09-12 22:15:00 +01:00
ED
d5d4082a66 Fixed tesing
Add mocking of functions


Added new function type


Fixed up the mock testing


Working mock_framework :), fixed up all tests for VGA and TTY


Adding tests


VGA testing done


Fin vga and tty mock testing


Fixed build


Removed white spaces


WIP


Added tests for all build modes + reduced import string length for testing


Added comments refactoring


Re-added constants


Added some comments


Updated to master of zig


Added unit tests to pipeline


PR comments


Fixed typos
2019-09-08 20:48:23 +01:00
Andrew Kelley
798b1c1d34 Update to zig master and simplify build script 2019-09-05 16:33:43 +01:00
Sam Tebbs
60ba451aec Add x86 syscalls 2019-09-02 20:37:59 +01:00
Sam Tebbs
b8f0b3131c Add infrastructure for build options 2019-09-01 17:29:50 +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
9b0fcbab20 Add arch.registerInterruptHandler 2019-07-06 20:34:10 +01:00
Sam Tebbs
e1511f7924 Add x86 paging 2019-06-29 12:02:42 +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
7e5b7b2331 Add logging 2019-06-25 20:10:26 +01:00
Sam Tebbs
d980ce5524 Add serial output 2019-06-24 22:49:24 +01:00
ED
1fc534b9a4 Added the PIC interface
Also added doc comments to functions
2019-06-02 17:14:02 +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
08dbf09e00 Refactor compilation of architecture-specific code 2019-05-29 08:18:14 +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
3c12803954 Pass multiboot magic and header to kmain 2019-05-19 17:39:27 +01:00
Sam Tebbs
49d6f19516 Separate arch-specific and arch-agnostic code 2019-05-13 21:10:03 +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
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