Function x86_64::addr::align_down[][src]

pub fn align_down(addr: u64, align: u64) -> u64
Expand description

Align address downwards.

Returns the greatest x with alignment align so that x <= addr. The alignment must be a power of 2.