Commit graph

274 commits

Author SHA1 Message Date
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
d17381c267
Merge pull request #126 from SamTebbs33/keep-stack-section
Keep stack section
2020-02-01 21:08:51 +00:00
Sam Tebbs
ee42565244 Keep stack section 2020-02-01 21:05:33 +00:00
Sam Tebbs
a4f2de425d
Merge pull request #127 from SamTebbs33/zig-update
Update zig code
2020-02-01 21:04:15 +00:00
Sam Tebbs
2352a04928 Update zig code 2020-02-01 20:58:02 +00:00
Edward Dean
aca2cc11d2
Merge pull request #123 from SamTebbs33/feature/real-time-clock
Added RTC
2020-01-15 19:56:42 +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
Edward Dean
96da426a3a
Merge pull request #124 from SamTebbs33/feature/add-fmt-setp-to-build
Add Format step to build
2020-01-15 19:43:29 +00:00
ED
9332fc67b5
Add Format set to build 2020-01-15 16:30:30 +00:00
Edward Dean
c581db8e16
Merge pull request #122 from SamTebbs33/feature/unittest-in-build-arch
Unittest in build arch
2020-01-09 13:11:01 +00:00
ED
0746048a00
Run unit tests under the building architecture
This also removed the need for `@intCase()`
Also move the making directories and copying to a script to the build is simpler.

Install qemu earler
Added chmod +x
Fixed copy elf


Added missing switch for qemu binary


Spelling


Make makeiso.sh executable

No longer chmod makeiso.sh

Use the cache root to set the output directory
2020-01-09 13:08:11 +00:00
Sam Tebbs
a095fd3947
Merge pull request #104 from SamTebbs33/feature/phys-mem-manager
Add physical memory manager
2020-01-09 12:50:03 +00:00
Sam Tebbs
7043ccd6b9 Add a physical memory manager 2020-01-09 12:47:05 +00:00
Sam Tebbs
6a46d263cf
Merge pull request #119 from SamTebbs33/hotfix/callconv-changes
Update calling convention syntax
2020-01-07 16:10:33 +00:00
Sam Tebbs
33136033c1 Update calling convention syntax 2020-01-07 13:30:54 +00:00
Sam Tebbs
33a9e517ce Merge pull request #116 from SamTebbs33/zig-update
Update code to work with zig master
2020-01-06 14:31:00 +00:00
Sam Tebbs
91b2a61acf Update code to work with zig master 2020-01-06 14:28:09 +00:00
Sam Tebbs
4b870d3a65
Merge pull request #109 from SamTebbs33/feature/stacktrace-on-panic3
Add simple stacktrace logging
2019-12-06 20:38:33 +00:00
Sam Tebbs
f0161f0ec9 Add simple stacktrace logging 2019-12-06 20:28:28 +00:00
Sam Tebbs
9d52e08ea7
Merge pull request #113 from SamTebbs33/feature/ci-zig-version
Change CI's zig version to 0.5.0+ae0a219d1
2019-11-19 17:10:04 +00:00
Sam Tebbs
724111ec26 Fix link 2019-11-19 00:04:22 +00:00
Sam Tebbs
9e79808d15 Change CI's zig version to 0.5.0+ae0a219d1 2019-11-18 23:38:41 +00:00
Sam Tebbs
eba782b9d9
Merge pull request #111 from SamTebbs33/bugfix/fix-casts
Fix T(x) style casts
2019-11-10 22:09:43 +00:00
Sam Tebbs
7b2d4c1190 Fix T() style casts 2019-11-10 22:07:20 +00:00
Sam Tebbs
2587b9f16c
Merge pull request #106 from SamTebbs33/feature/load-bootmodules
Load grub modules on mem init
2019-11-09 13:56:34 +00:00
Sam Tebbs
01490f051c Load grub modules on mem init 2019-11-08 22:09:01 +00:00
Sam Tebbs
762ddc3a63
Merge pull request #105 from SamTebbs33/feature/virtToPhys-and-physToVirt
Move virtToPhys to mem.zig and add physToVirt
2019-11-08 22:05:12 +00:00
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