apm
—
APM BIOS ???ե?????
apm
?ϥ??åץȥå? PC ??
Intel / Microsoft APM (Advanced Power Management) BIOS
?ؤΥ??ե??????Ǥ???
apm
?ϼ????Ÿ???????ǽ?????ޤ???
- ?????ƥब?????ڥ??ɥ⡼?ɤ??????????????ˡ?
apm
?ϥ????ƥ??λ??פ? RTC
?˹??碌?ޤ???
- ?????ƥब?????ڥ??ɥ⡼?ɤ??????????????ˡ?
?????ƥब?????????????ȥ????ڥ??ɥ⡼?????˷вᤷ?????֤ǹ?????????
???å?????????
apm
??
syslogd(8)
?????Τ??ޤ???
apm
?ϥ????ƥ??γ?ư
(?¹Բ?ǽ?ʥץ??????????????ߤʤ?)
???ʤ????? CPU ?Υ????å?????®???ޤ???
???ε?ǽ?? APM ?? CPU
?Υ????ɥ??ݡ??Ȥ??Ƥ??륷???ƥ??ǤΤ?ͭ???Ǥ???
apm
?ϥ????饯?????ǥХ????Ȥ??ƥ??ץꥱ???????ե??????????ޤ???
???ץꥱ?????????Ϥ??Υ??ե????????𤷤?
APM ?????椷???ꡢ APM
?ξ??־??????????Ф????ꤹ?뤳?Ȥ??Ǥ??ޤ???
apm
?ϼ??Υ??ե??????????ޤ??????????Υ????ܥ???
“/usr/include/machine/apm_bios.h”
???????????Ƥ??ޤ???
- APMIO_SUSPEND
- ?????ƥ????ڥ??ɤ??ޤ???
- APMIO_GET
- ?Ÿ??????????????ꤷ?ޤ???
- APMIO_ENABLE
-
- APMIO_DISABLE
- ?Ÿ???????ͭ?? / ̵???ˤ??ޤ???
- APMIO_HALTCPU
-
- APMIO_NOTHALTCPU
- ?????ͥ륳???ƥ??????ڤ??ؤ??롼?????Ǥ?
HLT ?μ¹Ԥ????椷?ޤ???
HLT (???????ߤ?ȯ???????ޤ? CPU ??????)
̿???? “Idle CPU”
?ƤӽФ??????Ǽ¹Ԥ??? APM
?μ????⤢???ޤ??????????Ǥʤ????Τ⤢???ޤ???
?Ǥ????餳????ͭ???ˤ????ȡ?
“Idle CPU”
???ƤӽФ??????ͥ륳???ƥ??????ڤ??ؤ??롼??????
???? HLT
̿?????¹Ԥ??뤳?Ȥˤ??ꡢ
;ʬ?? HLT
̿?????¹Ԥ??뤳?Ȥˤʤ???ǽ?????????ޤ???
???η??̡??????ƥ??Υԡ?????ǽ??????????ǽ?????????ޤ???
?ޤ????????ͥ륳???ƥ??????ڤ??ؤ??롼?????Ǥ?
HLT ̿????̵???ˤ??????硢 ?ޥ????? APM
?μ????? “Idle CPU” ??
HLT
???¹Ԥ??ʤ??????ˤϡ??????ƥ??ϥϥ??åפ??ޤ???
CPU
?????å??θ?®?ݡ??Ȥ??Ƥ??ʤ??????Ǥϡ?APM
?? HLT ???¹Ԥ??ʤ????⤷???ޤ?????
???Τ褦?ʥޥ????Ǥϡ?
apm
?? APMIO_NOTHALTCPU
????????̵???ˤ??ޤ???
???ߤΥС?????????
apm
?ϡ??????å??θ?®?????ݡ??Ȥ????Ƥ??ʤ??????ˤϡ?
?????ͥ륳???ƥ??????ڤ??ؤ??롼????
“Idle CPU”
???ƤӽФ??????ǥե????ȤǤ?
HLT ̿?????¹Ԥ??ޤ???
???????äơ??????ξ????ˤϤ??????? 2
?Ĥ????????Ԥ?ɬ?פϤ????ޤ???
???????Υ??ե???????
apm(8)
??
apmconf(8)
?????Ѥ??ޤ???
apm
?? APM
???٥??Ȥ??ݡ??????????Υ??٥??Ȥ????????ޤ???
?ٹ?!
???ߤΤȤ????????åץȥåץޥ?????
APM BIOS ?μ????ϡ?
?ۤȤ??ɤȤޤǤϤ????ʤ??Ƥ??Х????餱?Ǥ???
???Υ??ե??????????Ѥ????? LCD
?ǥ????ץ쥤?????Ӥ?
?????ˤ??餹??ǽ?????????ޤ??? (???줬 MS-Windows
???????Ȥʤ??ʤ???ͳ?ϥꥢ???⡼?ɥ??ե?????
?????Ѥ??Ƥ??뤫???Ǥ???)
???Υ????ɤ????Ѥ??Ƥ??ʤ??Υ????ƥब??̯??ư?????Τ?ȯ???????????ˤϡ?
?Ÿ??ץ饰?????Ӥ?ľ???ˤȤޤǤϤ????ʤ??Ƥ??Ǥ????????ȴ????
???Υ????ɤ?̵???ˤ??Ƥ?????????
??ã?Ϥ??Υ????ɤ?ư????褦?ˤʤ뤳?Ȥ˴ؿ??????äƤ??ޤ???
?۾???ư???δѻ????̤һ?ã??Ϣ?????Ƥ?????????
apm
??ͭ???Ǥ????????ۥåȥ??????Ȥä?
BIOS ?????롼???????ƤӽФ???
?????ƥ??쥸?塼?????˽????ʾ㳲??????????????ǽ?????????ޤ???
BIOS
?????ץ????????ϥ֡??ȥ??ȥ??å??ޤ???
DOS ?????ƤӽФ??٤??Ǥ???
APM
?μ????ˤ??äƤϡ??Ÿ??ܥ??????????Ȥ䥫?С????Ĥ????Ȥ??ä?
???٥??Ȥ????Ȥ??Ǥ??ʤ????礬?????ޤ???
???Τ褦?ʼ????ǥ????ƥ????ڥ??ɤ????????ˤϡ?
ɬ??
apm(8)
?ޤ???
zzz(8)
???? ?????Ѥ??Ƥ?????????
?ǥ???????®??LCD
?Хå??饤?????桢?ѥ?????ǥޥ??ɤ?
???ߤΥС????????Ǥϥ??ݡ??Ȥ????Ƥ??ޤ?????
Tatsumi Hosokawa <hosokawa@jp.FreeBSD.org>