Commit graph

246 commits

Author SHA1 Message Date
Sam Tebbs
122adaba95
Merge pull request #149 from SamTebbs33/feature/arch-boot-payload
Abstract away boot modules and memory maps
2020-05-30 23:40:20 +01:00
Sam Tebbs
554b9706f2 Abstract away boot modules and memory map 2020-05-30 23:24:45 +01:00
Sam Tebbs
0ca3542fd2
Merge pull request #144 from SamTebbs33/bugfix/stacktrace-full-symbol-name
Write full symbol name to kernel symbol file
2020-05-15 16:55:21 +01:00
Sam Tebbs
397cd446bb Write full symbol name to kernel symbol file 2020-05-15 14:59:09 +01:00
Sam Tebbs
fe0b2ffb25
Merge pull request #146 from SamTebbs33/bugfix/fix-integer-types
Change integer types to scale up on 64 bit architectures
2020-05-15 14:39:12 +01:00
Sam Tebbs
39fd5a151c Make some integers usize 2020-05-15 14:13:46 +01:00
Edward Dean
76ff52b1fa
Merge pull request #148 from SamTebbs33/feature/update-to-zig-master
zig fmt
2020-05-15 12:38:30 +01:00
DrDeano
a432e45e9d
zig fmt 2020-05-14 23:01:05 +01:00
Sam Tebbs
9cf4858d6e
Merge pull request #133 from SamTebbs33/feature/heap-allocator
Add a heap allocator
2020-05-06 23:22:20 +01:00
Sam Tebbs
f5a22fdd4b Add heap allocator 2020-05-06 23:19:11 +01:00
Edward Dean
dac57fc87b
Merge pull request #140 from SamTebbs33/feature/log-cpu-state-on-page-fault
Log CPU state on page fault
2020-05-06 23:07:20 +01:00
DrDeano
16b07bfbcf
Log CPU state on page fault
Moved CR assembly to arch file


Fixed new line


Moved control registers from arch to paging
2020-05-06 23:04:13 +01:00
Sam Tebbs
ed8087ad03
Merge pull request #137 from SamTebbs33/bugfix/vmm-add-start-to-alloc
Add VMM start address to allocation result
2020-04-24 14:36:24 +01:00
Sam Tebbs
2646f8b74b Start kernel VMM at second block 2020-04-22 23:56:16 +01:00
Sam Tebbs
cf11b17542 Add start to alloc result 2020-04-22 23:56:05 +01:00
Sam Tebbs
8523bcf9f9
Merge pull request #131 from marler8997/shebang
use /usr/bin/env bash instead of /bin/bash
2020-04-14 21:25:05 +01:00
Jonathan Marler
825cfe0b21 use /usr/bin/env bash instead of /bin/bash 2020-04-14 12:13:09 -06:00
Sam Tebbs
b2b6616861
Merge pull request #132 from SamTebbs33/feature/pr-status-checks
Run CI checks on pull requests and pushes
2020-04-14 15:05:32 +01:00
Sam Tebbs
98268ff902 Run CI checks on pull requests and pushes 2020-04-14 14:59:32 +01:00
Sam Tebbs
7f470a4668
Merge pull request #128 from SamTebbs33/feature/virtual-mem-manager
Add virtual memory manager
2020-04-14 04:03:52 +01:00
Sam Tebbs
02ce6a5923 Add virtual memory manager 2020-04-14 03:58:25 +01:00
Edward Dean
638ad81e82
Merge pull request #130 from SamTebbs33/feature/update_zig_version
Update Pluto to Zig master
2020-04-12 22:30:44 +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
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