Andre Richter
6f89d7e4a9
Finalize README for 0C - Virtual Memory
6 years ago
Andre Richter
e4438e4220
Add 4 KiB page table image for virtual memory lesson
6 years ago
Andre Richter
7a341de935
Fix wrong output in README
6 years ago
Andre Richter
47996b4b78
Rewrite the kernel's static virtual memory mapping.
6 years ago
Andre Richter
5011d5e507
Fix copyright years
6 years ago
Andre Richter
d1ed1d4162
Change repo name in travis badge
6 years ago
Andre Richter
0f1f09730d
Align cache tutorial as well
6 years ago
Andre Richter
c6e12f7bcf
Fix wrong serial selection in qemu. Simplify code.
6 years ago
Andre Richter
c21c46b362
Don't use super
6 years ago
Andre Richter
14022d69c3
Align code with updates that went into follow-up tutorials
6 years ago
Andre Richter
2905ae0b09
Add README for 0B_exception_levels
6 years ago
Andre Richter
56eee2a097
Update README.md
6 years ago
Andre Richter
b5b065b3c2
Add placeholder for upcoming lessons.
6 years ago
Andre Richter
8f15a559c5
Remove old exceptions lesson
6 years ago
Andre Richter
d294809901
Rebase Exceptions Groundwork lesson
6 years ago
Andre Richter
48cf71b6d4
Add code for 0F_DMA_memory
6 years ago
Andre Richter
c6e6ccd2a4
Add code for global println lesson
6 years ago
Andre Richter
4f4e88cfbe
Update binaries generated by newer rustc
6 years ago
Andre Richter
2a4fdc4ece
Add missing comment that triggered build errors in new nightly rust.
...
Also, update binaries generated by new nightly version:
rustc 1.33.0-nightly (75a369c5b 2019-01-12)
6 years ago
Andre Richter
e77745e545
Fix correct term usec for microseconds
6 years ago
Andre Richter
052f3e9d9c
Add a pre-commit hook
6 years ago
Andre Richter
b4ce7d7e1d
Correct some Copyright years
6 years ago
Andre Richter
ecafec1d05
Add copyright year checks. Ran Rubocop as well.
6 years ago
Andre Richter
0d25085af7
Fix clippy warning
6 years ago
Andre Richter
1b69b5dcc2
Make sure Pagetable arrays are 4 KiB aligned
6 years ago
Andre Richter
aa8ec19e8b
Add publicly available docs
6 years ago
Andre Richter
40c5760260
Remove not needed features
6 years ago
Andre Richter
5db5147a1d
forgot an unsafe
6 years ago
Andre Richter
4ecddb20de
Add tutorial 0E - Exceptions: Groundwork
6 years ago
Andre Richter
90d88f65b6
Streamlining, cleanup, and minor fixes.
6 years ago
Andre Richter
c017fc16dd
Minor Cargo.lock fix
6 years ago
Andre Richter
0824b0ecaa
Rework utils
6 years ago
Andre Richter
0802adca1c
Fix accidental local path in dependency
6 years ago
Andre Richter
52e0f4c850
mmu: Add more descriptive comments
6 years ago
Andre Richter
7f8960bb81
09_delays: Fix delays in main
6 years ago
Andre Richter
ad2d0d1182
🎉 Update to Rust 2018 🎉
6 years ago
Albert Cervin
977343de2e
Fix a small error in the RO mapping ( #9 )
...
The error would cause one page too much to be marked as read only.
Instead, calculate the appropriate page table indices for the read-only
region together with a comment explaining the subtraction by one.
6 years ago
Tyler Christensen
d981f670b1
Fix two timing issues in delays.rs ( #8 )
...
* Fix two timing issues in delays.rs
These changes correct the implementations of delays::SysTmr::wait_msec_st
and delays::wait_msec to behave correctly and consistently with one another.
* Port delay fix from 09_delays to 0B_exception_levels
I believe this covers all copies of this bug in the codebase.
* Rebuild tutorial kernels with delay fixes
6 years ago
Andre Richter
83fdecc647
Add simple soft-panic test
6 years ago
Andre Richter
3e10cd52a1
Add nm target
6 years ago
Andre Richter
c004e78e90
Safe implementations of uart::dec() and divisions
...
The previous implementation of uart::dec() forced the compiler to emit a
software out-of-bounds acces check into the code, bloating it a bit. Prevent
that by using an iterator instead.
Same is true for the ordinary division operator that was used in multiple places
in the benchmark code. Here, the compiler emitted software-checks for divison by
zero. Prevent this by using `checked_div()` where we can implement our own
"panic" handling.
6 years ago
Andre Richter
17b582f774
Update README.md
6 years ago
Andre Richter
c62b79f09b
UART1 output on QEMU. Rework some Readmes.
6 years ago
Andre Richter
b6fafa6191
Use SP_EL1 as EL1 stack instead of SP_EL0
6 years ago
Andre Richter
b1786d5110
Update README.md
6 years ago
Andre Richter
5a7f77eae8
Update README.md
6 years ago
Andre Richter
937397d6b2
Update README.md
6 years ago
Andre Richter
6b4bd0e881
Formatting didn't work. Try again.
6 years ago
Andre Richter
d488436f04
Add myself to License file; Reformat
6 years ago
Andre Richter
f5d97b5723
Restructure Readme
...
Also, closes #5
6 years ago