fix ram offsets for precursor swap config

This commit is contained in:
bunnie 2024-04-04 19:23:07 +08:00
parent 9c0ac72aae
commit d4eac7325f

View file

@ -244,7 +244,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
}
Some("renode-swap") => {
if !builder.is_swap_set() {
builder.set_swap(0x4040_0000, 8 * 1024 * 1024);
builder.set_swap(0x4080_0000, 8 * 1024 * 1024);
}
builder.target_renode();
// It is important that this is the first service added, because the swapper *must* be in PID 2