Commit Graph

2666 Commits

Author SHA1 Message Date
Wildan Mubarok df07d65c05 Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: bjorn3 <4397-bjorn3@users.noreply.gitlab.redox-os.org>
2026-04-19 08:46:05 -06:00
Wildan M bbfbe30445 Exclude PhysBorrowed from counting shared memory 2026-04-19 08:46:05 -06:00
Wildan M aee49d747a Update relibc test in CI 2026-04-19 16:52:29 +07:00
aarch e80379e6c6 Actually switch to Sv39 2026-04-18 18:49:21 +02:00
aarch f7c48049f5 RISCV64: Change VA scheme to Sv39 for real hardware support + Sv57 definitions 2026-04-18 09:46:34 -06:00
bjorn3 30b967022f Fix a couple of warnings 2026-04-17 20:20:16 +02:00
Akshit Gaur 976756991a Deficit Weighted Round Robin Scheduler 2026-04-17 06:52:03 -06:00
Wildan M 4531e15ba1 Add shared memory stats to contexts 2026-04-16 09:53:30 +07:00
bjorn3 219d707362 Introduce HandleMap helper type 2026-04-13 20:51:24 +02:00
bjorn3 f673afa839 Fix a duplicate log
This got moved into allocate, but forgot to save the change.
2026-04-13 20:22:18 +02:00
bjorn3 2174f86543 Fix debugger 2026-04-13 19:43:44 +02:00
bjorn3 4929783030 Improve fdstat 2026-04-13 19:43:44 +02:00
bjorn3 3a2200198a Always compile the code of sys_fdstat 2026-04-13 19:43:44 +02:00
bjorn3 3ff7872cd6 Fix warnings for sys_fdstat 2026-04-13 19:43:44 +02:00
bjorn3 38f36d406b Use cfg!() instead of #[cfg] for most profiling code
This makes it less likely that it breaks again in the future as most
code gets checked by the compiler even when profiling support is not
enabled.
2026-04-13 19:43:43 +02:00
Jacob Lorentzon 142871660e profiling: infer number of CPUs dynamically 2026-04-13 06:44:27 -06:00
bjorn3 2405a7ebb3 Move kmain and kmain_ap to startup/mod.rs 2026-04-12 18:41:00 +02:00
bjorn3 572bb4ce1f Avoid re-exporting arch specific modules in the crate root 2026-04-12 18:25:52 +02:00
Jacob Lorentzon 141c87650f Fix profiling and add check to CI 2026-04-12 06:51:26 -06:00
bjorn3 2f39aade30 Use mmap_anywhere in a couple of places 2026-04-10 20:23:01 +02:00
bjorn3 f792faf571 Avoid a Once for event::REGISTRY 2026-04-10 20:22:58 +02:00
bjorn3 a46f37976b Use div_ceil in LogicalCpuSet Display impl 2026-04-10 20:22:58 +02:00
bjorn3 aab33e46c3 Fix a couple of warnings 2026-04-10 20:22:26 +02:00
Wildan M 8f54fd8cb2 Fix displaying affinity in sys/context 2026-04-09 15:24:36 -06:00
bjorn3 654ee6ca3e size_of and align_of are part of the prelude nowadays 2026-04-09 15:23:34 -06:00
bjorn3 2e784dfe46 Remove unused feature gate 2026-04-09 15:23:34 -06:00
bjorn3 89a29f4e56 Reduce usage of wildcard imports 2026-04-09 15:23:34 -06:00
bjorn3 b0b0ec2d71 Deduplicate definition of FLAG_SINGLESTEP between x86 and x86_64 2026-04-09 15:23:34 -06:00
bjorn3 e98e12780e Inline BorrowedHtBuf::tail 2026-04-09 15:23:34 -06:00
bjorn3 bdf82a958a Use call instead of call_inner for fmap_inner 2026-04-09 15:23:34 -06:00
Wildan M cd3b18068f Improve mem precision in sys/context 2026-04-09 15:22:38 -06:00
Wildan M ce08b60502 Solve lock token and contexts for fdstat and debugger 2026-04-09 15:22:38 -06:00
Wildan M 0ad905f26e Fix sys stats to reveal contexts in all CPU 2026-04-09 15:22:38 -06:00
Speedy_Lex ee1260363c Fix many clippy lints 2026-04-08 19:40:41 +01:00
bjorn3 b7456d5bcc Avoid PHYS_OFFSET in dtb/serial.rs 2026-04-04 21:53:34 +02:00
bjorn3 d029ccfe20 Deduplicate a bunch of serial port initialization between arm64 and riscv 2026-04-04 16:36:30 +02:00
bjorn3 bbb9d98570 Unconditionally compile part of the DTB code 2026-04-04 14:01:19 +02:00
bjorn3 8eefc8a6a6 Remove unused dependency 2026-04-04 13:52:26 +02:00
bjorn3 f339467372 Remove dead_code lint allow for ACPI 2026-04-04 13:50:48 +02:00
bjorn3 62f220b1b9 Use cfg! rather than #[cfg] for ACPI enabling 2026-04-04 13:49:07 +02:00
bjorn3 49d005b450 Use RmmA::phys_to_virt instead of PHYS_OFFSET in the acpi code 2026-04-04 13:33:26 +02:00
bjorn3 2fba663274 Fix expect message 2026-04-04 13:14:14 +02:00
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