patch-2.4.18 linux/include/asm-s390/ptrace.h
Next file: linux/include/asm-s390/s390-gdbregs.h
Previous file: linux/include/asm-s390/processor.h
Back to the patch index
Back to the overall index
- Lines: 95
- Date:
Fri Dec 21 16:25:31 2001
- Orig file:
linux.orig/include/asm-s390/ptrace.h
- Orig date:
Mon Feb 18 20:18:40 2002
diff -Naur -X /home/marcelo/lib/dontdiff linux.orig/include/asm-s390/ptrace.h linux/include/asm-s390/ptrace.h
@@ -118,7 +118,7 @@
{
__u32 mask;
__u32 addr;
-} psw_t __attribute__ ((aligned(8)));
+} __attribute__ ((aligned(8))) psw_t;
#ifdef __KERNEL__
#define FIX_PSW(addr) ((unsigned long)(addr)|0x80000000UL)
@@ -150,8 +150,8 @@
#define FPC_VALID_MASK 0xF8F8FF03
/*
- * The first entries in pt_regs, gdb_pt_regs and user_regs_struct
- * are common for all three structures. The s390_regs structure
+ * The first entries in pt_regs and user_regs_struct
+ * are common for the two structures. The s390_regs structure
* covers the common parts. It simplifies copying the common part
* between the three structures.
*/
@@ -178,30 +178,12 @@
};
/*
- * The gdb_pt_regs struct is used instead of the pt_regs structure
- * if kernel remote debugging is used.
- */
-#if CONFIG_REMOTE_DEBUG
-struct gdb_pt_regs
-{
- psw_t psw;
- __u32 gprs[NUM_GPRS];
- __u32 acrs[NUM_ACRS];
- __u32 orig_gpr2;
- __u32 trap;
- __u32 crs[16];
- s390_fp_regs fp_regs;
- __u32 old_ilc;
-};
-#endif
-
-/*
* Now for the program event recording (trace) definitions.
*/
typedef struct
{
__u32 cr[3];
-} per_cr_words __attribute__((packed));
+} per_cr_words;
#define PER_EM_MASK 0xE8000000
@@ -223,14 +205,14 @@
unsigned : 21;
addr_t starting_addr;
addr_t ending_addr;
-} per_cr_bits __attribute__((packed));
+} per_cr_bits;
typedef struct
{
__u16 perc_atmid; /* 0x096 */
__u32 address; /* 0x098 */
__u8 access_id; /* 0x0a1 */
-} per_lowcore_words __attribute__((packed));
+} per_lowcore_words;
typedef struct
{
@@ -249,14 +231,14 @@
addr_t address; /* 0x098 */
unsigned : 4; /* 0x0a1 */
unsigned access_id : 4;
-} per_lowcore_bits __attribute__((packed));
+} per_lowcore_bits;
typedef struct
{
union {
per_cr_words words;
per_cr_bits bits;
- } control_regs __attribute__((packed));
+ } control_regs;
/*
* Use these flags instead of setting em_instruction_fetch
* directly they are used so that single stepping can be
@@ -275,7 +257,7 @@
per_lowcore_words words;
per_lowcore_bits bits;
} lowcore;
-} per_struct __attribute__((packed));
+} per_struct;
typedef struct
{
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)