53 Commits

Author SHA1 Message Date
cos 7f31dcf1a5 book: Rephrase target installation 2025-11-03 19:58:03 +01:00
Philipp Schuster 933fdc8770 release: uefi-raw-0.12.0, uefi-macros-0.19.0, uefi-0.36.0 2025-10-21 08:08:08 +02:00
Philipp Schuster 01794474c3 book: improve chapter "Using Protocols" 2025-06-10 09:17:27 +02:00
Nicholas Bishop 4c7a2f6860 release: uefi-raw-0.11.0, uefi-macros-0.18.1, uefi-0.35.0 2025-05-04 15:51:59 -04:00
Nicholas Bishop 4b68e83f5c release: uefi-raw-0.10.0, uefi-macros-0.18.0, uefi-0.34.0 2025-02-07 13:37:22 -05:00
Tim Crawford 92f9d79d02 book: Set driver link-arg in build.rs
`config.toml` is a project-level configuration. Cargo will only read the
configuration from the current directory and up, and not in:

- package directories in a workspace
- package directories when `--manifest-path` is used

Use `build.rs` instead, which will be executed before the package is
built and only apply the flags for the specific package. This allows mixing
drivers and applications in a workspace while still invoking Cargo from the
workspace root.

Ref: https://doc.rust-lang.org/cargo/reference/config.html#hierarchical-structure
Ref: https://doc.rust-lang.org/cargo/reference/build-scripts.html
Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-12-17 07:45:16 -07:00
Cornelius Diekmann f9ac49ee52 Mention to turn off secure boot.
On my Thinkpad X260, it just refused to start. No error message was displayed. It was absolutely unclear whether my binary crashed or there was another problem. The problem was indeed secure boot. Since no error message was displayed, I think it's nice to mention this pitfall here to avoid some frustration.
2024-11-10 16:15:09 +01:00
Cornelius Diekmann 01a56ba464 Fix minor typo in protocols.md 2024-11-07 21:44:16 +01:00
Nicholas Bishop bb42a9ebdf release: uefi-raw-0.9.0, uefi-macros-0.17.0, uefi-0.33.0 2024-10-23 21:45:53 -04:00
Nicholas Bishop b7130a3b87 book: Update the tutorial
This page was a little out of date; it still referred to `main` taking multiple
arguments, and to the `uefi_services` crate.
2024-09-11 23:51:15 -04:00
Nicholas Bishop 9845db5abf release: uefi-raw-0.8.0, uefi-macros-0.16.0, uefi-0.32.0 2024-09-09 14:44:28 -04:00
Nicholas Bishop 3c02e268b4 book: Update boot_stages and tables
Drop remaining references to SystemTable/BootServices/RuntimeServices.
2024-08-25 12:41:38 -04:00
Nicholas Bishop 88ce336107 book: Update protocols how-to to use the boot module 2024-08-24 11:22:38 -04:00
Philipp Schuster 7212462a99 doc: add rust-std chapter to book 2024-08-21 13:53:55 +02:00
Nicholas Bishop b5c4ca1f77 release: uefi-macros-0.15.0, uefi-raw-0.7.0, uefi-0.31.0 2024-08-20 13:01:17 -04:00
Philipp Schuster b47fe306c2 Merge remote-tracking branch 'upstream/version-0.30' into foo 2024-08-06 16:52:13 +02:00
Nicholas Bishop 8b2e5ff9e8 release: uefi-0.30.0
This release contains a cherry-pick of
https://github.com/rust-osdev/uefi-rs/pull/1282.
2024-08-02 11:24:09 -04:00
Nicholas Bishop 44ae0843ee book: Publish the latest release instead of main 2024-07-06 15:45:10 -04:00
Nicholas Bishop a8be816802 release: uefi-macros-0.14.0, uefi-raw-0.6.0, uefi-0.29.0 2024-07-02 18:40:35 -04:00
Liz 37eb5f5fdc Note about feature flags for uefi book 2024-05-17 14:25:04 -04:00
Philipp Schuster 4cea282995 treewide: nuke uefi-services 2024-04-20 15:25:16 +02:00
Philipp Schuster 46d14a0a4e doc: remove some more uefi-services references 2024-04-19 16:52:29 +02:00
Philipp Schuster 6be70dc612 Merge pull request #1048 from nicholasbishop/bishop-link-target-doc
book: Add a link to rust's UEFI target docs
2024-01-15 08:00:38 +00:00
Nicholas Bishop 574e37e3c5 book: Add a link to rust's UEFI target docs 2024-01-13 13:30:51 -05:00
Nicholas Bishop 3c2c5a933e book: Add a page on building drivers
For now this is literally just how to build an executable that is recognized as
a driver. In the future we can expand this to talk about how to implement a
simple driver with the `DriverBinding` protocol.
2024-01-13 13:25:12 -05:00
Nicholas Bishop 912f27eeb1 book: Use cargo add command
Rather than showing exact dependencies in `Cargo.toml`, use the `cargo add`
command. That removes a small step of the release process.
2023-11-12 16:09:02 -05:00
Nicholas Bishop 196a63d5d9 release: uefi-raw-0.5.0, uefi-macros-0.13.0, uefi-0.26.0, uefi-services-0.23.0 2023-11-12 15:13:05 -05:00
Nicholas Bishop a37ccf00bd Update uefi-services version 2023-10-11 13:16:13 -04:00
Philipp Schuster 736c8e7173 tree: post-release fixes 2023-10-10 18:25:05 +02:00
Nicholas Bishop 68ac5fe89e Add links to the uefi-raw docs 2023-07-08 18:43:33 -04:00
Nicholas Bishop 381466eddb Bump uefi-services version 2023-06-20 20:43:09 -04:00
Nicholas Bishop 9f5782cf8f Bump uefi version 2023-06-20 20:43:09 -04:00
Nicholas Bishop 66babb2527 Bump uefi-services version 2023-06-04 18:41:45 -04:00
Nicholas Bishop beb5f6dd78 Bump uefi version 2023-06-04 18:41:45 -04:00
Nicholas Bishop 24dd6aafa3 Bump uefi-services version 2023-06-01 06:21:50 -04:00
Nicholas Bishop 9fec1b2fec Bump uefi version 2023-06-01 06:21:50 -04:00
Nicholas Bishop d7b6342b1d Bump uefi-services version 2023-05-15 12:54:23 -04:00
Nicholas Bishop 2fcf16c22f Bump uefi version 2023-05-15 12:54:23 -04:00
Nicholas Bishop 26f830c156 Bump uefi-services version 2023-03-19 21:55:18 -04:00
Nicholas Bishop 7ffc98f960 Bump uefi version 2023-03-19 21:55:18 -04:00
Nicholas Bishop 2e1c75ad6b Update docs for the switch from nightly to stable 2023-03-19 18:09:27 -04:00
Nicholas Bishop b5cfce5ecd Drop explicit enabling of abi_efiapi feature
The feature has been stabilized so we don't need to enable it anymore.
2023-03-19 18:09:27 -04:00
Philipp Schuster c5e8b95e7f ci: add spellcheck with "typos"
This adds the "typos" utility as additional CI step. Additionally,
all existing typos are fixed.
2023-03-09 16:48:13 +01:00
Nicholas Bishop 8900f5eae5 book: Update dependency versions 2023-01-16 12:47:23 -05:00
Nicholas Bishop 1d041e20c5 book: Fix link to handles page 2023-01-05 22:25:38 -05:00
Nicholas Bishop b3c0dc4c3f book: Add "Running on Hardware" page
This page describes how to format a USB to run an EFI application on
real hardware.
2022-11-27 14:24:18 -05:00
Nicholas Bishop 2b0aaed34b book: Drop crate features page
This is covered by the uefi/uefi-services crate documention. Drop the
list from here so we don't have to worry about keeping it in sync.
2022-11-27 10:21:02 +01:00
Nicholas Bishop b342da63d8 book: Add a graphics example (#586)
This example draws a fractal to the screen using the grahpics output protocol.
2022-11-27 10:02:45 +01:00
Nicholas Bishop 9237d5b911 book: Remove references to build-std
As of nightly-2022-11-10 the UEFI targets are tier 2 and available via
rustup, so build-std isn't needed anymore.
2022-11-24 14:40:30 -05:00
Philipp Schuster 76b5a22981 rename crate features
To prevent confusion, this renames the `alloc` crate feature to
`global_allocator` and the `exts` feature to `alloc` to match the
conventions of the ecosystem.
2022-11-19 11:54:29 -05:00