commit | 9f99072fc08e1044700404ae0a5f13a30a0a2a60 | [log] [tgz] |
---|---|---|
author | Richard Henderson <richard.henderson@linaro.org> | Tue Mar 25 15:26:28 2025 -0700 |
committer | Richard Henderson <richard.henderson@linaro.org> | Tue Apr 22 14:07:12 2025 -0700 |
tree | a6531c75a82362059a65da7adf881ce3ba04b250 | |
parent | 95d4f72d6a667c71adae8a3c8093efe32043d9b4 [diff] |
hw/avr: Prepare for TARGET_PAGE_SIZE > 256 If i/o does not cover the entire first page, allocate a portion of ram as an i/o device, so that the entire first page is i/o. While memory_region_init_ram_device_ptr is happy to allocate the RAMBlock, it does not register the ram for migration. Do this by hand. Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>