Alexey Kardashevskiy
166206845f
memory: Switch memory from using AddressSpace to FlatView
FlatView's will be shared between AddressSpace's and subpage_t
and MemoryRegionSection cannot store AS anymore, hence this change.
In particular, for:
typedef struct subpage_t {
MemoryRegion iomem;
- AddressSpace *as;
+ FlatView *fv;
hwaddr base;
uint16_t sub_section[];
} subpage_t;
struct MemoryRegionSection {
MemoryRegion *mr;
- AddressSpace *address_space;
+ FlatView *fv;
hwaddr offset_within_region;
Int128 size;
hwaddr offset_within_address_space;
bool readonly;
};
This should cause no behavioural change.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Message-Id: <20170921085110.25598-7-aik@ozlabs.ru>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2017-09-21 23:19:37 +02:00
..
2017-09-19 14:09:31 +02:00
2017-08-01 17:27:33 +02:00
2017-07-19 10:11:05 +01:00
2017-09-21 23:19:37 +02:00
2017-07-21 15:04:05 +01:00
2017-09-21 11:51:49 +02:00
2017-09-06 10:11:54 -05:00
2017-07-18 17:36:24 +02:00
2017-07-11 17:44:56 +02:00
2017-07-17 20:02:11 +08:00
2017-09-04 13:09:13 +02:00
2017-09-21 23:19:37 +02:00
2017-09-20 17:35:36 +01:00
2017-09-19 14:09:31 +02:00
2017-07-14 12:29:10 +02:00
2017-09-15 10:15:06 +02:00
2017-08-31 12:29:07 +02:00
2017-09-07 11:57:35 -07:00
2017-04-26 23:57:45 -05:00
2017-08-08 17:28:53 +02:00