Searched refs:addr_modes (Results 1 – 5 of 5) sorted by relevance
/arch/x86/math-emu/ |
D | get_address.c | 211 struct address *addr, fpu_addr_modes addr_modes) in FPU_get_address() argument 220 if (!addr_modes.default_mode && (FPU_modrm & FPU_WRITE_BIT) in FPU_get_address() 221 && (addr_modes.override.segment == PREFIX_CS_)) { in FPU_get_address() 277 switch (addr_modes.default_mode) { in FPU_get_address() 281 address += vm86_segment(addr_modes.override.segment, addr); in FPU_get_address() 285 address = pm_address(FPU_modrm, addr_modes.override.segment, in FPU_get_address() 296 struct address *addr, fpu_addr_modes addr_modes) in FPU_get_address_16() argument 304 if (!addr_modes.default_mode && (FPU_modrm & FPU_WRITE_BIT) in FPU_get_address_16() 305 && (addr_modes.override.segment == PREFIX_CS_)) { in FPU_get_address_16() 356 if (addr_modes.override.segment == PREFIX_DEFAULT) in FPU_get_address_16() [all …]
|
D | load_store.c | 67 int FPU_load_store(u_char type, fpu_addr_modes addr_modes, in FPU_load_store() argument 78 if (addr_modes.default_mode & PROTECTED) { in FPU_load_store() 79 if (addr_modes.default_mode == SEG32) { in FPU_load_store() 82 } else if (addr_modes.default_mode == PM16) { in FPU_load_store() 238 fldenv(addr_modes, (u_char __user *) data_address); in FPU_load_store() 243 FPU_frstor(addr_modes, (u_char __user *) data_address); in FPU_load_store() 280 fstenv(addr_modes, (u_char __user *) data_address); in FPU_load_store() 283 fsave(addr_modes, (u_char __user *) data_address); in FPU_load_store()
|
D | fpu_entry.c | 105 fpu_addr_modes addr_modes; in math_emulate() local 130 addr_modes.default_mode = VM86; in math_emulate() 134 addr_modes.default_mode = 0; in math_emulate() 151 addr_modes.default_mode = SEG32; in math_emulate() 154 addr_modes.default_mode = PM16; in math_emulate() 167 &addr_modes.override)) { in math_emulate() 184 if (addr_modes.default_mode) { in math_emulate() 248 if ((addr_modes.default_mode & SIXTEEN) in math_emulate() 249 ^ (addr_modes.override.address_size == ADDR_SIZE_PREFIX)) in math_emulate() 252 &data_sel_off, addr_modes); in math_emulate() [all …]
|
D | fpu_proto.h | 88 fpu_addr_modes addr_modes); 91 fpu_addr_modes addr_modes); 93 extern int FPU_load_store(u_char type, fpu_addr_modes addr_modes, 146 extern u_char __user *fldenv(fpu_addr_modes addr_modes, u_char __user *s); 147 extern void FPU_frstor(fpu_addr_modes addr_modes, u_char __user *data_address); 148 extern u_char __user *fstenv(fpu_addr_modes addr_modes, u_char __user *d); 149 extern void fsave(fpu_addr_modes addr_modes, u_char __user *data_address);
|
D | reg_ld_str.c | 1027 u_char __user *fldenv(fpu_addr_modes addr_modes, u_char __user *s) in fldenv() argument 1033 if ((addr_modes.default_mode == VM86) || in fldenv() 1034 ((addr_modes.default_mode == PM16) in fldenv() 1035 ^ (addr_modes.override.operand_size == OP_SIZE_PREFIX))) { in fldenv() 1051 if (addr_modes.default_mode == VM86) { in fldenv() 1120 void FPU_frstor(fpu_addr_modes addr_modes, u_char __user *data_address) in FPU_frstor() argument 1123 u_char __user *s = fldenv(addr_modes, data_address); in FPU_frstor() 1143 u_char __user *fstenv(fpu_addr_modes addr_modes, u_char __user *d) in fstenv() argument 1145 if ((addr_modes.default_mode == VM86) || in fstenv() 1146 ((addr_modes.default_mode == PM16) in fstenv() [all …]
|