From b4a07cfdd5f93ecc4abb1bc3014a336f8c47b736 Mon Sep 17 00:00:00 2001 From: Maschell Date: Sat, 7 Apr 2018 10:29:45 +0200 Subject: [PATCH] [Loader] Recuded one chunk used for memory mapping. Reordered them by size. --- loader/src/mymemory/memory_mapping.h | 29 ++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/loader/src/mymemory/memory_mapping.h b/loader/src/mymemory/memory_mapping.h index e22ea95..d38cfc4 100644 --- a/loader/src/mymemory/memory_mapping.h +++ b/loader/src/mymemory/memory_mapping.h @@ -42,31 +42,32 @@ const memory_values_t mem_vals_loader[] = { }; const memory_values_t mem_vals_plugins[] = { - {0x28000000 + 0x06E20000 , 0x28000000 + 0x07E20000}, // 16MB 0x80800000 0x81800000 -> 0x2EF00000 0x2FF00000 + {0x28000000 + 0x06E20000 , 0x28000000 + 0x07E20000}, // 16MB 0x80800000 0x81800000 -> 0x2EF00000 0x2FF00000 {0,0} }; // Values needs to be aligned to 0x20000 and size needs to be a multiple of 0x20000 const memory_values_t mem_vals_heap[] = { // 5.5.2 EUR - {0x28000000 + 0x000E0000, 0x28000000 + 0x00160000}, // size: 512 kB - {0x28000000 + 0x003C0000, 0x28000000 + 0x004C0000}, // size: 1024 kB + {0x28000000 + 0x09000000, 0x28000000 + 0x09E20000}, // size: 14464 kB + {0x28000000 + 0x058E0000, 0x28000000 + 0x06000000}, // size: 7296 kB + {0x28000000 + 0x053C0000, 0x28000000 + 0x05880000}, // size: 4864 kB + {0x28000000 + 0x08C20000, 0x28000000 + 0x08F20000}, // size: 3072 kB {0x28000000 + 0x00900000, 0x28000000 + 0x00B00000}, // size: 2048 kB + {0x28000000 + 0x07E20000, 0x28000000 + 0x07F80000}, // size: 1408 kB + {0x28000000 + 0x02060000, 0x28000000 + 0x021A0000}, // size: 1280 kB + {0x28000000 + 0x083C0000, 0x28000000 + 0x084C0000}, // size: 1024 kB + {0x28000000 + 0x003C0000, 0x28000000 + 0x004C0000}, // size: 1024 kB + {0x28000000 + 0x02BC0000, 0x28000000 + 0x02CA0000}, // size: 896 kB + {0x28000000 + 0x080E0000, 0x28000000 + 0x08180000}, // size: 640 kB + {0x28000000 + 0x000E0000, 0x28000000 + 0x00160000}, // size: 512 kB {0x28000000 + 0x00E40000, 0x28000000 + 0x00EC0000}, // size: 512 kB {0x28000000 + 0x00EE0000, 0x28000000 + 0x00F60000}, // size: 512 kB {0x28000000 + 0x00FA0000, 0x28000000 + 0x01020000}, // size: 512 kB - {0x28000000 + 0x01040000, 0x28000000 + 0x013A0000}, // size: 3456 kB - {0x28000000 + 0x02060000, 0x28000000 + 0x021A0000}, // size: 1280 kB - {0x28000000 + 0x02BC0000, 0x28000000 + 0x02CA0000}, // size: 896 kB - {0x28000000 + 0x04B60000, 0x28000000 + 0x04B80000}, // size: 128 kB - {0x28000000 + 0x053C0000, 0x28000000 + 0x05880000}, // size: 4864 kB - {0x28000000 + 0x058E0000, 0x28000000 + 0x06000000}, // size: 7296 kB - {0x28000000 + 0x07E20000, 0x28000000 + 0x07F80000}, // size: 1408 kB - {0x28000000 + 0x080E0000, 0x28000000 + 0x08180000}, // size: 640 kB - {0x28000000 + 0x083C0000, 0x28000000 + 0x084C0000}, // size: 1024 kB {0x28000000 + 0x086E0000, 0x28000000 + 0x08760000}, // size: 512 kB - {0x28000000 + 0x08C20000, 0x28000000 + 0x08F20000}, // size: 3072 kB - {0x28000000 + 0x09000000, 0x28000000 + 0x09E20000}, // size: 14464 kB + {0x28000000 + 0x04B60000, 0x28000000 + 0x04B80000}, // size: 128 kB + // This chunk was reduced several times, it _might_ be dangerous to use, let's put it right to the end. + {0x28000000 + 0x01040000, 0x28000000 + 0x01340000}, // size: 3072 kB // Not usable on 5.5.2 //