| 
									
										
										
										
											2008-10-22 22:26:29 -07:00
										 |  |  | #ifndef _ASM_X86_MATH_EMU_H
 | 
					
						
							|  |  |  | #define _ASM_X86_MATH_EMU_H
 | 
					
						
							| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-02-09 22:17:39 +09:00
										 |  |  | #include <asm/ptrace.h>
 | 
					
						
							|  |  |  | #include <asm/vm86.h>
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | /* 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. | 
					
						
							|  |  |  |    */ | 
					
						
							| 
									
										
										
										
											2009-02-09 22:17:39 +09:00
										 |  |  | struct math_emu_info { | 
					
						
							| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | 	long ___orig_eip; | 
					
						
							| 
									
										
										
										
											2009-02-09 22:17:39 +09:00
										 |  |  | 	union { | 
					
						
							| 
									
										
										
										
											2009-02-09 22:17:39 +09:00
										 |  |  | 		struct pt_regs *regs; | 
					
						
							|  |  |  | 		struct kernel_vm86_regs *vm86; | 
					
						
							| 
									
										
										
										
											2009-02-09 22:17:39 +09:00
										 |  |  | 	}; | 
					
						
							| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | }; | 
					
						
							| 
									
										
										
										
											2008-10-22 22:26:29 -07:00
										 |  |  | #endif /* _ASM_X86_MATH_EMU_H */
 |