Commit graph

186 commits

Author SHA1 Message Date
Sam Tebbs
91b7ca02b2 Merge pull request #97 from SamTebbs33/bugfix/rt-test-script-hangs
Stop rt-test script from hanging
2019-10-06 22:15:10 +01:00
Sam Tebbs
a3b565629e Stop rt-test script from hanging 2019-10-06 20:54:39 +01:00
Sam Tebbs
032d08ebfe Merge pull request #96 from SamTebbs33/feature/ci-formatting-check
Add formatting check to CI
2019-10-06 20:04:17 +01:00
Sam Tebbs
1deaab2ad7 Add formatting check to CI 2019-10-06 19:49:45 +01:00
Edward Dean
73495f1f57 Merge pull request #92 from SamTebbs33/adding-tests-for-irq
Added unit and runtime tests
2019-10-06 19:32:52 +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
Edward Dean
cec688d279 Merge pull request #93 from SamTebbs33/adding-tests-for-isr
Added unit and runtime tests
2019-10-05 20:49:19 +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
d306078c62 Merge pull request #95 from SamTebbs33/bugfix/fix-debug-option
Remove debug option
2019-10-03 17:19:08 +01:00
Sam Tebbs
16bd3f57a1 Remove debug option 2019-10-03 17:15:05 +01:00
Sam Tebbs
88d6e58c6e Merge pull request #73 from SamTebbs33/feature/paging-rt-tests
Add x86 paging rt test
2019-10-01 23:15:22 +01:00
Sam Tebbs
7fb55437e3 Add x86 paging runtime tests 2019-10-01 23:08:19 +01:00
Edward Dean
114f5ea234 Merge pull request #94 from SamTebbs33/adding-tests-for-pic
Added unit tests for PIC
2019-10-01 18:02:30 +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
Edward Dean
25af35f726 Merge pull request #91 from SamTebbs33/adding-test-for-tty
Added runtime tests for TTY
2019-10-01 11:58:02 +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
Edward Dean
6ece9a8440 Merge pull request #90 from SamTebbs33/adding-tests-for-vga
Added runtime tests for VGA
2019-10-01 11:43:11 +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
b682afa79d Merge pull request #84 from SamTebbs33/feature/4kb-paging
Add 4kb paging
2019-09-24 11:46:00 +01:00
Sam Tebbs
48d80d92ae Add 4kb paging 2019-09-24 11:43:30 +01:00
Sam Tebbs
4a1209785a Merge pull request #88 from SamTebbs33/feature/refactor-syscall-handler-type
Add syscall args to syscall handler type
2019-09-24 11:05:41 +01:00
Sam Tebbs
a18444e911 Add syscall args to syscall handler type 2019-09-21 17:11:40 +01:00
Sam Tebbs
5daa9d7d3c Merge pull request #87 from SamTebbs33/feature/github-actions-ci
Migrate to github actions for CI
2019-09-19 11:04:29 +01:00
Sam Tebbs
833ca22989 Migrate to github actions for CI 2019-09-18 20:47:59 +01:00
Sam Tebbs
70e817ddd7 Merge pull request #85 from SamTebbs33/feature/test-single-buildmode
Only test a single build mode
2019-09-18 18:43:08 +01:00
Sam Tebbs
a7bb3e1d01 Merge pull request #86 from SamTebbs33/feature/import-syscall-tests
Import syscall tests into x86/arch.zig
2019-09-18 15:17:05 +01:00
Sam Tebbs
f11bcd88f3 Import syscall tests into x86/arch.zig 2019-09-17 23:04:01 +01:00
Sam Tebbs
b4b3fb06c3 Only test a single build mode 2019-09-17 19:00:33 +01:00
Edward Dean
048284e305 Merge pull request #83 from SamTebbs33/feature/adding-tests-for-idt
Feature/adding tests for idt
2019-09-17 18:27:48 +01:00
ED
4d9b963310 Added IDT unit and run-time tests 2019-09-17 18:24:44 +01:00
Edward Dean
9d9c5d6a39 Merge pull request #78 from SamTebbs33/feature/adding-tests-for-gdt
Feature/adding tests for gdt
2019-09-16 22:53:56 +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
9c35de8673 Merge pull request #80 from SamTebbs33/feature/alignment-func-replacement
Replace x86 paging alignment functions with stdlib's
2019-09-12 22:56:27 +01:00
Sam Tebbs
8a961d7e6d Replace alignment functions with stdlib's 2019-09-12 22:15:00 +01:00
Sam Tebbs
7cb0410f72 Merge pull request #76 from SamTebbs33/bugfix/gdb-symbol-file
Fix gdb symbol-file argument
2019-09-12 00:37:56 +01:00
Sam Tebbs
2373331716 Clean up argument thing 2019-09-11 23:25:34 +01:00
Sam Tebbs
37b6c58c3c Fix gdb symbol-file argument 2019-09-10 23:08:57 +01:00
Edward Dean
b046cd8f3e Merge pull request #58 from SamTebbs33/feature/arch-mock-testing
Feature/arch mock testing
2019-09-08 20:52:41 +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
Sam Tebbs
89c47d064b Merge pull request #71 from SamTebbs33/feature/readme-improvement
Improve readme
2019-09-08 16:26:49 +01:00
Sam Tebbs
5b1487c877 Improve readme 2019-09-08 16:26:24 +01:00
Sam Tebbs
01737079df Merge pull request #65 from andrewrk/update-to-zig-master-and-fix-build
Update to zig master and simplify build script
2019-09-05 16:34:16 +01:00
Andrew Kelley
798b1c1d34 Update to zig master and simplify build script 2019-09-05 16:33:43 +01:00
Sam Tebbs
b2ce5f6310 Merge pull request #56 from SamTebbs33/feature/syscalls
Add x86 syscalls
2019-09-02 20:38:45 +01:00
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