???
This commit is contained in:
		
							parent
							
								
									5d75346e4a
								
							
						
					
					
						commit
						da898a11b6
					
				
					 1 changed files with 5 additions and 5 deletions
				
			
		|  | @ -1,6 +1,6 @@ | ||||||
| // Physical memory allocator, intended to allocate
 | // Physical memory allocator, for user processes,
 | ||||||
| // memory for user processes, kernel stacks, page-table pages,
 | // kernel stacks, page-table pages,
 | ||||||
| // and pipe buffers. Allocates 4096-byte pages.
 | // and pipe buffers. Allocates whole 4096-byte pages.
 | ||||||
| 
 | 
 | ||||||
| #include "types.h" | #include "types.h" | ||||||
| #include "param.h" | #include "param.h" | ||||||
|  | @ -11,8 +11,8 @@ | ||||||
| 
 | 
 | ||||||
| void freerange(void *pa_start, void *pa_end); | void freerange(void *pa_start, void *pa_end); | ||||||
| 
 | 
 | ||||||
| extern char end[]; // first address after kernel loaded from ELF file
 | extern char end[]; // first address after kernel.
 | ||||||
|                    // defined by the kernel linker script in kernel.ld
 |                    // defined by kernel.ld.
 | ||||||
| 
 | 
 | ||||||
| struct run { | struct run { | ||||||
|   struct run *next; |   struct run *next; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue