Stephen Marz
|
ccad138c03
|
Changed trap to machine-only
|
2019-11-03 18:56:43 -05:00 |
|
Stephen Marz
|
d8b0313842
|
Remove s_trap in ASM
|
2019-11-03 18:41:21 -05:00 |
|
Stephen Marz
|
bb64443076
|
Remove s_trap
|
2019-11-03 18:41:07 -05:00 |
|
Stephen Marz
|
aaad7c1cec
|
Added comments and updates to traps
|
2019-11-02 02:44:40 -04:00 |
|
Stephen Marz
|
6f333bd8f0
|
Ran rustfmt
|
2019-10-27 16:03:37 -04:00 |
|
Stephen Marz
|
0b2506e8e5
|
Updates for ch4
|
2019-10-27 16:03:12 -04:00 |
|
Stephen Marz
|
b95aacadb4
|
Changed SATP fence functions
|
2019-10-25 18:39:59 -04:00 |
|
Stephen Marz
|
7e3d97b908
|
Fixed mapping kernel stack
|
2019-10-21 13:19:52 -04:00 |
|
Stephen Marz
|
ce0cc7df11
|
Fixed mapping kernel stack
|
2019-10-21 13:19:13 -04:00 |
|
Stephen Marz
|
eb2b9a6aca
|
Fixed stack location, mapping
|
2019-10-14 22:15:03 -04:00 |
|
Stephen Marz
|
fb4f3eea91
|
Fixed stack location, mapping
|
2019-10-14 22:12:44 -04:00 |
|
Stephen Marz
|
9baea58551
|
Added cpu.rs for CPU routines. Changed context-switch code.
|
2019-10-14 21:23:20 -04:00 |
|
Stephen Marz
|
731e428f66
|
Added timer reset in trap
|
2019-10-14 16:22:13 -04:00 |
|
Stephen Marz
|
3c99c5cffa
|
Switched to using mret for trap
|
2019-10-14 16:14:42 -04:00 |
|
Stephen Marz
|
ccaf9b6a5c
|
Switched to using mret for trap
|
2019-10-14 16:14:22 -04:00 |
|
Stephen Marz
|
a10926df76
|
Change C++ to Rust
|
2019-10-12 21:33:27 -04:00 |
|
Stephen Marz
|
e82192913f
|
Change C++ to Rust
|
2019-10-12 21:32:57 -04:00 |
|
Stephen Marz
|
1411743210
|
Added chapter 4
|
2019-10-12 20:42:55 -04:00 |
|
Stephen Marz
|
a8079377dd
|
Merge branch 'next'
|
2019-10-12 19:13:42 -04:00 |
|
Stephen Marz
|
03e34ebf96
|
Added comments, switched KERNEL_TABLE to data section
|
2019-10-12 19:12:50 -04:00 |
|
Stephen Marz
|
88f5cb514f
|
Map heap descriptors
|
2019-10-12 00:11:24 -04:00 |
|
Stephen Marz
|
86d1fa858b
|
Update id_map_range
|
2019-10-11 23:38:35 -04:00 |
|
Stephen Marz
|
8ec9fe3fb8
|
Update id_map_range
|
2019-10-11 23:38:23 -04:00 |
|
Stephen Marz
|
11bc25b670
|
Updates
|
2019-10-11 23:31:47 -04:00 |
|
Stephen Marz
|
aa4a5b1403
|
Revert "Format uart.rs"
This reverts commit 72ea82b224 .
|
2019-10-11 23:30:29 -04:00 |
|
Stephen Marz
|
4772efe99d
|
Created a larger pager which autodetects the range for GB, MB, and KB pages
|
2019-10-11 22:52:35 -04:00 |
|
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 |
|