move jkstack to main.c
replace jstack with asm()s
This commit is contained in:
		
							parent
							
								
									eb18645f17
								
							
						
					
					
						commit
						2cf6b32d4d
					
				
					 6 changed files with 17 additions and 28 deletions
				
			
		
							
								
								
									
										2
									
								
								defs.h
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								defs.h
									
										
									
									
									
								
							|  | @ -110,7 +110,6 @@ void            yield(void); | |||
| 
 | ||||
| // swtch.S
 | ||||
| void            swtch(struct context**, struct context*); | ||||
| void            jstack(uint); | ||||
| 
 | ||||
| // spinlock.c
 | ||||
| void            acquire(struct spinlock*); | ||||
|  | @ -157,7 +156,6 @@ void            pminit(void); | |||
| void            ksegment(void); | ||||
| void            kvmalloc(void); | ||||
| void            vminit(void); | ||||
| void            jkstack(); | ||||
| void            printstack(void); | ||||
| void            printpgdir(pde_t *); | ||||
| pde_t*          setupkvm(void); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Robert Morris
						Robert Morris