patch-2.4.27 linux-2.4.27/include/asm-ia64/ia32.h
Next file: linux-2.4.27/include/asm-ia64/system.h
Previous file: linux-2.4.27/include/asm-ia64/acpi.h
Back to the patch index
Back to the overall index
- Lines: 53
- Date:
2004-08-07 16:26:06.161408700 -0700
- Orig file:
linux-2.4.26/include/asm-ia64/ia32.h
- Orig date:
2003-11-28 10:26:21.000000000 -0800
diff -urN linux-2.4.26/include/asm-ia64/ia32.h linux-2.4.27/include/asm-ia64/ia32.h
@@ -377,7 +377,6 @@
#define IA32_TSS_OFFSET (IA32_PAGE_OFFSET + PAGE_SIZE)
#define IA32_LDT_OFFSET (IA32_PAGE_OFFSET + 2*PAGE_SIZE)
-#define USE_ELF_CORE_DUMP
#define ELF_EXEC_PAGESIZE IA32_PAGE_SIZE
/*
@@ -395,20 +394,6 @@
#define elf_addr_t u32
#define elf_caddr_t u32
-/* ELF register definitions. This is needed for core dump support. */
-
-#define ELF_NGREG 128 /* XXX fix me */
-#define ELF_NFPREG 128 /* XXX fix me */
-
-typedef unsigned long elf_greg_t;
-typedef elf_greg_t elf_gregset_t[ELF_NGREG];
-
-typedef struct {
- unsigned long w0;
- unsigned long w1;
-} elf_fpreg_t;
-typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG];
-
/* This macro yields a bitmask that programs can use to figure out
what instruction set this CPU supports. */
#define ELF_HWCAP 0
@@ -558,6 +543,23 @@
asm volatile ("ldf.fill f6=[%2];; stfe [%1]=f6" : "=f"(f6): "r"(dst), "r"(src) : "memory"); \
} while(0)
+struct user_regs_struct32 {
+ __u32 ebx, ecx, edx, esi, edi, ebp, eax;
+ unsigned short ds, __ds, es, __es;
+ unsigned short fs, __fs, gs, __gs;
+ __u32 orig_eax, eip;
+ unsigned short cs, __cs;
+ __u32 eflags, esp;
+ unsigned short ss, __ss;
+};
+
+/* Prototypes for use in elfcore32.h */
+int save_ia32_fpstate (struct task_struct *tsk,
+ struct ia32_user_i387_struct *save);
+
+int save_ia32_fpxstate (struct task_struct *tsk,
+ struct ia32_user_fxsr_struct *save);
+
#endif /* !CONFIG_IA32_SUPPORT */
#endif /* _ASM_IA64_IA32_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)