x
This commit is contained in:
		
							parent
							
								
									37ac6f8f4f
								
							
						
					
					
						commit
						84c759fc02
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		
							
								
								
									
										2
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
										
									
									
									
								
							|  | @ -54,7 +54,7 @@ OBJCOPY = $(TOOLPREFIX)objcopy | ||||||
| OBJDUMP = $(TOOLPREFIX)objdump | OBJDUMP = $(TOOLPREFIX)objdump | ||||||
| 
 | 
 | ||||||
| # CFLAGS = -fno-pic -static -fno-builtin -fno-strict-aliasing -Wall -MD -ggdb -Werror -fno-omit-frame-pointer -O
 | # CFLAGS = -fno-pic -static -fno-builtin -fno-strict-aliasing -Wall -MD -ggdb -Werror -fno-omit-frame-pointer -O
 | ||||||
| CFLAGS = -Wall -Werror -O0 -fno-omit-frame-pointer -ggdb | CFLAGS = -Wall -Werror -O -fno-omit-frame-pointer -ggdb | ||||||
| CFLAGS += -mcmodel=medany | CFLAGS += -mcmodel=medany | ||||||
| CFLAGS += -ffreestanding -fno-common -nostdlib -mno-relax | CFLAGS += -ffreestanding -fno-common -nostdlib -mno-relax | ||||||
| CFLAGS += -I. | CFLAGS += -I. | ||||||
|  |  | ||||||
|  | @ -402,7 +402,7 @@ scheduler(void) | ||||||
| { | { | ||||||
|   struct proc *p; |   struct proc *p; | ||||||
|   struct cpu *c = mycpu(); |   struct cpu *c = mycpu(); | ||||||
|   int next; |   int next = 0; | ||||||
|    |    | ||||||
|   c->proc = 0; |   c->proc = 0; | ||||||
|   for(;;){ |   for(;;){ | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Frans Kaashoek
						Frans Kaashoek