bjorn3
fefede0d67
Use cfg!() rather than #[cfg] for controlling self_modifying
2025-09-07 12:30:33 +02:00
bjorn3
b5822ac118
Mostly use cfg!() rather than #[cfg] for controlling sys_stat
...
This only adds 48 bytes overhead per cpu core in the PerCpuBlock struct.
Also fixes compilation with sys_stat enabled on x86_64.
2025-09-07 12:27:04 +02:00
bjorn3
0a58e9e806
Allow cfg(dtb) for check-cfg
2025-09-07 12:03:37 +02:00
bjorn3
f05be85966
Use cfg!() rather than #[cfg] for controlling multi_core
2025-09-07 12:02:16 +02:00
bjorn3
d6e9022c4a
Rustfmt
2025-09-06 17:10:32 +02:00
bjorn3
869a664172
Remove allow(unexpected_cfgs)
2025-09-06 17:06:31 +02:00
bjorn3
cf019ab9a5
Remove some unused unsafe blocks
2025-09-06 16:51:05 +02:00
bjorn3
c4c605630a
Remove an allow(unused) for the elf module
2025-09-06 16:49:45 +02:00
bjorn3
7975d2aa8f
Remove Unique
...
It is only used for AlignedBox which can just directly implement Send
and Sync. Additionally make the Send and Sync impls more restrictive by
requiring the inner type to be Send cq Sync, previously AlignedBox was
always Send and Sync, which is not sound.
2025-09-06 16:23:30 +02:00
bjorn3
afed3bc84b
Fix a couple of warnings
2025-09-06 16:17:05 +02:00
bjorn3
7f63a5c8f0
Don't mark irq_trigger as no_mangle
2025-09-01 17:19:09 +00:00
Jeremy Soller
c6f38f05e4
Disable multi_core again (for demo)
2025-08-28 10:00:16 -06:00
Wildan Mubarok
7d91390f04
Detect if ARM virtual timer should be used
2025-08-16 12:58:09 +00:00
Wildan Mubarok
e071bdcef4
Use ARM virtual timer to fix HVF acceleration
2025-08-16 11:20:48 +00:00
Wildan M
39cb82d91d
Optimize graphical debug scrolling
2025-08-09 18:30:51 +07:00
lebakassemmerl
6bf8c0c26c
fix build-error on aarch64 and probably on riscv
2025-08-04 20:39:02 +02:00
Wildan Mubarok
1ff46c8482
Fix Linter CI
2025-08-04 06:34:31 -06:00
Jeremy Soller
af7591bc26
Clarify vector number in IPI
2025-08-03 20:56:18 -06:00
Jeremy Soller
5d06ad4e6a
Ensure that APIC ID is uses for all IPIs, enable multi_core feature
2025-08-03 20:53:58 -06:00
Jeremy Soller
b4f566dab2
Rebuild if Cargo.toml or Cargo.lock change
2025-08-03 16:04:49 -06:00
Wildan Mubarok
c67fc7b099
Backfill aarch64 serial log
2025-07-31 03:22:52 +00:00
Ibuki Omatsu
e3d8ae1b79
feat: Introduce FdTbl and make Context.files use it for separate file tables.
2025-07-30 15:33:06 -06:00
Darley Barreto
66ea2b46ee
Adding openat syscall
2025-07-13 06:43:20 -06:00
bjorn3
caf5fa955b
Fix freeing of phys_contiguous frames
...
Previously the deallocation would be rounded to the next power of two
preventing partial deallocation. But more importantly previously trying
to free phys_contiguous frames while another processes still borrows
them. Now this should just cause the deallocation to be delayed.
2025-07-06 16:13:13 +02:00
bjorn3
08ea1da2f9
Trigger read event for user schemes when an fd is closed
2025-07-05 17:54:19 +02:00
bjorn3
7a440bcd67
Merge close and on_close scheme calls
2025-07-05 16:59:08 +02:00
bjorn3
48ad866d02
Add some explanation to the multi_core todo
2025-06-28 20:16:29 +02:00
bjorn3
751803553f
Unify paging between x86 and x86_64
2025-06-28 20:09:16 +02:00
bjorn3
ba66388ca7
Unify rmm.rs between x86 and x86_64
2025-06-28 20:03:06 +02:00
bjorn3
b06aa61676
Remove reference to no longer existing 3dnow target feature
...
This silences a lot of warnings.
2025-06-28 19:58:15 +02:00
bjorn3
219dedda32
Unify start.rs between x86 and x86_64
2025-06-28 19:57:52 +02:00
bjorn3
ba051b781f
Shorten the message about the RSDP
2025-06-28 19:37:56 +02:00
bjorn3
1864f12913
Make the HPET debug logs more compact
2025-06-28 19:37:56 +02:00
bjorn3
2a2139c46e
Fix a couple of warnings
2025-06-28 19:37:56 +02:00
bjorn3
e77257bb6e
Remove unused core_intrinsics feature gate
2025-06-28 19:37:56 +02:00
Ibuki Omatsu
90643abbad
feat: Store caller's PID in Sqe during SYS_CALL
2025-06-25 08:44:51 -06:00
Wildan Mubarok
fa907f02ae
Move aarch64 interrupt init func
2025-06-25 08:37:50 -06:00
Jeremy Soller
f32d018d85
Format
2025-06-13 20:26:41 -06:00
Jeremy Soller
5b88d1a845
Debug using pid
2025-06-13 20:26:35 -06:00
Jeremy Soller
22cc551450
Sort /scheme/sys files
2025-06-13 20:26:21 -06:00
Ivan Tan
e67cca7bce
raspi3b+: sloved programs can not be waken up on time from sleep
2025-05-19 15:27:35 +08:00
Ivan Tan
f5aeb0b43a
implement monotonic for aarch64
2025-05-13 15:30:45 +08:00
Jeremy Soller
407c0c1403
Disable syscall debug
2025-05-06 08:21:09 -06:00
Jeremy Soller
d712ff5158
Add flink
2025-05-03 12:25:46 -06:00
4lDO2
4a1cd73da4
Fix same-thread scheme use-after-free.
2025-04-26 16:33:10 +02:00
bjorn3
03ebb3491b
Show pid of process on unhandled exceptions
2025-04-24 20:53:50 +02:00
bjorn3
8e6ff4341e
Don't crash on GICv3
...
Serial input is still broken though.
2025-04-21 16:56:12 +02:00
bjorn3
75edd1d34c
Fix infinite panicking when panicking during early boot
2025-04-21 16:44:27 +02:00
4lDO2
9be617132a
Fix 'sys:exe' as required by libstd.
2025-04-20 14:09:31 +02:00
4lDO2
98999e76b2
Fix sendfd error handling.
2025-04-20 13:57:37 +02:00