瀏覽代碼

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;