Changes between Version 8 and Version 9 of kernel_tty0


Ignore:
Timestamp:
Dec 8, 2014, 8:01:35 PM (10 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • kernel_tty0

    v8 v9  
    33[[PageOutline]]
    44
    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.
     5The [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].
    66
    77They are prefixed by "_" to remind that they can only be executed by a processor in kernel mode.
     
    2828 * %l : hexadecimal representation for an unsigned long long (64 bits)
    2929 * %d : decimal representation for a signed int (32 bits)
     30
     31 === void '''_nolock_printf( char* format, ... ) ===
     32THis function display a formated string on TTY0, without taking any lock for' exclusive access.
    3033