mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-20 09:03:28 +00:00
remove unused alignment feature
we're not passing pages around like I thought I would. svae the stack space, so in the future if we do stuff with e.g. suspend/resume we don't have to reserve such a huge chunk of RAM for boot.
This commit is contained in:
parent
1d0f34779a
commit
8811114a9b
1 changed files with 1 additions and 2 deletions
|
|
@ -33,8 +33,7 @@ pub struct SwapSourceHeader {
|
||||||
pub aad: [u8; 64],
|
pub aad: [u8; 64],
|
||||||
}
|
}
|
||||||
|
|
||||||
/// An aligned, raw-page structure
|
#[repr(C)]
|
||||||
#[repr(C, align(4096))]
|
|
||||||
pub struct RawPage {
|
pub struct RawPage {
|
||||||
pub data: [u8; 4096],
|
pub data: [u8; 4096],
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue