Stephen Marz
|
72ea82b224
|
Format uart.rs
|
2019-10-10 08:46:16 -04:00 |
|
Stephen Marz
|
450a152b24
|
Add sanity check from kmalloc. Don't zero if it is null
|
2019-10-10 08:45:39 -04:00 |
|
Stephen Marz
|
a110d17355
|
Optimized LCR. Reading from MMIO is slower than overwriting
|
2019-10-10 08:34:31 -04:00 |
|
Stephen Marz
|
ed45e30076
|
Merge branch 'master' of ssh://github.com/pavehawk2007/osblog
|
2019-10-10 08:03:08 -04:00 |
|
Stephen Marz
|
4fa3f329a1
|
Fixed UART overwriting word length bits
|
2019-10-10 08:03:03 -04:00 |
|
Stephen Marz
|
e89ad79cca
|
Fixed UART overriding bits
|
2019-10-10 08:01:39 -04:00 |
|
Stephen Marz
|
16d3e4e9fe
|
Added info to page allocation table.
|
2019-10-09 22:02:58 -04:00 |
|
Stephen Marz
|
d667e9c4d6
|
Added info to page allocation table.
|
2019-10-09 21:59:17 -04:00 |
|
Stephen Marz
|
deb5c972c2
|
Make id_map_range easier to read
|
2019-10-09 21:36:54 -04:00 |
|
Stephen Marz
|
5928b07621
|
Added comments, fixed formatting
|
2019-10-09 21:22:29 -04:00 |
|
Stephen Marz
|
1abe0bb336
|
Fixed over-sizing with kzmalloc
|
2019-10-09 20:58:31 -04:00 |
|
Stephen Marz
|
88abfb57f2
|
Fixed typos
|
2019-10-09 20:57:24 -04:00 |
|
Stephen Marz
|
c4b824dfa7
|
Fixed looping bug
|
2019-10-09 20:36:39 -04:00 |
|
Stephen Marz
|
99b98111a4
|
Added kzmalloc for zeroing allocated memory
|
2019-10-09 20:36:05 -04:00 |
|
Stephen Marz
|
19eac921db
|
Change to id_map_range
|
2019-10-09 20:27:45 -04:00 |
|
Stephen Marz
|
7a6ba92732
|
Ran rustfmt and removed dead code
|
2019-10-09 20:24:19 -04:00 |
|
Stephen Marz
|
8ad7d2c24c
|
Finished sret comparison
|
2019-10-09 20:21:25 -04:00 |
|
Stephen Marz
|
72f4ce8d46
|
Updated delegation and removed sie bit in favor of spie
|
2019-10-09 20:11:21 -04:00 |
|
Stephen Marz
|
3adc054e2d
|
Added _stack_start and _stack_end to map the stack space
|
2019-10-09 19:50:03 -04:00 |
|
Stephen Marz
|
d81c619e60
|
Removed unsafe for id_map_range, added comments
|
2019-10-09 19:44:39 -04:00 |
|
Stephen Marz
|
037e7044ac
|
No need for a space literal
|
2019-10-09 19:42:11 -04:00 |
|
Stephen Marz
|
5634c8342b
|
Remove drive..no need for it until block
|
2019-10-09 19:41:47 -04:00 |
|
Stephen Marz
|
6aff7529c2
|
Disable interrupts for duration of kinit(), reenable in supervisor mode
|
2019-10-09 18:35:14 -04:00 |
|
Stephen Marz
|
a2a94006f3
|
Added newline at the end of file, mapped all of PLIC and CLINT
|
2019-10-09 18:21:43 -04:00 |
|
Stephen Marz
|
982c4afb77
|
Switch to gcc so that a stage 1 build is sufficient (./do.sh 91)
|
2019-10-09 18:21:20 -04:00 |
|
Stephen Marz
|
5ad54c6299
|
Finished MMU, page allocation, and kmem allocation. Switched to supervisor mode in kmain()
|
2019-10-09 18:09:56 -04:00 |
|
Adam Short
|
0c9fb68846
|
Fixed do.sh to remove Linux build directory
Originally, the do.sh script would remove the linux folder, not the
build folder.
|
2019-10-08 23:23:26 -04:00 |
|
Adam Short
|
575f055df6
|
Added TOOLCHAIN_ROOT to .build.config
to add prefix where toolchain is being installed to (primarily used
if not using sudo)
|
2019-10-08 22:53:08 -04:00 |
|
Stephen Marz
|
7f00a999d3
|
Rename mem.rs to page.rs. We will make a localized allocator for mem.rs, later
|
2019-10-07 16:43:48 -04:00 |
|
Stephen Marz
|
4a6c58cda6
|
Added comments
|
2019-10-07 16:38:03 -04:00 |
|
Stephen Marz
|
d64cad37b9
|
Update boxed feel. Both are fine, just want to represent both ways to do this.
|
2019-10-07 16:33:38 -04:00 |
|
Stephen Marz
|
0fe8e027d3
|
Get rid of spurious mut
|
2019-10-07 16:33:07 -04:00 |
|
Stephen Marz
|
2937d95f71
|
Get rid of spurious mut
|
2019-10-07 16:32:16 -04:00 |
|
Stephen Marz
|
9aa757f9f2
|
Updates, added a table length
|
2019-10-07 16:31:27 -04:00 |
|
Stephen Marz
|
076dceff73
|
Added global allocator and tests
|
2019-10-07 16:03:39 -04:00 |
|
Stephen Marz
|
a321507a3b
|
Added chapter 3
|
2019-10-07 14:43:28 -04:00 |
|
Stephen Marz
|
77994f2289
|
Added chapter 3
|
2019-10-06 22:20:39 -04:00 |
|
Dr. Koutheir Attouchi
|
b6f9be4bbb
|
More comments on what's going on
|
2019-10-06 17:52:59 +02:00 |
|
Dr. Koutheir Attouchi
|
68e33189fd
|
Commenting what's being done
|
2019-10-06 17:16:42 +02:00 |
|
Stephen Marz
|
0b2cbfcb35
|
Closes issue #5 : Added comments to virt.lds to explain what each section does.
|
2019-10-06 11:06:51 -04:00 |
|
Stephen Marz
|
33d27d9efa
|
Use byte iterator
|
2019-10-05 00:18:24 -04:00 |
|
Stephen Marz
|
691c5b1653
|
Go back to 8000_0000
|
2019-10-04 14:11:32 -04:00 |
|
Stephen Marz
|
7a55de2601
|
Parse out words for initialization
|
2019-10-04 08:25:39 -04:00 |
|
Stephen Marz
|
14f67420e0
|
Remove stop bits
|
2019-10-03 22:07:43 -04:00 |
|
Stephen Marz
|
661ccca9d0
|
Updates to chapter 2
|
2019-10-03 21:56:19 -04:00 |
|
Stephen Marz
|
10c493738e
|
Added chapter 2
|
2019-10-02 08:41:58 -04:00 |
|
Stephen Marz
|
1402b8c8bd
|
Fixes issue #1 - assembly trap vector has been added and commented
to give context to what it will do in the future.
|
2019-09-29 08:04:36 -04:00 |
|
Stephen Marz
|
e5190b7dc4
|
The original OS won't compile if the asm_trap_vector isn't there. It won't
do anything, since we haven't gotten that far, yet, but it needs to at least
be a symbol for the linker to have.
|
2019-09-29 08:00:12 -04:00 |
|
Stephen Marz
|
1dea574177
|
Rust gets a little mad with the three forward-slashes /// due to
rustdoc. So, these were spaced out to look like normal comments.
|
2019-09-29 07:59:45 -04:00 |
|
Stephen Marz
|
f110f25ad8
|
Added make_hdd.sh to make hdd.dsk
|
2019-09-27 13:19:51 -04:00 |
|
Stephen Marz
|
a9bbdf8554
|
Added chapters 0 and 1
|
2019-09-27 13:17:29 -04:00 |
|