Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
number of new `Guid` methods.
- The `MEMORY_DESCRIPTOR_VERSION` constant has been moved to
`MemoryDescriptor::VERSION`.
- The `Revision` struct's one field is now public.

## uefi-macros - [Unreleased]

Expand Down
1 change: 1 addition & 0 deletions uefi-raw/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
mod enums;

pub mod protocol;
pub mod table;

mod status;

Expand Down
5 changes: 5 additions & 0 deletions uefi-raw/src/table/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
//! Standard UEFI tables.

mod revision;

pub use revision::Revision;
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ use core::fmt;
/// ```
#[derive(Copy, Clone, Debug, Eq, PartialEq, Ord, PartialOrd)]
#[repr(transparent)]
pub struct Revision(u32);
pub struct Revision(pub u32);

// Allow missing docs, there's nothing useful to document about these
// constants.
Expand Down
5 changes: 2 additions & 3 deletions uefi/src/table/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,12 @@ pub trait Table {
mod header;
pub use self::header::Header;

mod revision;
pub use self::revision::Revision;

mod system;
pub use self::system::{Boot, Runtime, SystemTable};

pub mod boot;
pub mod runtime;

pub mod cfg;

pub use uefi_raw::table::Revision;