Searched refs:new_regs (Results 1 – 2 of 2) sorted by relevance
106 struct reg *new_regs = malloc(3 * n * sizeof(reg_defs[0])); in build_shadow_arch() local111 new_regs[i*n + r].name = malloc(strlen(reg_defs[r].name) in build_shadow_arch()113 strcpy (new_regs[i*n + r].name, reg_defs[r].name); in build_shadow_arch()114 strcat (new_regs[i*n + r].name, postfix[i]); in build_shadow_arch()115 new_regs[i*n + r].offset = i*reg_set_len + reg_defs[r].offset; in build_shadow_arch()116 new_regs[i*n + r].size = reg_defs[r].size; in build_shadow_arch()119 new_regs[i*n + r].name, i*n + r, new_regs[i*n + r].offset, in build_shadow_arch()120 (new_regs[i*n + r].offset) / 8, new_regs[i*n + r].size); in build_shadow_arch()124 return new_regs; in build_shadow_arch()
282 uint32_t new_regs[8], new_segs[6]; in switch_tss() local333 new_regs[i] = ldl_kernel(tss_base + (0x28 + i * 4)); in switch_tss()344 new_regs[i] = lduw_kernel(tss_base + (0x12 + i * 2)) | 0xffff0000; in switch_tss()447 EAX = new_regs[0]; in switch_tss()448 ECX = new_regs[1]; in switch_tss()449 EDX = new_regs[2]; in switch_tss()450 EBX = new_regs[3]; in switch_tss()451 ESP = new_regs[4]; in switch_tss()452 EBP = new_regs[5]; in switch_tss()453 ESI = new_regs[6]; in switch_tss()[all …]