/kernel/linux/linux-5.10/arch/x86/math-emu/ |
H A D | fpu_entry.c | 103 u_char FPU_modrm, byte1; in math_emulate() local 206 FPU_get_user(FPU_modrm, (u_char __user *) FPU_EIP); in math_emulate() 217 code = (FPU_modrm << 8) | byte1; in math_emulate() 240 entry_sel_off.opcode = (byte1 << 8) | FPU_modrm; in math_emulate() 243 FPU_rm = FPU_modrm & 7; in math_emulate() 245 if (FPU_modrm < 0300) { in math_emulate() 251 FPU_get_address_16(FPU_modrm, &FPU_EIP, in math_emulate() 255 FPU_get_address(FPU_modrm, &FPU_EIP, &data_sel_off, in math_emulate() 323 if ((FPU_modrm & 0x30) == 0x10) { in math_emulate() 327 if ((FPU_modrm in math_emulate() [all...] |
H A D | get_address.c | 137 static long pm_address(u_char FPU_modrm, u_char segment, in pm_address() argument 188 (!seg_writable(&descriptor) && (FPU_modrm & FPU_WRITE_BIT))) { in pm_address() 210 void __user *FPU_get_address(u_char FPU_modrm, unsigned long *fpu_eip, in FPU_get_address() argument 214 unsigned rm = FPU_modrm & 7; in FPU_get_address() 220 if (!addr_modes.default_mode && (FPU_modrm & FPU_WRITE_BIT) in FPU_get_address() 227 mod = (FPU_modrm >> 6) & 3; in FPU_get_address() 285 address = pm_address(FPU_modrm, addr_modes.override.segment, in FPU_get_address() 295 void __user *FPU_get_address_16(u_char FPU_modrm, unsigned long *fpu_eip, in FPU_get_address_16() argument 299 unsigned rm = FPU_modrm & 7; in FPU_get_address_16() 304 if (!addr_modes.default_mode && (FPU_modrm in FPU_get_address_16() [all...] |
H A D | errors.c | 40 u_char byte1, FPU_modrm; 55 FPU_get_user(FPU_modrm, 1 + (u_char __user *) address); 57 if (FPU_modrm >= 0300) 58 printk("%02x (%02x+%d)\n", FPU_modrm, FPU_modrm & 0xf8, 59 FPU_modrm & 7); 61 printk("/%d\n", (FPU_modrm >> 3) & 7); 88 u_char byte1, FPU_modrm; in FPU_printall() local 108 FPU_get_user(FPU_modrm, 1 + (u_char __user *) address); in FPU_printall() 110 if (FPU_modrm > in FPU_printall() [all...] |
H A D | fpu_proto.h | 86 extern void __user *FPU_get_address(u_char FPU_modrm, unsigned long *fpu_eip, 89 extern void __user *FPU_get_address_16(u_char FPU_modrm, unsigned long *fpu_eip,
|
/kernel/linux/linux-6.6/arch/x86/math-emu/ |
H A D | fpu_entry.c | 104 u_char FPU_modrm, byte1; in math_emulate() local 207 FPU_get_user(FPU_modrm, (u_char __user *) FPU_EIP); in math_emulate() 218 code = (FPU_modrm << 8) | byte1; in math_emulate() 241 entry_sel_off.opcode = (byte1 << 8) | FPU_modrm; in math_emulate() 244 FPU_rm = FPU_modrm & 7; in math_emulate() 246 if (FPU_modrm < 0300) { in math_emulate() 252 FPU_get_address_16(FPU_modrm, &FPU_EIP, in math_emulate() 256 FPU_get_address(FPU_modrm, &FPU_EIP, &data_sel_off, in math_emulate() 324 if ((FPU_modrm & 0x30) == 0x10) { in math_emulate() 328 if ((FPU_modrm in math_emulate() [all...] |
H A D | get_address.c | 137 static long pm_address(u_char FPU_modrm, u_char segment, in pm_address() argument 188 (!seg_writable(&descriptor) && (FPU_modrm & FPU_WRITE_BIT))) { in pm_address() 210 void __user *FPU_get_address(u_char FPU_modrm, unsigned long *fpu_eip, in FPU_get_address() argument 214 unsigned rm = FPU_modrm & 7; in FPU_get_address() 220 if (!addr_modes.default_mode && (FPU_modrm & FPU_WRITE_BIT) in FPU_get_address() 227 mod = (FPU_modrm >> 6) & 3; in FPU_get_address() 285 address = pm_address(FPU_modrm, addr_modes.override.segment, in FPU_get_address() 295 void __user *FPU_get_address_16(u_char FPU_modrm, unsigned long *fpu_eip, in FPU_get_address_16() argument 299 unsigned rm = FPU_modrm & 7; in FPU_get_address_16() 304 if (!addr_modes.default_mode && (FPU_modrm in FPU_get_address_16() [all...] |
H A D | errors.c | 40 u_char byte1, FPU_modrm; 55 FPU_get_user(FPU_modrm, 1 + (u_char __user *) address); 57 if (FPU_modrm >= 0300) 58 printk("%02x (%02x+%d)\n", FPU_modrm, FPU_modrm & 0xf8, 59 FPU_modrm & 7); 61 printk("/%d\n", (FPU_modrm >> 3) & 7); 88 u_char byte1, FPU_modrm; in FPU_printall() local 108 FPU_get_user(FPU_modrm, 1 + (u_char __user *) address); in FPU_printall() 110 if (FPU_modrm > in FPU_printall() [all...] |
H A D | fpu_proto.h | 86 extern void __user *FPU_get_address(u_char FPU_modrm, unsigned long *fpu_eip, 89 extern void __user *FPU_get_address_16(u_char FPU_modrm, unsigned long *fpu_eip,
|