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
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