Update libstd. Add CWD and associated syscalls. Remove debugging
This commit is contained in:
		
							parent
							
								
									7561839cfc
								
							
						
					
					
						commit
						57f5699664
					
				
					 12 changed files with 113 additions and 12 deletions
				
			
		|  | @ -128,6 +128,8 @@ pub fn cpu_id() -> usize { | |||
| } | ||||
| 
 | ||||
| pub extern fn userspace_init() { | ||||
|     assert_eq!(syscall::chdir(b"initfs:"), Ok(0)); | ||||
| 
 | ||||
|     assert_eq!(syscall::open(b"debug:", 0), Ok(0)); | ||||
|     assert_eq!(syscall::open(b"debug:", 0), Ok(1)); | ||||
|     assert_eq!(syscall::open(b"debug:", 0), Ok(2)); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Jeremy Soller
						Jeremy Soller