- Feb 04, 2022
-
-
Jeremy Soller authored
-
- Jan 28, 2022
-
-
Jeremy Soller authored
-
Jeremy Soller authored
-
- Dec 01, 2021
-
-
Jeremy Soller authored
-
Jeremy Soller authored
-
Jeremy Soller authored
-
Jeremy Soller authored
-
Jeremy Soller authored
-
- Nov 30, 2021
-
-
Jeremy Soller authored
-
- Oct 28, 2021
-
-
Jeremy Soller authored
-
Jeremy Soller authored
-
Jeremy Soller authored
-
- Oct 21, 2021
-
-
Jeremy Soller authored
-
- Sep 23, 2021
-
-
Jeremy Soller authored
-
- Aug 13, 2021
-
-
Jeremy Soller authored
No more recursive mapping See merge request redox-os/kernel!187
-
- Aug 11, 2021
-
-
Jacob Lorentzon authored
-
Jacob Lorentzon authored
-
Jacob Lorentzon authored
-
Jacob Lorentzon authored
However, since not all platforms will allow the entire physical address space to be simultaneously mapped to part of the virtual address space, we may still require some dynamic mapping.
-
Jacob Lorentzon authored
-
Jacob Lorentzon authored
Namely, the global allocator API in Rust, actually only returns a null pointer on failure, rather than wrapping it in a Result, which AllocRef does. Since Box::from_raw(null) is direct UB, this can in theory lead to very strange behavior.
-
Jacob Lorentzon authored
Note that this is very preliminary, and I merely got my already freezing kernel branch not to triple fault, but I would probably apply this patch to upstream. What is changed here, is that rather than relying on recursive mapping for accessing page table frames, it now uses linear translation (virt=phys+KERNEL_OFFSET). The only problem is that the paging code now makes assumptions that the entire physical address space remains mapped, which is not necessarily the case on x86_64 architecturally, even though systems with RAM more than a PML4 are very rare. We'd probably lazily (but linearly) map physical address space using huge pages.
-
Jeremy Soller authored
-
- Aug 10, 2021
-
-
Jeremy Soller authored
-
- Aug 09, 2021
-
-
Jeremy Soller authored
Fix TLS in paranoid interrupt handlers See merge request redox-os/kernel!186
-
Jacob Lorentzon authored
-
- Aug 06, 2021
-
-
Jacob Lorentzon authored
-
Jacob Lorentzon authored
Additionally, because it turned out to be infeasible to rely on link-time constants in global_asm! code, I have also converted the interrupt handlers to naked fns. This removes the proc-macro-reliant "paste" dependency, but inserts a tiny ud2 at the end of every ISR.
-
Jacob Lorentzon authored
This fixes a deadlock that might occur if a page fault is triggered while a lock to the current context is held.
-
Jacob Lorentzon authored
FSGSBASE and user-controlled TLS See merge request redox-os/kernel!185
-
Jacob Lorentzon authored
-
Jacob Lorentzon authored
-
- Aug 01, 2021
-
-
Jacob Lorentzon authored
-
Jacob Lorentzon authored
-
- Jul 31, 2021
-
-
Jacob Lorentzon authored
-
- Jul 11, 2021
-
-
Jeremy Soller authored
Add support for full 64-bit futex words See merge request redox-os/kernel!183
-
Jacob Lorentzon authored
-
- Jul 08, 2021
-
-
Jacob Lorentzon authored
-
Jacob Lorentzon authored
-
Jacob Lorentzon authored
-