Преглед на файлове

Make HPET raw table type public

Isaac Woods преди 4 години
родител
ревизия
5ca44b41bc
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1 1
      acpi/src/hpet.rs
  2. 1 1
      acpi/src/lib.rs

+ 1 - 1
acpi/src/hpet.rs

@@ -74,7 +74,7 @@ impl HpetInfo {
 }
 
 #[repr(C, packed)]
-pub(crate) struct HpetTable {
+pub struct HpetTable {
     /// The contents of the HPET's 'General Capabilities and ID register'
     header: SdtHeader,
     event_timer_block_id: u32,

+ 1 - 1
acpi/src/lib.rs

@@ -47,7 +47,7 @@ extern crate alloc;
 extern crate std;
 
 pub mod fadt;
-mod hpet;
+pub mod hpet;
 mod madt;
 mod mcfg;
 pub mod platform;