Download (BID) Specification - Operating Systems Group

Transcript
B.3
B.3.5
Statements
B
hex /prompt/
/symbol/
CONFIGURATION LANGUAGE
/word/
This verb displays /prompt/ to the user, accepts a value from the user, and assigns that value to /symbol/.
Any hexadecimal number is a legal input value. /word/ is the default value.
The hex verb does not accept range parameters.
Configure:
Menuconfig:
Xconfig:
mconfig:
implemented
implemented
implemented
implemented
Example:
# drivers/sound/Config.in
hex ’I/O base for SB Check from manual of the card’ \
CONFIG_SB_BASE 220
B.3.6
int /prompt/
/symbol/
/word/
This verb displays /prompt/ to the user, accepts a value from the user, and assigns that value to /symbol/.
/word/ is the default value. Any decimal number is a legal input value.
The int verb does not accept range parameters.
Configure:
Menuconfig:
Xconfig:
mconfig:
implemented
implemented
implemented
implemented
Example:
# drivers/char/Config.in
int ’Maximum number of Unix98 PTYs in use (0-2048)’ \
CONFIG_UNIX98_PTY_COUNT 256
B.3.7
string
/prompt/
/symbol/
/word/
This verb displays /prompt/ to the user, accepts a value from the user, and assigns that value to /symbol/.
/word/ is the default value. Legal input values are any ASCII string, except for the characters ’”’ and ’\’.
Configure will trap an input string of ”?” to display help.
The default value is mandatory.
Configure:
Menuconfig:
Xconfig:
mconfig:
implemented
implemented
implemented
implemented
Example:
# drivers/sound/Config.in
string ’ Full pathname of DSPxxx.LD firmware file’ \
CONFIG_PSS_BOOT_FILE /etc/sound/dsp001.ld
45