mirror of
https://github.com/m-labs/artiq.git
synced 2025-02-03 06:10:18 +08:00
analyzer: align to sdram page
This commit is contained in:
parent
bb14a0b2e2
commit
9d905d95a5
@ -10,7 +10,7 @@ use core::cell::RefCell;
|
|||||||
|
|
||||||
const BUFFER_SIZE: usize = 512 * 1024;
|
const BUFFER_SIZE: usize = 512 * 1024;
|
||||||
|
|
||||||
#[repr(align(64))]
|
#[repr(align(2048))]
|
||||||
struct Buffer {
|
struct Buffer {
|
||||||
data: [u8; BUFFER_SIZE],
|
data: [u8; BUFFER_SIZE],
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user