.. 
			 
		
		
			
			
			
			
				
					
						
							
								 bio.c 
							
						
					 
				 
				
					
						
							
							mention LRU list a bit more in comments. 
						
					 
				 
				2019-10-29 04:32:55 -04:00  
			 
		
			
			
			
			
				
					
						
							
								 buf.h 
							
						
					 
				 
				
					
						
							
							no buf->qnext 
						
					 
				 
				2019-09-24 14:41:51 -04:00  
			 
		
			
			
			
			
				
					
						
							
								 console.c 
							
						
					 
				 
				
					
						
							
							consolewrite does not need cons.lock -- can lead to sleep() with lock held 
						
					 
				 
				2020-11-05 06:56:51 -05:00  
			 
		
			
			
			
			
				
					
						
							
								 date.h 
							
						
					 
				 
				
					
						
							
							separate source into kernel/ user/ mkfs/ 
						
					 
				 
				2019-06-11 09:57:14 -04:00  
			 
		
			
			
			
			
				
					
						
							
								 defs.h 
							
						
					 
				 
				
					
						
							
							Remove setproc prototype 
						
					 
				 
				2021-08-31 14:14:38 -04:00  
			 
		
			
			
			
			
				
					
						
							
								 elf.h 
							
						
					 
				 
				
					
						
							
							separate source into kernel/ user/ mkfs/ 
						
					 
				 
				2019-06-11 09:57:14 -04:00  
			 
		
			
			
			
			
				
					
						
							
								 entry.S 
							
						
					 
				 
				
					
						
							
							fix ld warning: undefined symbol _entry 
						
					 
				 
				2021-08-31 20:58:58 -04:00  
			 
		
			
			
			
			
				
					
						
							
								 exec.c 
							
						
					 
				 
				
					
						
							
							exec() only accepts MAXARG arguments 
						
					 
				 
				2021-08-31 14:26:43 -04:00  
			 
		
			
			
			
			
				
					
						
							
								 fcntl.h 
							
						
					 
				 
				
					
						
							
							make "echo hello > x" truncate file x. 
						
					 
				 
				2020-08-10 11:19:10 -04:00  
			 
		
			
			
			
			
				
					
						
							
								 file.c 
							
						
					 
				 
				
					
						
							
							hopefully make writei more correct 
						
					 
				 
				2020-11-05 06:56:51 -05:00  
			 
		
			
			
			
			
				
					
						
							
								 file.h 
							
						
					 
				 
				
					
						
							
							Add major/minor/mkdev 
						
					 
				 
				2019-08-23 19:41:53 -04:00  
			 
		
			
			
			
			
				
					
						
							
								 fs.c 
							
						
					 
				 
				
					
						
							
							Rename icache to itable 
						
					 
				 
				2020-11-23 19:30:15 -05:00  
			 
		
			
			
			
			
				
					
						
							
								 fs.h 
							
						
					 
				 
				
					
						
							
							FD_DEVICE 
						
					 
				 
				2019-06-13 10:29:27 -04:00  
			 
		
			
			
			
			
				
					
						
							
								 kalloc.c 
							
						
					 
				 
				
					
						
							
							Make the end variable be really at the end of bss, and delete + 4096 in freerange() 
						
					 
				 
				2019-09-08 15:19:19 -04:00  
			 
		
			
			
			
			
				
					
						
							
								 kernel.ld 
							
						
					 
				 
				
					
						
							
							Clean up linker script 
						
					 
				 
				2019-10-21 22:27:18 -04:00  
			 
		
			
			
			
			
				
					
						
							
								 kernelvec.S 
							
						
					 
				 
				
					
						
							
							more explicable scratch area size for machine-mode timer interrupts 
						
					 
				 
				2020-10-05 19:30:27 -04:00  
			 
		
			
			
			
			
				
					
						
							
								 log.c 
							
						
					 
				 
				
					
						
							
							fix typos in user/usertest.c & kernel/log.c 
						
					 
				 
				2021-08-31 14:10:14 -04:00  
			 
		
			
			
			
			
				
					
						
							
								 main.c 
							
						
					 
				 
				
					
						
							
							Change inode cache in main.c to inode table 
						
					 
				 
				2021-08-31 14:17:39 -04:00  
			 
		
			
			
			
			
				
					
						
							
								 memlayout.h 
							
						
					 
				 
				
					
						
							
							Clarify CLINT and PLIC acronym 
						
					 
				 
				2020-10-03 16:36:20 -04:00  
			 
		
			
			
			
			
				
					
						
							
								 param.h 
							
						
					 
				 
				
					
						
							
							separate source into kernel/ user/ mkfs/ 
						
					 
				 
				2019-06-11 09:57:14 -04:00  
			 
		
			
			
			
			
				
					
						
							
								 pipe.c 
							
						
					 
				 
				
					
						
							
							test for closed pipe or killed on every char, not just if pipe full 
						
					 
				 
				2020-11-05 06:56:51 -05:00  
			 
		
			
			
			
			
				
					
						
							
								 plic.c 
							
						
					 
				 
				
					
						
							
							interrupt-driven uart output, hopefully a nice example for teaching. 
						
					 
				 
				2020-08-10 11:19:10 -04:00  
			 
		
			
			
			
			
				
					
						
							
								 printf.c 
							
						
					 
				 
				
					
						
							
							move panicked check to uart.c 
						
					 
				 
				2020-08-28 09:00:41 -04:00  
			 
		
			
			
			
			
				
					
						
							
								 proc.c 
							
						
					 
				 
				
					
						
							
							proc_tree_lock -> wait_lock 
						
					 
				 
				2020-11-05 19:50:46 -05:00  
			 
		
			
			
			
			
				
					
						
							
								 proc.h 
							
						
					 
				 
				
					
						
							
							comment 
						
					 
				 
				2021-08-31 14:27:33 -04:00  
			 
		
			
			
			
			
				
					
						
							
								 ramdisk.c 
							
						
					 
				 
				
					
						
							
							Update ramdisk.c 
						
					 
				 
				2020-01-16 15:05:27 +00:00  
			 
		
			
			
			
			
				
					
						
							
								 riscv.h 
							
						
					 
				 
				
					
						
							
							fix comment for 'sepc' 
						
					 
				 
				2021-08-31 14:12:36 -04:00  
			 
		
			
			
			
			
				
					
						
							
								 sleeplock.c 
							
						
					 
				 
				
					
						
							
							Checkpoint switching to per-process locks, in attempt clarify xv6's 
						
					 
				 
				2019-07-02 09:14:47 -04:00  
			 
		
			
			
			
			
				
					
						
							
								 sleeplock.h 
							
						
					 
				 
				
					
						
							
							separate source into kernel/ user/ mkfs/ 
						
					 
				 
				2019-06-11 09:57:14 -04:00  
			 
		
			
			
			
			
				
					
						
							
								 spinlock.c 
							
						
					 
				 
				
					
						
							
							nits 
						
					 
				 
				2019-10-27 08:03:19 -04:00  
			 
		
			
			
			
			
				
					
						
							
								 spinlock.h 
							
						
					 
				 
				
					
						
							
							nits 
						
					 
				 
				2019-07-10 14:54:34 -04:00  
			 
		
			
			
			
			
				
					
						
							
								 start.c 
							
						
					 
				 
				
					
						
							
							Configure PMP at boot 
						
					 
				 
				2021-08-30 16:27:52 -04:00  
			 
		
			
			
			
			
				
					
						
							
								 stat.h 
							
						
					 
				 
				
					
						
							
							Make size in stat.h be a uint64 
						
					 
				 
				2019-07-04 08:57:23 -04:00  
			 
		
			
			
			
			
				
					
						
							
								 string.c 
							
						
					 
				 
				
					
						
							
							memmove(dst, src, 0) leads to overflow in while(n-- > 0) as n is uint64 (thanks 
						
					 
				 
				2021-09-01 07:29:12 -04:00  
			 
		
			
			
			
			
				
					
						
							
								 swtch.S 
							
						
					 
				 
				
					
						
							
							separate source into kernel/ user/ mkfs/ 
						
					 
				 
				2019-06-11 09:57:14 -04:00  
			 
		
			
			
			
			
				
					
						
							
								 syscall.c 
							
						
					 
				 
				
					
						
							
							rename p->tf to p->trapframe, for consistency with p->context 
						
					 
				 
				2020-08-10 11:19:10 -04:00  
			 
		
			
			
			
			
				
					
						
							
								 syscall.h 
							
						
					 
				 
				
					
						
							
							separate source into kernel/ user/ mkfs/ 
						
					 
				 
				2019-06-11 09:57:14 -04:00  
			 
		
			
			
			
			
				
					
						
							
								 sysfile.c 
							
						
					 
				 
				
					
						
							
							usertest for exec() out of memory recovery 
						
					 
				 
				2020-08-21 11:00:45 -04:00  
			 
		
			
			
			
			
				
					
						
							
								 sysproc.c 
							
						
					 
				 
				
					
						
							
							Support exit status for exit/wait 
						
					 
				 
				2019-09-10 12:30:10 -04:00  
			 
		
			
			
			
			
				
					
						
							
								 trampoline.S 
							
						
					 
				 
				
					
						
							
							Change tf -> trapframe in a few comments 
						
					 
				 
				2020-08-10 11:19:10 -04:00  
			 
		
			
			
			
			
				
					
						
							
								 trap.c 
							
						
					 
				 
				
					
						
							
							interrupt-driven uart output, hopefully a nice example for teaching. 
						
					 
				 
				2020-08-10 11:19:10 -04:00  
			 
		
			
			
			
			
				
					
						
							
								 types.h 
							
						
					 
				 
				
					
						
							
							separate source into kernel/ user/ mkfs/ 
						
					 
				 
				2019-06-11 09:57:14 -04:00  
			 
		
			
			
			
			
				
					
						
							
								 uart.c 
							
						
					 
				 
				
					
						
							
							I fixed a typo in the comment. 
						
					 
				 
				2021-08-31 14:16:59 -04:00  
			 
		
			
			
			
			
				
					
						
							
								 virtio.h 
							
						
					 
				 
				
					
						
							
							port virtio_disk to virtio spec 1.0+ 
						
					 
				 
				2021-10-17 23:05:09 -07:00  
			 
		
			
			
			
			
				
					
						
							
								 virtio_disk.c 
							
						
					 
				 
				
					
						
							
							port virtio_disk to virtio spec 1.0+ 
						
					 
				 
				2021-10-17 23:05:09 -07:00  
			 
		
			
			
			
			
				
					
						
							
								 vm.c 
							
						
					 
				 
				
					
						
							
							Assert that the size in mappages() is always positive 
						
					 
				 
				2021-08-31 14:20:32 -04:00