[Krafton Jungle] PintOS 2.0.0
크래프톤 정글 PintOS
 
Loading...
Searching...
No Matches
console.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void console_init (void)
 
void console_panic (void)
 
void console_print_stats (void)
 

Function Documentation

◆ console_init()

void console_init ( void  )
64 {
66 use_console_lock = true;
67}
static bool use_console_lock
Definition: console.c:31
static struct lock console_lock
Definition: console.c:18
void lock_init(struct lock *)
Definition: synch.c:186
Here is the call graph for this function:
Here is the caller graph for this function:

◆ console_panic()

void console_panic ( void  )
73 {
74 use_console_lock = false;
75}
Here is the caller graph for this function:

◆ console_print_stats()

void console_print_stats ( void  )
79 {
80 printf ("Console: %lld characters output\n", write_cnt);
81}
static int64_t write_cnt
Definition: console.c:60
int printf(const char *,...) PRINTF_FORMAT(1
Here is the call graph for this function:
Here is the caller graph for this function: