| 総合手引 | セクション 9 | English | オプション |
#include <sys/param.h>
#include <sys/bus.h>
#include <machine/bus.h>
#include <sys/rman.h>
#include <machine/resource.h>
引数は以下の通りです。
| dev | |
| リソースを設定するデバイスです。 | |
| type | |
|
割り当てたいリソースの型です。
これは下記の中の 1 つです。
| |
| SYS_RES_IRQ | IRQ のリソースです。 |
| SYS_RES_DRQ | ISA DMA ラインのリソースです。 |
| SYS_RES_IOPORT | |
| I/O ポートのリソースです。 | |
| SYS_RES_MEMORY | |
| I/O メモリのリソースです。 | |
| rid | |
| 割り当てられているリソースを識別するバス特有のハンドルです。 | |
| start | |
| このリソースの開始アドレスです。 | |
| count | |
| このリソースの長さです。 例えば、バイト単位でのメモリの大きさです。 | |
| BUS_SET_RESOURCE (9) | March 29, 2003 |
| 総合手引 | セクション 9 | English | オプション |
このマニュアルページサービスについてのご意見は Ben Bullock にお知らせください。 Privacy policy.
| “ | Today, the Unix equivalent of a power drill would have 20 dials and switches, come with a nonstandard plug, require the user to hand-wind the motor coil, and not accept 3/8" or 7/8" drill bits (though this would be documented in the BUGS section of its instruction manual). | ” |
| — The Unix Haters' handbook | ||