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