hpet_example†

HPET (High Precision Event Timer) ドライバ /drivers/char/hpet.c の動作を理解するために、実際に動かすアプリケーション・プログラム filehpet_example.tar.gz を使います。このプログラムは /Documentation/timers/hpet_example.c を修正して作成してあります。/Documentation/timers/hpet.txt で hpet_example.c について概要が書かれています。情報量は多く有りません。ioctl() API の仕様詳細は書かれていません。

ioctl API†

HPET driver's API†

Interrupt On - HPET_IE_ON†

Interrupt Off - HPET_IE_OFF†

Get Information - HPET_INFO†

Enable hardware periodic interrupt - HPET_EPI†

Disable hardware periodic interrupt - HPET_DPI†

Set Interrupt Frequency in Hz - HPET_IRQFREQ†

File System API's†

To see more details refer to man 2 fcntl.

F_GETOWN, F_GETOWN_EX†

F_GETOWN_EX†

struct f_owner_ex {
  int    type; /* F_OWNER_PID, F_OWNER_PGRP, or     F_OWNER_TID */
  pid_t  pid;  /* process id,  process group id, or thread id. */
}
int fcntl(int fd, F_GETOWN_EX, /* out */ struct f_owner_ex *owner_ex);

F_SETOWN†

F_SETOWN_EX†

F_GETFL†

F_SETFL†

F_GETSIG†

F_SETSIG†


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS