We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc3744b commit 494c57dCopy full SHA for 494c57d
rsdp/src/handler.rs
@@ -33,6 +33,10 @@ where
33
/// than `region_length`, due to requirements of the paging system or other reasoning.
34
/// - `handler` should be the same `AcpiHandler` that created the mapping. When the `PhysicalMapping` is
35
/// dropped, it will be used to unmap the structure.
36
+ ///
37
+ /// # Safety
38
39
+ /// The caller must make sure that the parameters correctly represent an existing mapping.
40
pub unsafe fn new(
41
physical_start: usize,
42
virtual_start: NonNull<T>,
0 commit comments