Kaynağa Gözat

Document vbe2.0 fields and mark them as depreciated in 3.0

mental 5 yıl önce
ebeveyn
işleme
1561f62eea
1 değiştirilmiş dosya ile 10 ekleme ve 2 silme
  1. 10 2
      src/vbe_info.rs

+ 10 - 2
src/vbe_info.rs

@@ -181,10 +181,18 @@ pub struct VBEModeInfo {
     /// Physical address for flat memory frame buffer
     pub framebuffer_base_ptr: u32,
 
-    /// This should be a reserved field???
+    /// A pointer to the start of off screen memory.
+    ///
+    /// # Deprecated
+    ///
+    /// In VBE3.0 and above these fields are reserved and unused.
     pub offscreen_memory_offset: u32,
 
-    /// This should be a reserved field???
+    /// The amount of off screen memory in 1k units.
+    ///
+    /// # Deprecated
+    ///
+    /// In VBE3.0 and above these fields are reserved and unused.
     pub offscreen_memory_size: u16,
 
     /// Remainder of mode info block