Forráskód Böngészése

Make HPET fields public

Isaac Woods 5 éve
szülő
commit
dd7daf351f
1 módosított fájl, 6 hozzáadás és 7 törlés
  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)]