Jeremy Soller
fb2d80003a
Merge branch 'libredox' into 'master'
...
Switch to libredox and redox-event.
See merge request redox-os/netstack!46
2024-03-18 20:36:56 +00:00
4lDO2
2e7dbf1cc1
Switch to libredox where applicable.
2024-03-18 19:23:05 +01:00
4lDO2
8e2d02232f
Switch to libredox and redox-event.
2024-03-18 17:10:07 +01:00
Jeremy Soller
7ae84a543b
Merge branch 'nvmed_race' into 'master'
...
Fix potential race in nvmed
See merge request redox-os/drivers!148
2024-03-17 21:31:39 +00:00
bjorn3
5286f45311
Fix potential race in nvmed
...
Previously it was possible to submit commands before the event queue is
created by the irq handler thread.
2024-03-17 21:03:23 +01:00
Jeremy Soller
9edc328fd1
Merge branch 'signals' into 'master'
...
Signals
See merge request redox-os/bootstrap!5
2024-03-17 17:01:43 +00:00
Jacob Lorentzon
cc7ee6ce49
Signals
2024-03-17 17:01:43 +00:00
Jeremy Soller
65f706530a
Merge branch 'arm64_pcie' into 'master'
...
Search for PCI ECAM in the device tree on ARM
See merge request redox-os/drivers!147
2024-03-17 16:33:03 +00:00
bjorn3
15c8ab2331
Search for PCI ECAM in the device tree on ARM
2024-03-17 17:15:34 +01:00
Jeremy Soller
bdfc78950b
Merge branch 'cancellation' into 'master'
...
Handle but don't implement scheme cancellation.
See merge request redox-os/randd!13
2024-03-16 13:07:12 +00:00
Jeremy Soller
ccd2944781
Merge branch 'cancellation' into 'master'
...
Implement scheme call cancellation.
See merge request redox-os/ptyd!10
2024-03-16 13:06:57 +00:00
Jeremy Soller
0d2b3e5f98
Merge branch 'cancellation' into 'master'
...
Implement scheme cancellation.
See merge request redox-os/ipcd!7
2024-03-16 13:06:36 +00:00
Jeremy Soller
aa4b53bd5c
Merge branch 'fix_aarch64' into 'master'
...
Fix building for AArch64
See merge request redox-os/bootstrap!9
2024-03-16 13:04:44 +00:00
4lDO2
28ba35baa7
Implement scheme call cancellation.
2024-03-16 10:02:41 +01:00
4lDO2
55cfb330d2
Implement scheme cancellation.
2024-03-16 10:01:28 +01:00
4lDO2
a22fc45c0d
Handle but don't implement scheme cancellation.
2024-03-16 09:56:50 +01:00
bjorn3
02fd768c9f
Fix building for AArch64
2024-03-15 12:03:04 +01:00
Jeremy Soller
797d4040b2
Merge branch 'merge_bootstrap_into_initfs' into 'master'
...
Support embedding bootstrap blob into the initfs
See merge request redox-os/bootstrap!8
2024-03-13 14:50:27 +00:00
bjorn3
70700df944
Update redox-initfs and use the initfs_size header field instead of INITFS_LENGTH
2024-03-12 21:49:53 +01:00
Jeremy Soller
7dd9b2e84d
Merge branch 'merge_bootstrap_into_initfs' into 'master'
...
Allow embedding bootstrap code into the initfs blob
See merge request redox-os/redox-initfs!2
2024-03-12 20:38:56 +00:00
bjorn3
12ed3151f3
Add size to the initfs header
2024-03-12 14:13:49 +01:00
bjorn3
7978d794f7
Encode bootstrap code entrypoint in the initfs header
2024-03-11 12:16:33 +01:00
Jeremy Soller
f8fbeed1bf
Merge branch 'misc_changes' into 'master'
...
Couple of improvements
See merge request redox-os/redox-initfs!1
2024-03-10 19:30:34 +00:00
bjorn3
b50d6fad52
Support embedding bootstrap blob into the initfs
2024-03-10 19:31:33 +01:00
bjorn3
ada6cfc973
Allow embedding bootstrap code into the initfs blob
...
This may in the future allow booting using non-redox specific bootloaders.
2024-03-10 19:28:09 +01:00
bjorn3
b9e856a4ab
Remove unused cargo feature
2024-03-10 17:27:26 +01:00
bjorn3
30568c5ee0
Unconditionally use no_std
...
And use `extern crate std;` when libstd is necessary.
2024-03-10 17:26:35 +01:00
bjorn3
56642539bc
Update clap to v4
2024-03-10 17:25:23 +01:00
Jeremy Soller
a372d36557
Merge branch 'misc_changes' into 'master'
...
Various improvements
See merge request redox-os/bootstrap!7
2024-03-10 15:14:37 +00:00
Jeremy Soller
416c906eb9
Merge branch 'less_unstable_features' into 'master'
...
Remove a couple of unstable feature uses
See merge request redox-os/bootstrap!6
2024-03-10 15:13:45 +00:00
Jeremy Soller
7ed2193a00
Merge branch 'unify_storage_drivers' into 'master'
...
Reduce code duplication between disk drivers
See merge request redox-os/drivers!146
2024-03-10 15:12:56 +00:00
bjorn3
626a5af3a4
Use HashMap instead of BTreeMap
...
This reduces the file size from 87KiB to 79KiB.
2024-03-10 14:39:29 +01:00
bjorn3
ba7eea3043
Compile with fat LTO
...
This reduces the file size from 119KiB to 87KiB.
2024-03-10 14:08:25 +01:00
bjorn3
8e11205784
Rename entrypoint to _start
...
This matches the default.
2024-03-10 13:59:44 +01:00
bjorn3
0111bcfd48
Remove unused __end global
2024-03-10 13:57:30 +01:00
bjorn3
57c1bf94b6
Use default alloc error handler in liballoc
2024-03-10 13:46:43 +01:00
bjorn3
c15c6e1dd2
Use the Display impl of PanicInfo
2024-03-10 13:41:53 +01:00
bjorn3
89e0a71d10
Remove unnecessary definition of eh_personality
...
All crates are compiled with panic=abort and no extern "C-unwind" is
used, so the personality function is referenced by rustc.
2024-03-10 13:40:47 +01:00
bjorn3
2860c0bdfb
Remove usage of naked functions
2024-03-10 13:39:11 +01:00
bjorn3
20bc47f228
Move DiskWrapper into a new driver-block crate
...
Also merge block-io-wrapper into this crate.
2024-03-06 21:09:38 +01:00
bjorn3
3e42637066
Fix a panic message
2024-03-06 21:09:38 +01:00
bjorn3
9bb1222933
Fix UB lint in virtio-core
...
error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused
--> virtio-core/src/probe.rs:126:21
|
86 | let capability = unsafe { &*(capability.data.as_ptr() as *const PciCapability) };
| --------------------------------------------------- backing allocation comes from here
...
126 | (&*(capability as *const PciCapability as *const PciCapabilityNotify))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: casting from `transport_pci::PciCapability` (13 bytes) to `transport_pci::PciCapabilityNotify` (17 bytes)
= note: `#[deny(invalid_reference_casting)]` on by default
2024-03-06 21:06:26 +01:00
Jeremy Soller
25dcb8adc1
Merge branch 'driver-categories3' into 'master'
...
Move all storage, audio and graphics related drives to the relative subdirectories
See merge request redox-os/drivers!145
2024-03-01 00:24:52 +00:00
bjorn3
887412daf5
Move all graphics related drivers to graphics/
2024-02-29 15:41:05 +01:00
bjorn3
0e98dc4a05
Move all audio drivers to audio/
2024-02-29 15:41:05 +01:00
bjorn3
c75b560def
Move all storage drivers to storage/
2024-02-29 15:41:05 +01:00
Jeremy Soller
c79ed01d7a
Merge branch 'driver-category-net' into 'master'
...
Move all network drivers to net/
See merge request redox-os/drivers!144
2024-02-29 13:38:00 +00:00
bjorn3
e36b0a8e94
Move all network drivers to net/
2024-02-28 21:31:26 +01:00
Jeremy Soller
fece794c9f
Merge branch 'named_network_adapters' into 'master'
...
Don't set the mac address network config from drivers
See merge request redox-os/drivers!143
2024-02-28 13:01:39 +00:00
Jeremy Soller
7e86cc9f9f
Merge branch 'named_network_adapters' into 'master'
...
Allow network adapters to be named
See merge request redox-os/netstack!45
2024-02-28 13:01:09 +00:00