Comments about the FrameAllocator
This commit is contained in:
		
							parent
							
								
									efcd5218a4
								
							
						
					
					
						commit
						4f1dae37d8
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		|  | @ -16,6 +16,10 @@ | |||
| 
 | ||||
| namespace kernel { | ||||
| 
 | ||||
| /**
 | ||||
|  * Handles allocating page frames. Frames are chunks of physical memory into | ||||
|  * which pages may be allocated. | ||||
|  */ | ||||
| struct FrameAllocator | ||||
| { | ||||
|     FrameAllocator(); | ||||
|  | @ -28,6 +32,8 @@ struct FrameAllocator | |||
|      */ | ||||
|     void* allocate(); | ||||
| 
 | ||||
|     // TODO: free()
 | ||||
| 
 | ||||
| private: | ||||
|     typedef kstd::Bitmap<u8> Bitmap; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue