Searched refs:key_str (Results 1 - 2 of 2) sorted by relevance

/gem5/util/m5/
H A Dm5.c287 uint64_t key_str[2]; local
288 parse_str_args_to_regs(argc, argv, key_str, 2);
289 uint64_t val = m5_init_param(key_str[0], key_str[1]);
/gem5/src/sim/
H A Dpseudo_inst.cc401 // them in the key_str character buffer
403 char key_str[len]; local
404 memset(key_str, '\0', len);
408 strncpy(key_str, (char *)&key_str1, sizeof(uint64_t));
411 if (strlen(key_str) == sizeof(uint64_t)) {
412 strncpy(key_str + sizeof(uint64_t), (char *)&key_str2,
421 if (strcmp(key_str, InitParamKey::DEFAULT) == 0) {
423 } else if (strcmp(key_str, InitParamKey::DIST_RANK) == 0) {
425 } else if (strcmp(key_str, InitParamKey::DIST_SIZE) == 0) {
428 panic("Unknown key for initparam pseudo instruction:\"%s\"", key_str);
[all...]

Completed in 7 milliseconds