Commit graph

147 commits

Author SHA1 Message Date
Sam Tebbs
9b9bfdfa58 Move virtToPhys to mem.zig and add physToVirt 2019-11-08 21:57:42 +00:00
Edward Dean
87f33a4c0d
Merge pull request #108 from SamTebbs33/full-isr-irq-zig-code
No more assembly
2019-11-06 21:34:03 +00:00
ED
89a1873e7c No more assembly
Pure zig
Added doc comments


Feedback
2019-11-06 21:31:44 +00:00
Edward Dean
e5e8939c3f
Merge pull request #107 from SamTebbs33/pit-adding-tests
Added run time tests for PIT
2019-11-06 21:31:16 +00:00
ED
419d8ad585 Added run time tests for PIT
Also changed the TTY a bit
Merged new run time testing


Code layout change


Feedback


Feedback 2
2019-11-06 21:21:27 +00:00
Sam Tebbs
5d59294c17
Merge pull request #101 from SamTebbs33/feature/log-tests
Add log tests
2019-10-25 20:42:12 +01:00
Sam Tebbs
36aeced2c3 Add log tests 2019-10-25 20:08:59 +01:00
Sam Tebbs
526d1cee93
Merge pull request #100 from SamTebbs33/feature/serial-tests
Add serial tests
2019-10-15 17:32:37 +01:00
Sam Tebbs
35b76d5f1c Add serial tests 2019-10-15 17:20:22 +01:00
Sam Tebbs
586d46332c
Merge pull request #103 from SamTebbs33/bugfix/readme-fix
Fix readme
2019-10-12 14:24:09 +01:00
Sam Tebbs
287b50ee59 Fix some readme issues 2019-10-11 17:33:36 +01:00
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