mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 16:12:44 +00:00 
			
		
		
		
	Kernel: Use klog() instead of kprintf()
Also, duplicate data in dbg() and klog() calls were removed. In addition, leakage of virtual address to kernel log is prevented. This is done by replacing kprintf() calls to dbg() calls with the leaked data instead. Also, other kprintf() calls were replaced with klog().
This commit is contained in:
		
							parent
							
								
									19aa53e1f9
								
							
						
					
					
						commit
						0fc60e41dd
					
				
					 53 changed files with 397 additions and 573 deletions
				
			
		|  | @ -190,7 +190,7 @@ void PIC::initialize() | |||
|     // ...except IRQ2, since that's needed for the master to let through slave interrupts.
 | ||||
|     enable(2); | ||||
| 
 | ||||
|     kprintf("PIC(i8259): cascading mode, vectors 0x%b-0x%b\n", IRQ_VECTOR_BASE, IRQ_VECTOR_BASE + 0xf); | ||||
|     klog() << "PIC(i8259): cascading mode, vectors 0x" << String::format("%x", IRQ_VECTOR_BASE) << "-0x" << String::format("%x", IRQ_VECTOR_BASE + 0xf); | ||||
| } | ||||
| 
 | ||||
| u16 PIC::get_isr() const | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Liav A
						Liav A