<commit_before>#ifndef _I386_MATH_EMU_H
#define _I386_MATH_EMU_H

#include <asm/sigcontext.h>

int restore_i387_soft(void *s387, struct _fpstate __user *buf);
int save_i387_soft(void *s387, struct _fpstate __user *buf);

/* This structure matches the layout of the data saved to the stack
   following a device-not-present interrupt, part of it saved
   automatically by the 80386/80486.
   */
struct info {
	long ___orig_eip;
	long ___ebx;
	long ___ecx;
	long ___edx;
	long ___esi;
	long ___edi;
	long ___ebp;
	long ___eax;
	long ___ds;
	long ___es;
	long ___orig_eax;
	long ___eip;<commit_msg>[PATCH] i386: PDA: Fix math emulator for new pt_regs<commit_after>#ifndef _I386_MATH_EMU_H
#define _I386_MATH_EMU_H

#include <asm/sigcontext.h>

int restore_i387_soft(void *s387, struct _fpstate __user *buf);
int save_i387_soft(void *s387, struct _fpstate __user *buf);

/* This structure matches the layout of the data saved to the stack
   following a device-not-present interrupt, part of it saved
   automatically by the 80386/80486.
   */
struct info {
	long ___orig_eip;
	long ___ebx;
	long ___ecx;
	long ___edx;
	long ___esi;
	long ___edi;
	long ___ebp;
	long ___eax;
	long ___ds;
	long ___es;
	long ___fs;
	long ___orig_eax;
	long ___eip;
{'fraction_non_alphanumeric': 0.0748792270531401, 'fraction_numerical': 0.04750402576489533, 'mean_word_length': 4.65, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3279633', 'n_tokens_mistral': 517, 'n_tokens_neox': 472, 'n_words': 149}