mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 12:12:45 +00:00 
			
		
		
		
	Kernel: Remove API for requesting physical allocation alignment
Nobody was using this API to request anythign about `PAGE_SIZE` alignment, so let's get rid of it for now. We can reimplement it if we end up needing it. Also note that it wasn't actually used anywhere.
This commit is contained in:
		
							parent
							
								
									ba87571366
								
							
						
					
					
						commit
						be90e51355
					
				
					 6 changed files with 11 additions and 14 deletions
				
			
		|  | @ -15,7 +15,7 @@ class ContiguousVMObject final : public VMObject { | |||
| public: | ||||
|     virtual ~ContiguousVMObject() override; | ||||
| 
 | ||||
|     static RefPtr<ContiguousVMObject> try_create_with_size(size_t, size_t physical_alignment = PAGE_SIZE); | ||||
|     static RefPtr<ContiguousVMObject> try_create_with_size(size_t); | ||||
| 
 | ||||
| private: | ||||
|     explicit ContiguousVMObject(size_t, NonnullRefPtrVector<PhysicalPage>&); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling