mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-11-03 23:28:48 +00:00 
			
		
		
		
	Pretty sure ARM/Thread serialization works now
This commit is contained in:
		
							parent
							
								
									c983528862
								
							
						
					
					
						commit
						246ae84a52
					
				
					 8 changed files with 40 additions and 13 deletions
				
			
		| 
						 | 
				
			
			@ -61,7 +61,7 @@ void KernelSystem::SetCurrentProcess(std::shared_ptr<Process> process) {
 | 
			
		|||
void KernelSystem::SetCurrentMemoryPageTable(std::shared_ptr<Memory::PageTable> page_table) {
 | 
			
		||||
    memory.SetCurrentPageTable(page_table);
 | 
			
		||||
    if (current_cpu != nullptr) {
 | 
			
		||||
        current_cpu->PageTableChanged(); // notify the CPU the page table in memory has changed
 | 
			
		||||
        current_cpu->SetPageTable(page_table);
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -172,7 +172,6 @@ private:
 | 
			
		|||
        ar& ready_queue;
 | 
			
		||||
        ar& wakeup_callback_table;
 | 
			
		||||
        ar& thread_list;
 | 
			
		||||
        SwitchContext(current_thread.get());
 | 
			
		||||
    }
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue