Changeset View
Changeset View
Standalone View
Standalone View
stand/common/rbx.h
Show All 37 Lines | |||||
/* 0x11 is reserved for log2(RB_SELFTEST). */ | /* 0x11 is reserved for log2(RB_SELFTEST). */ | ||||
/* 0x12 is reserved for boot programs. */ | /* 0x12 is reserved for boot programs. */ | ||||
/* 0x13 is reserved for boot programs. */ | /* 0x13 is reserved for boot programs. */ | ||||
#define RBX_PAUSE 0x14 /* -p */ | #define RBX_PAUSE 0x14 /* -p */ | ||||
#define RBX_QUIET 0x15 /* -q */ | #define RBX_QUIET 0x15 /* -q */ | ||||
#define RBX_NOINTR 0x1c /* -n */ | #define RBX_NOINTR 0x1c /* -n */ | ||||
/* 0x1d is reserved for log2(RB_MULTIPLE) and is just misnamed here. */ | /* 0x1d is reserved for log2(RB_MULTIPLE) and is just misnamed here. */ | ||||
#define RBX_DUAL 0x1d /* -D */ | #define RBX_DUAL 0x1d /* -D */ | ||||
#define RBX_RTERM 0x1e /* -R */ | |||||
/* 0x1f is reserved for log2(RB_BOOTINFO). */ | /* 0x1f is reserved for log2(RB_BOOTINFO). */ | ||||
/* pass: -a, -s, -r, -d, -c, -v, -h, -C, -g, -m, -p, -D */ | /* pass: -a, -s, -r, -d, -c, -v, -h, -C, -g, -m, -p, -D */ | ||||
#define RBX_MASK (OPT_SET(RBX_ASKNAME) | OPT_SET(RBX_SINGLE) | \ | #define RBX_MASK (OPT_SET(RBX_ASKNAME) | OPT_SET(RBX_SINGLE) | \ | ||||
OPT_SET(RBX_DFLTROOT) | OPT_SET(RBX_KDB ) | \ | OPT_SET(RBX_DFLTROOT) | OPT_SET(RBX_KDB ) | \ | ||||
OPT_SET(RBX_CONFIG) | OPT_SET(RBX_VERBOSE) | \ | OPT_SET(RBX_CONFIG) | OPT_SET(RBX_VERBOSE) | \ | ||||
OPT_SET(RBX_SERIAL) | OPT_SET(RBX_CDROM) | \ | OPT_SET(RBX_SERIAL) | OPT_SET(RBX_CDROM) | \ | ||||
OPT_SET(RBX_GDB ) | OPT_SET(RBX_MUTE) | \ | OPT_SET(RBX_GDB ) | OPT_SET(RBX_MUTE) | \ | ||||
OPT_SET(RBX_PAUSE) | OPT_SET(RBX_DUAL)) | OPT_SET(RBX_PAUSE) | OPT_SET(RBX_DUAL)) | ||||
#define OPT_SET(opt) (1 << (opt)) | #define OPT_SET(opt) (1 << (opt)) | ||||
#define OPT_CHECK(opt) ((opts) & OPT_SET(opt)) | #define OPT_CHECK(opt) ((opts) & OPT_SET(opt)) | ||||
extern uint32_t opts; | extern uint32_t opts; | ||||
#endif /* !_RBX_H_ */ | #endif /* !_RBX_H_ */ |