Skip to content

Commit d39547a

Browse files
authored
Merge pull request #1380 from nicholasbishop/bishop-st-docs
uefi: Drop references to SystemTable from docstrings
2 parents 15b0f5a + bc69bd1 commit d39547a

File tree

3 files changed

+7
-11
lines changed

3 files changed

+7
-11
lines changed

uefi/src/lib.rs

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,9 @@
100100
//!
101101
//! ## Tables
102102
//!
103-
//! The [`SystemTable`] provides access to almost everything in UEFI. It comes
104-
//! in two flavors:
105-
//! - `SystemTable<Boot>`: for boot-time applications such as bootloaders,
106-
//! provides access to both boot and runtime services.
107-
//! - `SystemTable<Runtime>`: for operating systems after boot services have
108-
//! been exited.
103+
//! Most UEFI functionality comes from the system, boot, and runtime
104+
//! tables. These can be accessed via the [`system`], [`boot`], and [`runtime`]
105+
//! modules.
109106
//!
110107
//! ## Protocols
111108
//!
@@ -204,7 +201,6 @@
204201
//! [UEFI]: https://uefi.org/
205202
//! [Zulip]: https://rust-osdev.zulipchat.com
206203
//! [`GlobalAlloc`]: alloc::alloc::GlobalAlloc
207-
//! [`SystemTable`]: table::SystemTable
208204
//! [`ctr16!`]: crate::cstr16
209205
//! [`entry-macro`]: uefi_macros::entry
210206
//! [`r-efi`]: https://crates.io/crates/r-efi

uefi/src/mem/memory_map/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
//! [`MemoryMapMeta`],
2929
//! - re-exports [`MemoryDescriptor`], [`MemoryType`], and [`MemoryAttribute`].
3030
//!
31-
//! [`boot::exit_boot_services`]: crate::table::SystemTable::exit_boot_services
31+
//! [`boot::exit_boot_services`]: crate::boot::exit_boot_services
3232
//! [`boot::memory_map`]: crate::boot::memory_map
3333
3434
mod api;

uefi/src/proto/console/text/output.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ use uefi_raw::protocol::console::{SimpleTextOutputMode, SimpleTextOutputProtocol
1111
/// # Accessing `Output` protocol
1212
///
1313
/// The standard output and standard error output protocols can be accessed
14-
/// using [`SystemTable::stdout`] and [`SystemTable::stderr`], respectively.
14+
/// using [`system::stdout`] and [`system::stderr`], respectively.
1515
///
1616
/// An `Output` protocol can also be accessed like any other UEFI protocol.
1717
/// See the [`boot`] documentation for more details of how to open a
1818
/// protocol.
1919
///
20-
/// [`SystemTable::stdout`]: crate::table::SystemTable::stdout
21-
/// [`SystemTable::stderr`]: crate::table::SystemTable::stderr
20+
/// [`system::stdout`]: crate::system::with_stdout
21+
/// [`system::stderr`]: crate::system::with_stderr
2222
/// [`boot`]: crate::boot#accessing-protocols
2323
#[derive(Debug)]
2424
#[repr(transparent)]

0 commit comments

Comments
 (0)