| Crates.io | uefi-reset |
| lib.rs | uefi-reset |
| version | 1.0.0 |
| created_at | 2025-09-23 21:14:09.71998+00 |
| updated_at | 2025-09-23 21:14:09.71998+00 |
| description | UEFI modules that reset the system when loaded |
| homepage | https://github.com/AMDEPYC/uefi-reset |
| repository | https://github.com/AMDEPYC/uefi-reset |
| max_upload_size | |
| id | 1852110 |
| size | 12,290 |
A set of simple UEFI modules that reset the system when loaded. Written in Rust with minimal dependencies and no unsafe code. Building this project produces a set of binaries:
shutdown.efi - Powers off the system.cold.efi - Performs a cold reset.warm.efi - Performs a warm reset.This application is designed to be loaded by UEFI firmware and will immediately trigger a system reset. This provides a quick and convenient way to power off or reboot a system from:
The project includes a rust-toolchain.toml file that automatically installs the
required x86_64-unknown-uefi target. However, depending on your environment you
might need to manually install the target.
To build the project:
cargo build --release --target=x86_64-unknown-uefi
The above command will produce three files of note:
target/x86_64-unknown-uefi/release/cold.efitarget/x86_64-unknown-uefi/release/warm.efitarget/x86_64-unknown-uefi/release/shutdown.efiThe --target option is likely optional for any tools that respect .cargo/config.toml.
This project is licensed under the MIT License.