forked from eden-emu/eden
		
	core: hle: kernel: Integrate system KSystemResource.
This commit is contained in:
		
							parent
							
								
									b7b47f3099
								
							
						
					
					
						commit
						32d7faafa8
					
				
					 7 changed files with 209 additions and 69 deletions
				
			
		|  | @ -358,8 +358,8 @@ Result KProcess::LoadFromMetadata(const FileSys::ProgramMetadata& metadata, std: | |||
|     } | ||||
|     // Initialize proces address space
 | ||||
|     if (const Result result{page_table.InitializeForProcess( | ||||
|             metadata.GetAddressSpaceType(), false, 0x8000000, code_size, | ||||
|             &kernel.GetApplicationMemoryBlockManager(), KMemoryManager::Pool::Application)}; | ||||
|             metadata.GetAddressSpaceType(), false, false, false, KMemoryManager::Pool::Application, | ||||
|             0x8000000, code_size, &kernel.GetSystemSystemResource(), resource_limit)}; | ||||
|         result.IsError()) { | ||||
|         R_RETURN(result); | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 bunnei
						bunnei