Home
last modified time | relevance | path

Searched refs:x86_reg (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/target/i386/hvf/
H A Dx86.h198 #define x86_reg(cpu, reg) ((x86_register *) &cpu->regs[reg]) macro
200 #define RRX(cpu, reg) (x86_reg(cpu, reg)->rrx)
218 #define ERX(cpu, reg) (x86_reg(cpu, reg)->erx)
228 #define RX(cpu, reg) (x86_reg(cpu, reg)->rx)
238 #define RL(cpu, reg) (x86_reg(cpu, reg)->lx)
244 #define RH(cpu, reg) (x86_reg(cpu, reg)->hx)
H A Dx86_emu.c97 return x86_reg(env, reg)->lx; in read_reg()
99 return x86_reg(env, reg)->rx; in read_reg()
101 return x86_reg(env, reg)->erx; in read_reg()
103 return x86_reg(env, reg)->rrx; in read_reg()
114 x86_reg(env, reg)->lx = val; in write_reg()
117 x86_reg(env, reg)->rx = val; in write_reg()
120 x86_reg(env, reg)->rrx = (uint32_t)val; in write_reg()
123 x86_reg(env, reg)->rrx = val; in write_reg()