Add signal support - exit on signal
This commit is contained in:
		
							parent
							
								
									b551b30300
								
							
						
					
					
						commit
						bf292bc0d1
					
				
					 31 changed files with 396 additions and 314 deletions
				
			
		|  | @ -113,6 +113,7 @@ pub extern fn ksignal(signal: usize) { | |||
|             println!("NAME {}", unsafe { ::core::str::from_utf8_unchecked(&context.name.lock()) }); | ||||
|         } | ||||
|     } | ||||
|     syscall::exit(signal & 0x7F); | ||||
| } | ||||
| 
 | ||||
| /// This is the kernel entry point for the primary CPU. The arch crate is responsible for calling this
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Jeremy Soller
						Jeremy Soller