Philipp Schuster
9098df93e5
uefi: serial: fix core::fmt::Write impl
...
This is the more expected and natural behavior.
2026-01-24 21:01:36 +01:00
Philipp Schuster
32172b76e8
uefi: serial: read_to_vec()
2026-01-24 21:01:36 +01:00
Philipp Schuster
1a31b174a8
uefi: serial: add read_exact() and write_exact()
2026-01-24 20:58:06 +01:00
Philipp Schuster
11db5fff21
uefi: serial: improve read() and write()
...
Next to documentation improvements, I replaced the debug assertions with
runtime assertions. If the underlying protocol implementation doesn't
behave as expected, we should at least fail hard.
I tested this with OVMF and also on real hardware.
2026-01-24 20:56:37 +01:00
Philipp Schuster
9d3a770775
uefi: serial: improve overall documentation
2026-01-24 20:56:37 +01:00
Philipp Schuster
678394f509
uefi: serial: add support for revision
2026-01-24 18:10:48 +01:00
Philipp Schuster
f1edb3e691
uefi: serial: improve clarity over timeout in SerialIoMode
2026-01-24 14:48:52 +01:00
Philipp Schuster
20297b9077
uefi-raw: extend support for revision in SERIAL_IO_PROTOCOL
2026-01-24 14:48:52 +01:00
Philipp Schuster
041f28b098
uefi-raw: serial: fix mutability
...
We are logically modifying state, so this should be mut.
2026-01-24 12:34:08 +01:00
Philipp Schuster
997b03a150
Merge pull request #1870 from rust-osdev/bishop-replace-addrof
...
Replace remaining uses of `addr_of`/`addr_of_mut` with raw pointer syntax
2026-01-22 07:22:17 +00:00
Philipp Schuster
f76876bf6c
Merge pull request #1871 from rust-osdev/bishop-msrv-188
...
Bump MSRV to 1.88
2026-01-22 07:21:10 +00:00
Nicholas Bishop
12310f0ee4
uefi: Use if-let chains
2026-01-21 13:23:33 -05:00
Nicholas Bishop
1363353804
uefi: Make additional functions const
2026-01-21 13:23:33 -05:00
Nicholas Bishop
f7862d0e41
uefi: Use is_multiple_of
2026-01-21 13:23:33 -05:00
Nicholas Bishop
13b80d0c5c
Bump MSRV to 1.88
2026-01-21 13:23:32 -05:00
Nicholas Bishop
3f8049ebca
xtask: Replace addr_of with raw pointer syntax
2026-01-20 15:21:16 -05:00
Nicholas Bishop
45116235d9
uefi: Replace addr_of_mut with raw pointer syntax
2026-01-20 15:21:16 -05:00
Nicholas Bishop
5e8c1b5c49
test-runner: Replace addr_of with raw pointer syntax
2026-01-20 15:21:16 -05:00
Nicholas Bishop
21db13ef35
Merge pull request #1857 from rust-osdev/doc
...
uefi: improve doc (add short glossary/important terms overview)
2026-01-19 19:00:44 +00:00
renovate[bot]
ec53ab0f43
Merge pull request #1869 from rust-osdev/renovate/crate-ci-typos-1.x
...
chore(deps): update crate-ci/typos action to v1.42.0
2026-01-19 02:17:35 +00:00
renovate[bot]
9cb0e63d78
chore(deps): update crate-ci/typos action to v1.42.0
2026-01-19 02:11:03 +00:00
renovate[bot]
5f55afd983
Merge pull request #1868 from rust-osdev/renovate/lock-file-maintenance
...
chore(deps): lock file maintenance
2026-01-19 02:05:19 +00:00
renovate[bot]
d9875fafd4
chore(deps): lock file maintenance
2026-01-19 02:00:09 +00:00
Philipp Schuster
1ed57e89ad
Merge pull request #1840 from rust-osdev/uefi-event
...
uefi: improve ergonomics of Events
2026-01-18 18:04:09 +00:00
Philipp Schuster
0413a7e0a7
uefi: check_event: consume Event by reference
...
Cloning Events is inconvenient, so we make the life if devs a little
easier.
2026-01-18 18:58:08 +01:00
Philipp Schuster
d2e2acf75b
uefi: return Result<Event> rather than Option<Event>
...
For all three functions, it is the normal / good case to be there. We can
also see this in the edk2 implementations of the corresponding functions [0].
[0] https://github.com/tianocore/edk2/blob/66346d5edeac2a00d3cf2f2f3b5f66d423c07b3e/NetworkPkg/SnpDxe/Initialize.c#L230
2026-01-18 18:57:59 +01:00
Philipp Schuster
d2859153cc
uefi: rename SimpleNetwork::wait_for_packet to wait_for_packet_event
...
This better aligns with other code and the actual
purpose of the function.
2026-01-18 18:55:48 +01:00
renovate[bot]
f6fd10bb9d
Merge pull request #1866 from rust-osdev/renovate/lock-file-maintenance
...
chore(deps): lock file maintenance
2026-01-12 23:03:14 +00:00
renovate[bot]
36665473bf
chore(deps): lock file maintenance
2026-01-12 22:58:23 +00:00
renovate[bot]
cc2cd7a58f
Merge pull request #1863 from rust-osdev/renovate/lock-file-maintenance
...
chore(deps): lock file maintenance
2026-01-05 05:23:37 +00:00
renovate[bot]
fb5fdc0e0e
chore(deps): lock file maintenance
2026-01-05 05:17:48 +00:00
Nicholas Bishop
2f9eb49c78
Merge pull request #1860 from rust-osdev/flake-update
...
flake: update (Nix shell: rust 1.86 -> 1.92)
2026-01-05 05:16:47 +00:00
Philipp Schuster
59a40f3620
Merge pull request #1859 from rust-osdev/resolver
...
workspace: switch to resolver v3
2026-01-02 21:21:07 +00:00
Philipp Schuster
93f9ded142
flake: update
...
Updates the Rust version in the Nix shell from 1.86 to 1.92.
Old state was from 2025-04-05.
2026-01-02 13:41:41 +01:00
Philipp Schuster
49255956fd
workspace: switch to resolver v3
...
Default since Rust 2024 [0]. I am not sure if Cargo decided to use v2
instead of v3, but this way it is more correct in any way.
[0] https://doc.rust-lang.org/edition-guide/rust-2024/cargo-resolver.html
2026-01-02 13:38:20 +01:00
Philipp Schuster
1a0c43d9f0
doc: improve lib.rs
2026-01-02 12:18:38 +01:00
Philipp Schuster
bea5b9ca20
uefi: improve doc about alloc feature
2026-01-02 10:15:23 +01:00
renovate[bot]
920e50bf7b
Merge pull request #1853 from rust-osdev/renovate/lock-file-maintenance
...
chore(deps): lock file maintenance
2025-12-29 02:19:07 +00:00
renovate[bot]
2e2398829e
chore(deps): lock file maintenance
2025-12-29 02:14:00 +00:00
renovate[bot]
b460cfe037
Merge pull request #1849 from rust-osdev/renovate/lock-file-maintenance
...
chore(deps): lock file maintenance
2025-12-27 23:25:40 +00:00
renovate[bot]
b2fd0500dc
chore(deps): lock file maintenance
2025-12-27 23:17:38 +00:00
Nicholas Bishop
7fea06474d
Merge pull request #1850 from rust-osdev/http
...
uefi: http: fix integration test
2025-12-27 23:10:40 +00:00
Philipp Schuster
eb0a3494bf
tests: improve debuggability
2025-12-27 22:18:36 +01:00
Philipp Schuster
256827771b
uefi: http: improve code by directly passing in the vector
...
This makes usage more natural as one can pass in the
possibly uncomplete body of the http response type.
2025-12-27 22:18:36 +01:00
Philipp Schuster
e11822765f
uefi: http: improve doc
2025-12-27 22:14:16 +01:00
Philipp Schuster
bdc806f7c3
tests: fix failing integration-test
...
Since recently, example.com isn't sending a Content-Length header and
uses a chunked encoding. It is not trivial to implement this so we skip
this situation for now.
2025-12-27 22:14:16 +01:00
Philipp Schuster
bea014a379
uefi: improve Http::get_mode_data
2025-12-27 22:14:16 +01:00
Nicholas Bishop
8cbc3c0354
Merge pull request #1830 from seijikun/mr-pci-enumerate3
...
uefi: Refactor PciRootBridgeIo::enumerate() with tree-topology information
2025-12-12 03:50:58 +00:00
renovate[bot]
d3105c267e
Merge pull request #1844 from rust-osdev/renovate/lock-file-maintenance
...
chore(deps): lock file maintenance
2025-12-10 15:42:56 +00:00
renovate[bot]
75612ea2c1
chore(deps): lock file maintenance
2025-12-10 15:32:11 +00:00