Changes between Version 2 and Version 3 of kernel_tty0
- Timestamp:
 - Oct 31, 2014, 10:59:31 AM (11 years ago)
 
Legend:
- Unmodified
 - Added
 - Removed
 - Modified
 
- 
        
kernel_tty0
v2 v3 19 19 Displays a 32 bits word as an decimal string on kernel TTY0. This function does NOT take the TTY0 lock. 20 20 21 === void _printf( char* format, ... ) ===22 Display a format on kernel TTY0. To provide an atomic display, this function takes the lock protecting23 exclusive access to TTY0, entering a critical section until the lock is released.24 Only a limited number of formats are supported:25 * %d : 32 bits signed decimal26 * %u : 32 bits unsigned decimal27 * %x : 32 bits unsigned hexa28 * %l : 64 bits unsigned hexa29 * %c : char30 * %s : string31 32 21 === void _getc( char* byte ) === 33 22 This blocking function uses a polling strategy on the TTY0 status register to get a single character.  
![(please configure the [header_logo] section in trac.ini)](/trac/giet-vm/chrome/site/your_project_logo.png)