Commit graph

176 commits

Author SHA1 Message Date
Sam Tebbs
36a0f24fc8 Insert the correct address into the allocations map 2020-07-06 14:50:33 +01:00
Sam Tebbs
34d7bb6806
Merge pull request #181 from SamTebbs33/feature/zig-update
Update for latest zig
2020-07-06 14:23:53 +01:00
Sam Tebbs
d60164bec6 Update for latest zig 2020-07-06 14:17:59 +01:00
Sam Tebbs
7204c422e0
Merge pull request #180 from SamTebbs33/feature/update-allocator-interface
Update to new allocator interface
2020-07-01 23:31:57 +01:00
Sam Tebbs
04896f1168 Update to new allocator interface 2020-07-01 22:33:08 +01:00
Sam Tebbs
e9fd88c96d
Merge pull request #175 from SamTebbs33/bugfix/vmm-start-address
Set the kernel VMM start address to the virtual address offset
2020-06-24 21:09:26 +01:00
Sam Tebbs
e7635142ed Fix the kernel VMM start address 2020-06-24 20:59:29 +01:00
Edward Dean
2d3ea3a81b
Merge pull request #168 from SamTebbs33/feature/add-standardTargetOptions
Use the standardTargetOptions for built targets
2020-06-23 13:00:23 +01:00
DrDeano
1b32fd309b
Use the standardTargetOptions for built targets
This will allow the user to build the OS with more fine grain, but there is a white list of supported build targets.
Closes #129

Updated the README to reflect the new build options


x86 => i386
2020-06-23 12:49:40 +01:00
Edward Dean
10bf2439d9
Merge pull request #164 from SamTebbs33/feature/replace-python-rt-with-zig
Replace python rt with zig
2020-06-23 12:47:04 +01:00
DrDeano
2c91e6f9d0
Remove the old and in with the new
Added the new testing to the OS files

Some spelling
INOUT => IN/OUT
Added some doc comments to log

Added the new runtime to the build + added the None test mode

Moved some stuff around
None test mode is the default to run/build the OS normally with no runtime tests.

Add the new runtime testing to the CI


Updated README and CI


Increased timeout


Print the log message


Spelling


Move runtime to test folder


Add new RT to tty


Add a log to use the unmapped memory to cause page fault in release


Ensure the integer overflow happens even in release builds
2020-06-23 12:43:52 +01:00
Sam Tebbs
d6d99ef667
Merge pull request #139 from SamTebbs33/feature/virtual-fs
Virtual filesystem
2020-06-22 19:02:42 +01:00
Sam Tebbs
28128dd18a Add virtual filesystem 2020-06-22 19:00:13 +01:00
Sam Tebbs
fd4c614113
Merge pull request #167 from SamTebbs33/bugfix/x86-payload-argument
Fix x86 payload
2020-06-22 18:58:24 +01:00
Sam Tebbs
951ef07b9b Fix x86 payload passing 2020-06-22 18:55:01 +01:00
Sam Tebbs
fb82dbbb77
Merge pull request #163 from SamTebbs33/feature/abstract-tty
Abstract away TTY
2020-06-18 22:21:23 +01:00
Sam Tebbs
e2533a2264 Move tty to arch 2020-06-18 22:19:41 +01:00
Sam Tebbs
c4083b0161
Merge pull request #159 from SamTebbs33/feature/serial-init-payload
Pass boot payload to serial init
2020-06-13 20:37:20 +01:00
Sam Tebbs
5101990044 Pass boot payload to serial init 2020-06-12 11:48:36 +01:00
Sam Tebbs
de1c87e040
Merge pull request #161 from SamTebbs33/bugfix/rt-test-arch
Set arch in rt-test.py
2020-06-10 14:23:05 +01:00
Sam Tebbs
256e5fe245 Set arch in rt-test.py 2020-06-09 13:49:47 +01:00
Sam Tebbs
4f7e7a743c
Merge pull request #157 from SamTebbs33/feature/abstract-serial
Make serial dependent on architecture
2020-06-07 17:41:14 +01:00
Sam Tebbs
ecc3de413c Make serial arch-dependent 2020-06-07 17:38:42 +01:00
Sam Tebbs
e7770d0051
Merge pull request #153 from SamTebbs33/feature/move-linker-script
Move linker script
2020-06-04 12:05:32 +01:00
Sam Tebbs
cec5d3c68d Move linker script 2020-06-04 12:01:53 +01:00
Sam Tebbs
72269c28cc
Merge pull request #155 from SamTebbs33/feature/add-arch-option
Add architecture option to build.zig
2020-06-04 11:54:58 +01:00
Sam Tebbs
c2a9622b3d Add info to README 2020-06-02 21:16:37 +01:00
Sam Tebbs
a9589c2e56 Add architecture option to build.zig 2020-06-02 18:54:41 +01:00
Sam Tebbs
10a629c6ed
Merge pull request #151 from SamTebbs33/remove-unused-files
Remove start.asm and start.s
2020-06-02 17:31:26 +01:00
Sam Tebbs
368ecd30a0 Remove start.asm and start.s 2020-06-01 11:33:52 +01:00
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