- 16 Jul, 2021 2 commits
-
-
Robin Randhawa authored
The removed code needs re-expression anyway.
-
Robin Randhawa authored
This is to comply with a corresponding change in commit redox:97cab676c12f1b260170b0825cea34925d21011c.
-
- 11 Jul, 2021 2 commits
-
-
Jeremy Soller authored
Add support for full 64-bit futex words See merge request !183
-
4lDO2 authored
-
- 08 Jul, 2021 3 commits
- 21 Jun, 2021 2 commits
-
-
Jeremy Soller authored
Use offset_of! in context::arch::switch_to. See merge request !180
-
4lDO2 authored
This is definitely better than hardcoding the offsets!
-
- 18 Jun, 2021 2 commits
-
-
4lDO2 authored
It is now default, and the new compiler generated a lot of warnings now that Intel syntax has (luckily) become the default.
- 17 Jun, 2021 6 commits
-
-
4lDO2 authored
-
4lDO2 authored
-
4lDO2 authored
-
4lDO2 authored
Previously context::switch used compare_and_swap for acquiring the global context switch lock, but given its deprecation in more recent Rust versions, it has been replaced with compare_exchange_weak (which can be further optimized on some architectures). It also replaces panic!() with abort() in switch_finish_hook, because unwinding from assembly is not that fun.
-
4lDO2 authored
-
4lDO2 authored
-
- 13 May, 2021 1 commit
-
-
Jeremy Soller authored
-
- 10 May, 2021 1 commit
-
-
Jeremy Soller authored
-
- 07 May, 2021 3 commits
-
-
Jeremy Soller authored
-
Jeremy Soller authored
-
Jeremy Soller authored
-
- 06 May, 2021 16 commits
-
-
Jeremy Soller authored
Put the KPCRs in high memory, in their own PML4. See merge request !173
-
4lDO2 authored
-
4lDO2 authored
This also removes the need to do another semi-expensive remap when cloning processes, since the KPCRs (for kernel TLS) are no longer stored in the user PML4.
-
Jeremy Soller authored
-
Jeremy Soller authored
Move most of ACPI to userspace See merge request !175
-
4lDO2 authored
-
4lDO2 authored
-
4lDO2 authored
We may also want to do this with the MADT and the HPET tables, and let user drivers specify what the tables mean independent of ACPI. That is, adding an interface for registering new CPUs, and specifying the main timer IRQ.
-
4lDO2 authored
-
4lDO2 authored
-
4lDO2 authored
-
4lDO2 authored
-
4lDO2 authored
-
4lDO2 authored
Currently, there are some things that need to be set up by userspace that the kernel previously did. These include telling firmware when the I/O APIC is used, and most importantly, shutting down the system. The former is not particularly important, but for the latter I think that we could implement this using a "shutdown pipe". Essentially it will be a file that triggers an event shutting down, which would be used to notify to acpid that the kernel is requesting a shutdown.
-
Jeremy Soller authored
-
Jeremy Soller authored
-
- 04 May, 2021 2 commits
-
-
Jeremy Soller authored
-
Jeremy Soller authored
-