mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
fix main memory patching for swap config on precursor
This commit is contained in:
parent
8c219f8fb1
commit
50fa69a062
1 changed files with 2 additions and 0 deletions
|
|
@ -366,6 +366,8 @@ fn main() {
|
|||
if s.offset < ram_config.offset + ram_config.size {
|
||||
ram_config.size = s.offset - ram_config.offset;
|
||||
}
|
||||
args.ram_start = ram_config.offset;
|
||||
args.ram_length = ram_config.size;
|
||||
}
|
||||
// Note that other configurations don't split RAM, since the swap is provisioned directly
|
||||
// in hardware, and thus, no post-processing is required.
|
||||
|
|
|
|||
Loading…
Reference in a new issue