forked from M-Labs/artiq
liballoc: change align to 16 bytes
This commit is contained in:
parent
7f0bc9f7f0
commit
50a62b3d42
|
@ -4,7 +4,7 @@ use core::{ptr, mem, fmt};
|
||||||
use core::alloc::{GlobalAlloc, Layout};
|
use core::alloc::{GlobalAlloc, Layout};
|
||||||
|
|
||||||
// The minimum alignment guaranteed by the architecture.
|
// The minimum alignment guaranteed by the architecture.
|
||||||
const MIN_ALIGN: usize = 4;
|
const MIN_ALIGN: usize = 16;
|
||||||
|
|
||||||
const MAGIC_FREE: usize = 0xDEADDEAD;
|
const MAGIC_FREE: usize = 0xDEADDEAD;
|
||||||
const MAGIC_BUSY: usize = 0xFEEDFEED;
|
const MAGIC_BUSY: usize = 0xFEEDFEED;
|
||||||
|
|
Loading…
Reference in New Issue