eth: align DescEntries

master
Astro 4 years ago
parent f9cc561144
commit 644cc64524

@ -11,7 +11,7 @@ pub enum Error {
}
/// Descriptor entry
#[repr(C)]
#[repr(C, align(0x08))]
pub struct DescEntry {
word0: DescWord0,
word1: DescWord1,

@ -4,6 +4,7 @@ use crate::println;
use super::{MTU, regs};
/// Descriptor entry
#[repr(C, align(0x08))]
pub struct DescEntry {
word0: DescWord0,
word1: DescWord1,

Loading…
Cancel
Save