78
81
return resources_register(resources);
81
static const cmdline_option_t cmdline_options[] = {
82
{ "-raminitstartvalue", SET_RESOURCE, 1, NULL, NULL,
83
"RAMInitStartValue", NULL,
84
"<value>", "Set the value for the very first RAM address after powerup" },
84
#ifdef HAS_TRANSLATION
85
static const cmdline_option_t cmdline_options[] = {
86
{ "-raminitstartvalue", SET_RESOURCE, 1, NULL, NULL,
87
"RAMInitStartValue", NULL,
88
IDCLS_P_VALUE, IDCLS_SET_FIRST_RAM_ADDRESS_VALUE },
89
{ "-raminitvalueinvert" , SET_RESOURCE, 1, NULL, NULL,
90
"RAMInitValueInvert", NULL,
91
IDCLS_P_NUM_OF_BYTES, IDCLS_LENGTH_BLOCK_SAME_VALUE },
92
{ "-raminitpatterninvert", SET_RESOURCE, 1, NULL, NULL,
93
"RAMInitPatternInvert", NULL,
94
IDCLS_P_NUM_OF_BYTES, IDCLS_LENGTH_BLOCK_SAME_PATTERN },
98
static const cmdline_option_t cmdline_options[] = {
99
{ "-raminitstartvalue", SET_RESOURCE, 1, NULL, NULL,
100
"RAMInitStartValue", NULL,
101
N_("<value>"), N_("Set the value for the very first RAM address after powerup") },
85
102
{ "-raminitvalueinvert", SET_RESOURCE, 1, NULL, NULL,
86
103
"RAMInitValueInvert", NULL,
87
"<num of bytes>", "Length of memory block initialized with the same value" },
104
N_("<num of bytes>"), N_("Length of memory block initialized with the same value") },
88
105
{ "-raminitpatterninvert", SET_RESOURCE, 1, NULL, NULL,
89
106
"RAMInitPatternInvert", NULL,
90
"<num of bytes>", "Length of memory block initialized with the same pattern" },
107
N_("<num of bytes>"), N_("Length of memory block initialized with the same pattern") },
94
112
int ram_cmdline_options_init(void)