瀏覽代碼

Make HPET fields public

Isaac Woods 5 年之前
父節點
當前提交
dd7daf351f
共有 1 個文件被更改,包括 6 次插入7 次删除
  1. 6 7
      acpi/src/hpet.rs

+ 6 - 7
acpi/src/hpet.rs

@@ -14,13 +14,12 @@ pub enum PageProtection {
 /// Information about the High Precision Event Timer
 #[derive(Debug)]
 pub struct HpetInfo {
-    event_timer_block_id: u32,
-    base_address: usize,
-    hpet_number: u8,
-    /// The minimum number of clock ticks that can be set without losing interrupts (for timers in
-    /// Periodic Mode)
-    clock_tick_unit: u16,
-    page_protection: PageProtection,
+    pub event_timer_block_id: u32,
+    pub base_address: usize,
+    pub hpet_number: u8,
+    /// The minimum number of clock ticks that can be set without losing interrupts (for timers in Periodic Mode)
+    pub clock_tick_unit: u16,
+    pub page_protection: PageProtection,
 }
 
 #[repr(C, packed)]