XINU
system
bufinit.c
Go to the documentation of this file.
1
5
#include <
xinu.h
>
6
8
struct
bpentry
buftab
[
NBPOOLS
];
10
bpid32
nbpools
;
11
17
status
bufinit
(
void
)
18
{
19
nbpools
= 0;
20
return
OK
;
21
}
xinu.h
全てのシステムヘッダファイルをインクルードする。
OK
#define OK
処理が成功した場合
Definition:
kernel.h:77
NBPOOLS
#define NBPOOLS
バッファプール数の最大数
Definition:
bufpool.h:8
status
int32 status
ステータスを意味する返り値の型(OK/SYSERR)
Definition:
kernel.h:57
bpid32
int32 bpid32
バッファプールID
Definition:
kernel.h:34
bpentry
バッファプールテーブルエントリ
Definition:
bufpool.h:27
nbpools
bpid32 nbpools
割り当てられたバッファプールの現在の数
Definition:
bufinit.c:10
buftab
struct bpentry buftab[NBPOOLS]
バッファプールテーブルエントリ
Definition:
bufinit.c:8
bufinit
status bufinit(void)
バッファプールデータ構造を初期化する。
Definition:
bufinit.c:17
Generated by
1.8.13