mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 03:22:43 +00:00 
			
		
		
		
	UserspaceEmulator: Add virtual data()/shadow_data() accessors to Region
This commit is contained in:
		
							parent
							
								
									59b4874443
								
							
						
					
					
						commit
						92e152f11d
					
				
					 4 changed files with 9 additions and 5 deletions
				
			
		|  | @ -46,7 +46,8 @@ public: | |||
|     virtual void write32(u32 offset, ValueWithShadow<u32>) override; | ||||
|     virtual void write64(u32 offset, ValueWithShadow<u64>) override; | ||||
| 
 | ||||
|     u8* data() { return m_data; } | ||||
|     virtual u8* data() override { return m_data; } | ||||
|     virtual u8* shadow_data() override { return m_shadow_data; } | ||||
| 
 | ||||
|     bool is_shared_buffer() const override { return true; } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling