 Alexey Kardashevskiy
		
	
	
		166206845f
		
	
	
	
	memory: Switch memory from using AddressSpace to FlatView
			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
	 
	
	
		 ..
	
	
	
		
			
			
			
			
			
			2016-05-19 16:42:29 +02:00
		 
	
		
			
			
			
			
			
			2017-06-20 14:31:32 +02:00
		 
	
		
			
			
			
			
			
			2016-10-17 15:44:49 -02:00
		 
	
		
			
			
			
			
			
			2017-02-28 12:08:17 +00:00
		 
	
		
			
			
			
			
			
			2017-06-13 14:57:00 +01:00
		 
	
		
			
			
			
			
			
			2017-07-11 11:21:26 +01:00
		 
	
		
			
			
			
			
			
			2016-05-19 16:42:29 +02:00
		 
	
		
			
			
			
			
			
			2017-06-20 14:31:33 +02:00
		 
	
		
			
			
			
			
			
			2017-06-07 17:21:44 +01:00
		 
	
		
			
			
			
			
			
			2016-06-20 11:35:15 +01:00
		 
	
		
			
			
			
			
			
			2017-06-13 14:57:01 +01:00
		 
	
		
			
			
			
			
			
			2017-09-07 13:54:51 +01:00
		 
	
		
			
			
			
			
			
			2017-09-04 17:13:53 +01:00
		 
	
		
			
			
			
			
			
			2016-07-19 17:56:27 +01:00
		 
	
		
			
			
			
			
			
			2016-12-27 14:59:25 +00:00
		 
	
		
			
			
			
			
			
			2017-09-14 18:43:17 +01:00
		 
	
		
			
			
			
			
			
			2016-06-07 18:19:23 +03:00
		 
	
		
			
			
			
			
			
			2016-05-19 16:42:29 +02:00
		 
	
		
			
			
			
			
			
			2016-05-19 16:42:29 +02:00
		 
	
		
			
			
			
			
			
			2017-05-17 10:37:00 -03:00
		 
	
		
			
			
			
			
			
			2016-05-12 13:22:24 +01:00
		 
	
		
			
			
			
			
			
			2017-06-13 14:56:58 +01:00
		 
	
		
			
			
			
			
			
			2017-02-28 12:08:17 +00:00
		 
	
		
			
			
			
			
			
			2017-02-28 17:10:00 +00:00
		 
	
		
			
			
			
			
			
			2017-05-17 10:37:00 -03:00
		 
	
		
			
			
			
			
			
			2016-01-29 15:07:24 +00:00
		 
	
		
			
			
			
			
			
			2017-05-17 10:37:00 -03:00
		 
	
		
			
			
			
			
			
			2016-10-04 10:00:25 +02:00
		 
	
		
			
			
			
			
			
			2016-05-19 16:42:29 +02:00
		 
	
		
			
			
			
			
			
			2016-10-04 10:00:25 +02:00
		 
	
		
			
			
			
			
			
			2017-01-16 17:52:35 +01:00
		 
	
		
			
			
			
			
			
			2017-05-17 10:37:01 -03:00
		 
	
		
			
			
			
			
			
			2016-10-04 10:00:25 +02:00
		 
	
		
			
			
			
			
			
			2017-04-26 12:00:42 +10:00
		 
	
		
			
			
			
			
			
			2017-02-21 22:24:58 +00:00
		 
	
		
			
			
			
			
			
			2017-05-17 10:37:00 -03:00
		 
	
		
			
			
			
			
			
			2017-05-17 10:37:00 -03:00
		 
	
		
			
			
			
			
			
			2017-09-21 23:19:37 +02:00
		 
	
		
			
			
			
			
			
			2017-06-30 14:03:32 +10:00
		 
	
		
			
			
			
			
			
			2016-05-19 16:42:29 +02:00
		 
	
		
			
			
			
			
			
			2016-01-29 15:07:22 +00:00
		 
	
		
			
			
			
			
			
			2016-03-22 22:20:15 +01:00
		 
	
		
			
			
			
			
			
			2017-08-30 18:23:26 +02:00
		 
	
		
			
			
			
			
			
			2017-07-14 12:29:49 +02:00
		 
	
		
			
			
			
			
			
			2016-03-22 22:20:17 +01:00
		 
	
		
			
			
			
			
			
			2016-10-04 10:00:25 +02:00
		 
	
		
			
			
			
			
			
			2017-08-01 12:13:07 +01:00
		 
	
		
			
			
			
			
			
			2015-09-24 01:29:36 +01:00
		 
	
		
			
			
			
			
			
			2017-06-09 12:17:59 +10:00
		 
	
		
			
			
			
			
			
			2017-06-09 12:12:34 +10:00
		 
	
		
			
			
			
			
			
			2017-05-24 11:39:52 +10:00
		 
	
		
			
			
			
			
			
			2017-09-15 10:29:48 +10:00
		 
	
		
			
			
			
			
			
			2016-01-29 15:07:24 +00:00