Changes between Version 8 and Version 9 of kernel_tty0
- Timestamp:
- Dec 8, 2014, 8:01:35 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
kernel_tty0
v8 v9 3 3 [[PageOutline]] 4 4 5 The [source:soft/giet_vm/giet_common/tty0.c tty0.c] and [source:soft/giet_vm/giet_common/tty0.h tty0.h] files define the functions used to access the kernel terminal TTY[0]. The '''_put~''' functions do not take the lock protecting exclusive access to TTY0, and are used by the boot code. The '''_printf''' function takes the SBT lock protecting exclusive access to TTY0, and is used by the kernel code.5 The [source:soft/giet_vm/giet_common/tty0.c tty0.c] and [source:soft/giet_vm/giet_common/tty0.h tty0.h] files define the functions used to access the kernel terminal TTY[0]. 6 6 7 7 They are prefixed by "_" to remind that they can only be executed by a processor in kernel mode. … … 28 28 * %l : hexadecimal representation for an unsigned long long (64 bits) 29 29 * %d : decimal representation for a signed int (32 bits) 30 31 === void '''_nolock_printf( char* format, ... ) === 32 THis function display a formated string on TTY0, without taking any lock for' exclusive access. 30 33