XINU
Functions
xdone.c File Reference

最終プロセスの終了時、システム終了メッセージを表示する。 More...

#include <xinu.h>
Include dependency graph for xdone.c:

Go to the source code of this file.

Functions

void xdone (void)
 最終プロセスの終了時、システム終了メッセージを表示する。 More...
 

Detailed Description

最終プロセスの終了時、システム終了メッセージを表示する。

Definition in file xdone.c.

Function Documentation

◆ xdone()

void xdone ( void  )

最終プロセスの終了時、システム終了メッセージを表示する。

Definition at line 10 of file xdone.c.

References halt(), and kprintf().

Referenced by kill().

11 {
12  kprintf("\n\nAll user processes have completed.\n\n");
13  halt(); /* Halt the processor */
14 }
syscall kprintf(char *fmt,...)
ポーリングI/Oを使用して、フォーマットされた文字列をコンソールに出力する。
Definition: kprintf.c:98
void halt(void)
システムを停止させる(intr.Sに定義がある)
Here is the call graph for this function:
Here is the caller graph for this function: