Commit graph

7 commits

Author SHA1 Message Date
Hector Martin
b901c2706f rust: 1.82.0 compat
Signed-off-by: Hector Martin <marcan@marcan.st>
2024-11-03 19:51:53 +09:00
Hector Martin
396d1d7207 rust: Switch to new core::ffi types
CStr is now here. This gets rid of three vendored deps, whee.

Signed-off-by: Hector Martin <marcan@marcan.st>
2024-04-09 13:20:00 +09:00
Hector Martin
313547db0f rust: Update uuid to 1.7.0
Signed-off-by: Hector Martin <marcan@marcan.st>
2024-04-09 13:04:02 +09:00
Hector Martin
1933e59af6 rust: Drop mixed_integer_ops feature
This is now stable.

Signed-off-by: Hector Martin <marcan@marcan.st>
2023-04-25 23:56:17 +09:00
Hector Martin
7cbd3e7612 rust: Upgrade log to 0.4.17
Fixes a compile warning.

Signed-off-by: Hector Martin <marcan@marcan.st>
2023-04-25 23:50:01 +09:00
Ferdinand Bachmann
5983d997d8 rust: do not assume realloc preserves alignment
Signed-off-by: Ferdinand Bachmann <theferdi265@gmail.com>
2022-03-11 12:02:36 +09:00
Hector Martin
4575b35479 rust: Initial Rust-based EFI FAT32 chainloader
This code is gated behind the CHAINLOADING define. To build a
release-style m1n1 with chainloading for use with the installer
or kmutil, use:

make CHAINLOADING=1 RELEASE=1

To tell m1n1 to chainload another binary, use this var payload:

chainload=<ESP partition UUID>;<file path>

e.g.

chainload=a17b7e46-e950-bb4f-bc82-8ab1047a058e;m1n1/m1n1.bin

Closes: #154
Co-authored-by: Finn Behrens <me@kloenk.dev>
Co-authored-by: Joey Gouly <joey.gouly@arm.com>
Signed-off-by: Hector Martin <marcan@marcan.st>
2022-03-09 22:01:42 +09:00