bjorn3
|
7aa7aa463f
|
Use map_device_memory where possible
|
2026-04-04 13:10:05 +02:00 |
|
bjorn3
|
dee230ffca
|
Use map_linearly in many places
|
2026-04-04 13:10:04 +02:00 |
|
bjorn3
|
a1b6bd965e
|
Fix rmm example
|
2026-04-04 12:02:07 +02:00 |
|
bjorn3
|
50c68cd746
|
Remove ACPI search from the kernel
The bootloader provides the RSDP address to the kernel. If the
bootloader can't find it, there is no RSDP.
|
2026-04-04 11:50:24 +02:00 |
|
bjorn3
|
1352fafd00
|
Remove unused InactiveFlusher
|
2026-04-03 22:15:00 +02:00 |
|
bjorn3
|
ab4abf63c9
|
Deduplicate Page and other paging related things between architectures
|
2026-04-03 22:15:00 +02:00 |
|
bjorn3
|
b805336cfc
|
Fix a bunch of warnings
|
2026-04-03 22:15:00 +02:00 |
|
bjorn3
|
3cbce1b9ac
|
Move BSP_READY and AP_READY to platform-independent code
|
2026-04-02 20:29:36 +02:00 |
|
bjorn3
|
0f540e6f15
|
Don't physmap the kernel itself
We don't actually need to and this is a bit safer against memory corruption.
|
2026-04-02 20:29:36 +02:00 |
|
bjorn3
|
49eb21ce0e
|
Use KERNEL_OFFSET from linker script
|
2026-04-02 20:29:36 +02:00 |
|
bjorn3
|
dc7e823f70
|
Deduplicate kernel page flags
|
2026-04-02 20:29:36 +02:00 |
|
bjorn3
|
980f1c6af8
|
Remove unused and deduplicate identical arch specific consts
|
2026-04-02 20:29:36 +02:00 |
|
bjorn3
|
10b1ae2ecc
|
Remove unused arch consts
|
2026-04-02 20:29:36 +02:00 |
|
bjorn3
|
2ce7621a80
|
Fix a bunch of warnings masked by #[allow(unused)]
|
2026-04-02 20:29:36 +02:00 |
|
Wildan M
|
d835a3d8f0
|
Solve all borrow checker leaving some violation
|
2026-04-01 08:42:18 -06:00 |
|
Wildan M
|
a42ec44dbf
|
Partially solve borrow rules
|
2026-04-01 08:42:18 -06:00 |
|
Wildan M
|
3161a44c25
|
Solve borrow rules for memory.rs
|
2026-04-01 08:42:18 -06:00 |
|
Wildan M
|
55e6fe9add
|
Remove remnants of AddrSpace::used_by
|
2026-04-01 08:42:18 -06:00 |
|
Wildan M
|
ca2a7048d0
|
Move spin loop hint to crate lock
|
2026-04-01 08:42:18 -06:00 |
|
Wildan M
|
3b5a0e4c60
|
Apply ordered lock to AddrSpaceWrapper without solving borrow checker
|
2026-04-01 08:42:18 -06:00 |
|
Wildan M
|
2989b5375f
|
Add deadlock debug to AddrSpaceWrapper
|
2026-04-01 08:42:18 -06:00 |
|
Akshit Gaur
|
004509587d
|
Fix ForceKill
|
2026-04-01 13:58:27 +05:30 |
|
Wildan M
|
6e0143cf0d
|
Store context to per cpu
|
2026-03-31 15:29:47 +07:00 |
|
bjorn3
|
efa6b00189
|
rmm: Remove magic constants for x86 PAT indices
|
2026-03-30 22:18:10 +02:00 |
|
bjorn3
|
c8879531ae
|
rmm: Add device_memory and uncachable flags to PageFlags
|
2026-03-30 20:34:45 +02:00 |
|
bjorn3
|
e311b41821
|
rmm: Make it a bit easier to change the MAIR_EL1 config on arm64
|
2026-03-30 20:34:45 +02:00 |
|
bjorn3
|
a5fd001dcb
|
Use PageFlags::write_combining instead of custom flag
|
2026-03-30 20:34:45 +02:00 |
|
bjorn3
|
c0065bc893
|
rmm: Add some comments to init_pat
|
2026-03-30 20:34:44 +02:00 |
|
bjorn3
|
6b00f4ca25
|
Move MAIR_EL1 initialization to rmm
Rmm needs to know the exact MAIR_EL1 configuration to produce the
correct bits in the page table.
|
2026-03-30 19:26:41 +02:00 |
|
bjorn3
|
6e5c25b7a0
|
Move PAT initialization to rmm
Rmm needs to know the exact PAT configuration to produce the correct
bits in the page table.
|
2026-03-30 18:59:42 +02:00 |
|
bjorn3
|
c4b064ea44
|
Move arch specific EntryFlags into rmm
|
2026-03-30 18:49:15 +02:00 |
|
bjorn3
|
04645353f2
|
rmm: Fix EmulateArch compilation
|
2026-03-30 18:46:53 +02:00 |
|
bjorn3
|
8b217edac0
|
Fix two unsafe block related warnings
|
2026-03-30 18:42:38 +02:00 |
|
bjorn3
|
2fc2d5897a
|
Fix a couple of unused import warnings
|
2026-03-30 18:38:25 +02:00 |
|
bjorn3
|
675ba2ea51
|
rmm: Make a couple more methods safe
|
2026-03-29 17:00:36 +02:00 |
|
bjorn3
|
c51aa1ef86
|
rmm: Make a couple of methods safe
|
2026-03-29 14:16:53 +02:00 |
|
bjorn3
|
a5aeea9cfc
|
rmm: Remove PageMapper::{map,unmap}
There is already (un)map_phys.
|
2026-03-29 14:16:53 +02:00 |
|
bjorn3
|
a876d66648
|
rmm: Reduce visibility of PageTable methods
This disallows direct manipulation of the page tables. Only manipulation
through PageMapper is allowed.
|
2026-03-29 14:16:53 +02:00 |
|
bjorn3
|
abf710b4a2
|
Move handling of kernel page table entry copying to RMM
This way it can ensure those page table entries never get unmapped,
ensuring they are kept in sync between all processes.
|
2026-03-29 14:16:53 +02:00 |
|
bjorn3
|
604e1729cb
|
Rustfmt
|
2026-03-29 14:16:53 +02:00 |
|
bjorn3
|
882007f827
|
Remove unused UserSlice::read_u64
This fixes a warning. It can always be re-introduced if we ever need it.
|
2026-03-29 14:16:36 +02:00 |
|
bjorn3
|
f5aff74fc9
|
Explicitly ignore field of PageQueueEntry::Other
This fixes a warning
|
2026-03-29 14:16:35 +02:00 |
|
bjorn3
|
b5603422be
|
Check at compile time that KernelMapper is writable if necessary
|
2026-03-28 23:22:19 +01:00 |
|
bjorn3
|
0d578775f9
|
rmm: Indicate which PageMapper methods can allocate
|
2026-03-28 22:51:32 +01:00 |
|
bjorn3
|
d02312055e
|
rmm: Couple of minor cleanups
|
2026-03-28 22:35:26 +01:00 |
|
bjorn3
|
3593c53146
|
rmm: Remove Arch::init
No architectures implement it.
|
2026-03-28 22:07:48 +01:00 |
|
bjorn3
|
db85237114
|
rmm: Partially hard code main.rs to EmulateArch
|
2026-03-28 22:06:24 +01:00 |
|
bjorn3
|
d06ade297d
|
rmm: Remove fallback impl of invalidate_all
It doesn't work on all non-x86 architectures.
|
2026-03-28 22:02:34 +01:00 |
|
bjorn3
|
a913414c7f
|
rmm: Nicer formatting of unsafe blocks
|
2026-03-28 22:00:43 +01:00 |
|
bjorn3
|
cc20bcd405
|
rmm: Fix warnings on x86
|
2026-03-28 21:57:51 +01:00 |
|