add type aliases for old names and mark them as deprecated.
@@ -711,3 +711,11 @@ mod test {
assert_eq!(size_of::<InterruptDescriptorTable>(), 256 * 16);
}
}
+
+#[deprecated(note="type was renamed to `InterruptDescriptorTable`, the old name will removed in the next major version")]
+/// See `InterruptDescriptorTable`
+pub type Idt = InterruptDescriptorTable;
+
+#[deprecated(note="type was renamed to `Entry`, the old name will removed in the next major version")]
+/// See `Entry`
+pub type IdtEntry<F> = Entry<F>;
\ No newline at end of file
