Map kernel high
Very important to give qemu memory through PHYSTOP :(
This commit is contained in:
		
							parent
							
								
									dccb915282
								
							
						
					
					
						commit
						9aa0337dc1
					
				
					 20 changed files with 208 additions and 71 deletions
				
			
		
							
								
								
									
										2
									
								
								defs.h
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								defs.h
									
										
									
									
									
								
							|  | @ -62,6 +62,7 @@ extern uchar    ioapicid; | |||
| void            ioapicinit(void); | ||||
| 
 | ||||
| // kalloc.c
 | ||||
| char*           pgalloc(void); | ||||
| char*           kalloc(void); | ||||
| void            kfree(char*); | ||||
| void            kinit(void); | ||||
|  | @ -160,6 +161,7 @@ void            uartintr(void); | |||
| void            uartputc(int); | ||||
| 
 | ||||
| // vm.c
 | ||||
| void            pginit(char* (*alloc)()); | ||||
| void            seginit(void); | ||||
| void            kvmalloc(void); | ||||
| void            vmenable(void); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Frans Kaashoek
						Frans Kaashoek