Skip to content

Commit

Permalink
uefi: Drop references to SystemTable from docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasbishop committed Aug 27, 2024
1 parent 15b0f5a commit bc69bd1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
10 changes: 3 additions & 7 deletions uefi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,9 @@
//!
//! ## Tables
//!
//! The [`SystemTable`] provides access to almost everything in UEFI. It comes
//! in two flavors:
//! - `SystemTable<Boot>`: for boot-time applications such as bootloaders,
//! provides access to both boot and runtime services.
//! - `SystemTable<Runtime>`: for operating systems after boot services have
//! been exited.
//! Most UEFI functionality comes from the system, boot, and runtime
//! tables. These can be accessed via the [`system`], [`boot`], and [`runtime`]
//! modules.
//!
//! ## Protocols
//!
Expand Down Expand Up @@ -204,7 +201,6 @@
//! [UEFI]: https://uefi.org/
//! [Zulip]: https://rust-osdev.zulipchat.com
//! [`GlobalAlloc`]: alloc::alloc::GlobalAlloc
//! [`SystemTable`]: table::SystemTable
//! [`ctr16!`]: crate::cstr16
//! [`entry-macro`]: uefi_macros::entry
//! [`r-efi`]: https://crates.io/crates/r-efi
Expand Down
2 changes: 1 addition & 1 deletion uefi/src/mem/memory_map/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
//! [`MemoryMapMeta`],
//! - re-exports [`MemoryDescriptor`], [`MemoryType`], and [`MemoryAttribute`].
//!
//! [`boot::exit_boot_services`]: crate::table::SystemTable::exit_boot_services
//! [`boot::exit_boot_services`]: crate::boot::exit_boot_services
//! [`boot::memory_map`]: crate::boot::memory_map

mod api;
Expand Down
6 changes: 3 additions & 3 deletions uefi/src/proto/console/text/output.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ use uefi_raw::protocol::console::{SimpleTextOutputMode, SimpleTextOutputProtocol
/// # Accessing `Output` protocol
///
/// The standard output and standard error output protocols can be accessed
/// using [`SystemTable::stdout`] and [`SystemTable::stderr`], respectively.
/// using [`system::stdout`] and [`system::stderr`], respectively.
///
/// An `Output` protocol can also be accessed like any other UEFI protocol.
/// See the [`boot`] documentation for more details of how to open a
/// protocol.
///
/// [`SystemTable::stdout`]: crate::table::SystemTable::stdout
/// [`SystemTable::stderr`]: crate::table::SystemTable::stderr
/// [`system::stdout`]: crate::system::with_stdout
/// [`system::stderr`]: crate::system::with_stderr
/// [`boot`]: crate::boot#accessing-protocols
#[derive(Debug)]
#[repr(transparent)]
Expand Down

0 comments on commit bc69bd1

Please sign in to comment.