Sam Tebbs
ecc3de413c
Make serial arch-dependent
2020-06-07 17:38:42 +01:00
Sam Tebbs
554b9706f2
Abstract away boot modules and memory map
2020-05-30 23:24:45 +01:00
DrDeano
a432e45e9d
zig fmt
2020-05-14 23:01:05 +01:00
Sam Tebbs
f5a22fdd4b
Add heap allocator
2020-05-06 23:19:11 +01:00
Sam Tebbs
02ce6a5923
Add virtual memory manager
2020-04-14 03:58:25 +01:00
DrDeano
1f97a5c6c8
Updating to zig master
...
Added cpu model
Moved logging to defer done log
Moved mem.init to bottom
Updated again to new zig master
2020-04-12 22:26:34 +01:00
Sam Tebbs
2352a04928
Update zig code
2020-02-01 20:58:02 +00:00
DrDeano
7ab180f622
Added RTC
...
Added I/O waits to PIC remapping
Added fmt step to build
When building will format all the code to the standard
Fixed cascading interrupts
Re-named to selectAnd*Register. Moved switching on registers into emun
Removed build fmt step
2020-01-15 19:50:47 +00:00
Sam Tebbs
7043ccd6b9
Add a physical memory manager
2020-01-09 12:47:05 +00:00
Sam Tebbs
33136033c1
Update calling convention syntax
2020-01-07 13:30:54 +00:00
Sam Tebbs
91b2a61acf
Update code to work with zig master
2020-01-06 14:28:09 +00:00
Sam Tebbs
f0161f0ec9
Add simple stacktrace logging
2019-12-06 20:28:28 +00:00
Sam Tebbs
7b2d4c1190
Fix T() style casts
2019-11-10 22:07:20 +00:00
Sam Tebbs
01490f051c
Load grub modules on mem init
2019-11-08 22:09:01 +00:00
ED
89a1873e7c
No more assembly
...
Pure zig
Added doc comments
Feedback
2019-11-06 21:31:44 +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
36aeced2c3
Add log tests
2019-10-25 20:08:59 +01:00
Sam Tebbs
35b76d5f1c
Add serial tests
2019-10-15 17:20:22 +01:00
Sam Tebbs
a3b565629e
Stop rt-test script from hanging
2019-10-06 20:54:39 +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
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
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
60ba451aec
Add x86 syscalls
2019-09-02 20:37:59 +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
ED
faeb433bb0
Add TTY and VGA interface
...
Line endings
Removed redundant files
Line ending
2019-05-22 20:12:46 +01:00