mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 16:12:44 +00:00 
			
		
		
		
	Make bash-2.05b build with minimal changes.
This is really neat. :^)
This commit is contained in:
		
							parent
							
								
									2cf477a151
								
							
						
					
					
						commit
						9d05f6b7a7
					
				
					 35 changed files with 326 additions and 176 deletions
				
			
		|  | @ -19,9 +19,9 @@ static bool initialized; | |||
| 
 | ||||
| namespace PIC { | ||||
| 
 | ||||
| void disable(BYTE irq) | ||||
| void disable(byte irq) | ||||
| { | ||||
|     BYTE imr; | ||||
|     byte imr; | ||||
|     if (irq & 8) { | ||||
|         imr = IO::in8(PIC1_CMD); | ||||
|         imr |= 1 << (irq - 8); | ||||
|  | @ -33,9 +33,9 @@ void disable(BYTE irq) | |||
|     } | ||||
| } | ||||
| 
 | ||||
| void enable(BYTE irq) | ||||
| void enable(byte irq) | ||||
| { | ||||
|     BYTE imr; | ||||
|     byte imr; | ||||
|     if (irq & 8) { | ||||
|         imr = IO::in8(PIC1_CMD); | ||||
|         imr &= ~(1 << (irq - 8)); | ||||
|  | @ -47,7 +47,7 @@ void enable(BYTE irq) | |||
|     } | ||||
| } | ||||
| 
 | ||||
| void eoi(BYTE irq) | ||||
| void eoi(byte irq) | ||||
| { | ||||
|     if (irq & 8) | ||||
|         IO::out8(PIC1_CTL, 0x20); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling