https://github.com/al3xtjames/forcex2apic
UEFI driver to enable x2APIC (if the CPU supports it)
https://github.com/al3xtjames/forcex2apic
Last synced: 9 months ago
JSON representation
UEFI driver to enable x2APIC (if the CPU supports it)
- Host: GitHub
- URL: https://github.com/al3xtjames/forcex2apic
- Owner: al3xtjames
- License: apache-2.0
- Created: 2023-03-15T06:31:22.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-26T01:17:00.000Z (about 2 years ago)
- Last Synced: 2025-08-31T07:33:59.449Z (9 months ago)
- Language: Rust
- Size: 8.79 KB
- Stars: 7
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
Forcex2Apic
===========
UEFI driver to enable x2APIC (if the CPU supports it).
#### Build
This project requires a [`x86_64-unknown-uefi`][1] Rust toolchain. This is a
[Tier 2 target][2] starting with Rust 1.68 and [rustup][3] distributes toolchain
binaries for it:
```
rustup target add --toolchain=stable x86_64-unknown-uefi
```
Once the toolchain is installed, use `cargo` to build the project:
```
# Defaults to a debug build
cargo build
# Build in release mode
cargo build --release
```
`cargo` will output `Forcex2Apic.efi` in `target/x86_64-unknown-uefi/debug` or
`target/x86_64-unknown-uefi/release` (if a release build was done).
#### Usage
`Forcex2Apic.efi` is a EFI boot service driver. It can be loaded with the
[`load` command in the EFI shell][4]. For persistence, a driver entry can be
created in NVRAM [using `bcfg driver add`][5].
[1]: https://doc.rust-lang.org/stable/rustc/platform-support/unknown-uefi.html
[2]: https://doc.rust-lang.org/stable/rustc/platform-support.html#tier-2
[3]: https://rust-lang.github.io/rustup/
[4]: https://uefi.org/sites/default/files/resources/UEFI_Shell_2_2.pdf#page=171
[5]: https://uefi.org/sites/default/files/resources/UEFI_Shell_2_2.pdf#page=106