8a72894489
Sync with the original version. Unify some japanese words. Submitted by: kano@na.rim.or.jp
127 lines
4.1 KiB
Groff
127 lines
4.1 KiB
Groff
.\" %FreeBSD: src/share/man/man9/bios.9,v 1.13 2003/10/23 01:14:18 hmp Exp %
|
||
.\"
|
||
.\" Copyright (c) 1997 Michael Smith
|
||
.\" All rights reserved.
|
||
.\"
|
||
.\" Redistribution and use in source and binary forms, with or without
|
||
.\" modification, are permitted provided that the following conditions
|
||
.\" are met:
|
||
.\" 1. Redistributions of source code must retain the above copyright
|
||
.\" notice, this list of conditions and the following disclaimer.
|
||
.\" 2. Redistributions in binary form must reproduce the above copyright
|
||
.\" notice, this list of conditions and the following disclaimer in the
|
||
.\" documentation and/or other materials provided with the distribution.
|
||
.\"
|
||
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||
.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||
.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||
.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||
.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||
.\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||
.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
||
.\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||
.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||
.\" SUCH DAMAGE.
|
||
.\"
|
||
.\" $FreeBSD$
|
||
.Dd August 1, 1997
|
||
.Dt BIOS 9
|
||
.Os
|
||
.Sh ̾¾Î
|
||
.Nm bios_sigsearch ,
|
||
.Nm bios32_SDlookup ,
|
||
.Nm bios32
|
||
.Nd PC BIOS ¤È¤ÎÁê¸ßºîÍÑ
|
||
.Sh ½ñ¼°
|
||
.In sys/param.h
|
||
.In vm/vm.h
|
||
.In vm/pmap.h
|
||
.In machine/param.h
|
||
.In machine/pmap.h
|
||
.In machine/pc/bios.h
|
||
.Ft u_int32_t
|
||
.Fn bios_sigsearch "u_int32_t start" "u_char *sig" "int siglen" "int paralen" "int sigofs"
|
||
.Ft int
|
||
.Fn bios32_SDlookup "struct bios32_SDentry *ent"
|
||
.Ft int
|
||
.Fn bios32 "struct bios_regs *br" "u_int offset" "u_short segment"
|
||
.Fn BIOS_PADDRTOVADDR "addr"
|
||
.Fn BIOS_VADDRTOPADDR "addr"
|
||
.Vt extern struct bios32_SDentry PCIbios ;
|
||
.Vt extern struct SMBIOS_table SMBIOStable ;
|
||
.Vt extern struct DMI_table DMItable ;
|
||
.Sh ²òÀâ
|
||
¤³¤ì¤é¤Î´Ø¿ô¤Ï¡¢BIOS ´Ø¿ô¤È x86 PC ¥¢¡¼¥¥Æ¥¯¥Á¥ã¥·¥¹¥Æ¥à¤Ç½Ð²ñ¤¦¥Ç¡¼¥¿¤ò
|
||
¼è¤ê°·¤¦¤¿¤á¤Î¡¢ÈÆÍÑ¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤òÄ󶡤·¤Þ¤¹¡£
|
||
.Bl -tag -width 20n
|
||
.It Fn bios_sigsearch
|
||
¥µ¡¼¥Ó¥¹¥·¥°¥Í¥Á¥ã¤Î BIOS ¥¢¥É¥ì¥¹¶õ´Ö¤ò¸¡º÷¤·¤Þ¤¹¡£
|
||
¥µ¡¼¥Ó¥¹¥·¥°¥Í¥Á¥ã¤Ï¡¢
|
||
ÂçÄñ¤Ï¥¢¥ó¥À¥¹¥³¥¢¤Ç°Ï¤Þ¤ì¤Æ¤¤¤ëÂçʸ»ú¤Î ASCII ʸ»úÎó¤Ç¤¹¡£
|
||
¸¡º÷¤Ï¡¢
|
||
.Fa start
|
||
¤«¤é¡¢¤Þ¤¿¤Ï
|
||
.Fa start
|
||
¤¬ 0 ¤Î¾ì¹ç¤Ë¤Ï BIOS ¤ÎºÇ½é¤«¤é»Ï¤Þ¤ê¤Þ¤¹¡£
|
||
.Fa siglen
|
||
¥Ð¥¤¥È¤Î BIOS ¥¤¥á¡¼¥¸¤È
|
||
.Fa sig
|
||
¤È¤¬¡¢¸½ºß°ÌÃÖ¤«¤é
|
||
.Fa sigofs
|
||
¥Ð¥¤¥È¤Î¥ª¥Õ¥»¥Ã¥È¤Ë¤ª¤¤¤ÆÈæ³Ó¤µ¤ì¤Þ¤¹¡£
|
||
¥Þ¥Ã¥Á¤·¤Ê¤¤¤³¤È¤¬Ê¬¤«¤ë¤È¡¢¸½ºß°ÌÃÖ¤¬
|
||
.Fa paralen
|
||
¥Ð¥¤¥ÈÁý²Ã¤µ¤ì¤Æ¸¡º÷¤¬·«¤êÊÖ¤µ¤ì¤Þ¤¹¡£
|
||
¥·¥°¥Í¥Á¥ã¤¬¸«¤Ä¤«¤Ã¤¿¾ì¹ç¤Ë¤Ï¡¢¤½¤Î¼Â¸úʪÍý¥¢¥É¥ì¥¹¤¬ÊÖ¤µ¤ì¤Þ¤¹¡£
|
||
¥·¥°¥Í¥Á¥ã¤¬¸«¤Ä¤«¤é¤Ê¤«¤Ã¤¿¾ì¹ç¤Ë¤Ï¡¢0 ¤¬ÊÖ¤µ¤ì¤Þ¤¹¡£
|
||
.It Fn BIOS_VADDRTOPADDR
|
||
¥«¡¼¥Í¥ë²¾ÁÛ¥¢¥É¥ì¥¹
|
||
.Fa addr
|
||
¤ËÂбþ¤¹¤ë¼Â¸úʪÍý¥¢¥É¥ì¥¹¤òÊÖ¤·¤Þ¤¹¡£
|
||
.It Fn BIOS_VADDRTOPADDR
|
||
¼Â¸úʪÍý¥¢¥É¥ì¥¹
|
||
.Fa addr
|
||
¤ËÂбþ¤¹¤ë¥«¡¼¥Í¥ë²¾ÁÛ¥¢¥É¥ì¥¹¤òÊÖ¤·¤Þ¤¹¡£
|
||
.It SMBIOStable
|
||
NULL ¤Ç¤Ê¤¤¾ì¹ç¤Ï¡¢¥·¥¹¥Æ¥àµ¯Æ°»þ¤Ë
|
||
¥·¥¹¥Æ¥à¥Þ¥Í¡¼¥¸¥á¥ó¥È BIOS (System Management BIOS; SMBIOS) ¥Æ¡¼¥Ö¥ë
|
||
¤«¤éÆɤ߹þ¤Þ¤ì¤¿¾ðÊó¤ò´Þ¤ó¤Ç¤¤¤ë
|
||
.Ft struct SMBIOS_table
|
||
¹½Â¤ÂΤò»Ø¤·¤Þ¤¹¡£
|
||
.It DMItable
|
||
NULL ¤Ç¤Ê¤¤¾ì¹ç¤Ï¡¢¥·¥¹¥Æ¥àµ¯Æ°»þ¤Ë
|
||
¥Ç¥¹¥¯¥È¥Ã¥×¥Þ¥Í¡¼¥¸¥á¥ó¥È¥¤¥ó¥¿¥Õ¥§¡¼¥¹
|
||
(Desktop Management Interface; DMI) ¥Ñ¥é¥á¡¼¥¿¥Æ¡¼¥Ö¥ë
|
||
¤«¤éÆɤ߹þ¤Þ¤ì¤¿¾ðÊó¤ò´Þ¤ó¤Ç¤¤¤ë
|
||
.Ft struct DMI_table
|
||
¹½Â¤ÂΤò»Ø¤·¤Þ¤¹¡£
|
||
.El
|
||
.Sh BIOS32
|
||
¥·¥¹¥Æ¥àµ¯Æ°»þ¤Ë¡¢BIOS32 ¥µ¡¼¥Ó¥¹¥Ç¥£¥ì¥¯¥È¥ê (PCI »ÅÍͤΰìÉô) ¤Î
|
||
¤¿¤á¤Ë BIOS ¤¬¥¹¥¥ã¥ó¤µ¤ì¡¢¥Ç¥£¥ì¥¯¥È¥ê¤Î¸ºß¤¬µÏ¿¤µ¤ì¤Þ¤¹¡£
|
||
¤³¤ì¤Ï¸å¤Ç¡¢Â¾¤Î¥µ¡¼¥Ó¥¹¤Î¾ì½ê¤òÆÃÄꤹ¤ë¤¿¤á¤Ë»ÈÍѤǤ¤Þ¤¹¡£
|
||
.Bl -tag -width 20n
|
||
.It Fn bios32_SDlookup
|
||
°ú¿ô
|
||
.Fa ent
|
||
¤Î
|
||
.Fa ident
|
||
¥Õ¥£¡¼¥ë¥É¤ÇÅϤµ¤ì¤ë 4 ¥Ð¥¤¥È¤Î¼±Ê̻Ҥ˥ޥåÁ¤¹¤ë BIOS32 ¥µ¡¼¥Ó¥¹
|
||
¤Î¾ì½ê¤òÆÃÄꤷ¤è¤¦¤È»î¤ß¤Þ¤¹¡£
|
||
.It Fn bios32
|
||
bios32 ´Ø¿ô¤ò¸Æ¤Ó½Ð¤·¤Þ¤¹¡£
|
||
¤³¤ì¤Ï´Ø¿ô¤¬¡¢¥«¡¼¥Í¥ë¥»¥°¥á¥ó¥ÈÆâ¤ÇÆ°ºî¤Ç¤¤ë¤³¤È¤ò
|
||
²¾Äꤷ¤Æ¤¤¤Þ¤¹ (Ä̾ï¤Î¾ì¹ç)¡£
|
||
¥¨¥ó¥È¥ê¥Ý¥¤¥ó¥È¤Î²¾ÁÛ¥¢¥É¥ì¥¹¤Ï
|
||
.Fa entry
|
||
¤ÇÍ¿¤¨¤é¤ì¡¢
|
||
´Ø¿ô¤Ø¤Î¥ì¥¸¥¹¥¿°ú¿ô¤Ï
|
||
.Fa args
|
||
¤ÇÍ¿¤¨¤é¤ì¤Þ¤¹¡£
|
||
.It PCIbios
|
||
NULL ¤Ç¤Ê¤¤¾ì¹ç¤Ï¡¢¥·¥¹¥Æ¥àµ¯Æ°»þ¤Ë¸«¤Ä¤«¤Ã¤¿
|
||
PCI BIOS ¥¨¥ó¥È¥ê¥Ý¥¤¥ó¥È¤òµ½Ò¤¹¤ë
|
||
.Ft struct bios32_SDentry
|
||
¹½Â¤ÂΤò»Ø¤·¤Þ¤¹¡£
|
||
.El
|