2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-29 05:03:34 +08:00

liballoc: change align to 16 bytes

This commit is contained in:
occheung 2021-08-11 12:18:13 +08:00
parent 7f0bc9f7f0
commit 50a62b3d42

View File

@ -4,7 +4,7 @@ use core::{ptr, mem, fmt};
use core::alloc::{GlobalAlloc, Layout};
// The minimum alignment guaranteed by the architecture.
const MIN_ALIGN: usize = 4;
const MIN_ALIGN: usize = 16;
const MAGIC_FREE: usize = 0xDEADDEAD;
const MAGIC_BUSY: usize = 0xFEEDFEED;