patch-2.4.19 linux-2.4.19/arch/ia64/kernel/unwind_i.h
Next file: linux-2.4.19/arch/ia64/lib/swiotlb.c
Previous file: linux-2.4.19/arch/ia64/kernel/unwind.c
Back to the patch index
Back to the overall index
- Lines: 41
- Date:
Fri Aug 2 17:39:42 2002
- Orig file:
linux-2.4.18/arch/ia64/kernel/unwind_i.h
- Orig date:
Tue Jul 31 10:30:08 2001
diff -urN linux-2.4.18/arch/ia64/kernel/unwind_i.h linux-2.4.19/arch/ia64/kernel/unwind_i.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2000 Hewlett-Packard Co
- * Copyright (C) 2000 David Mosberger-Tang <davidm@hpl.hp.com>
+ * Copyright (C) 2000, 2002 Hewlett-Packard Co
+ * David Mosberger-Tang <davidm@hpl.hp.com>
*
* Kernel unwind support.
*/
@@ -85,6 +85,17 @@
int when; /* when the register gets saved */
};
+struct unw_reg_state {
+ struct unw_reg_state *next; /* next (outer) element on state stack */
+ struct unw_reg_info reg[UNW_NUM_REGS]; /* register save locations */
+};
+
+struct unw_labeled_state {
+ struct unw_labeled_state *next; /* next labeled state (or NULL) */
+ unsigned long label; /* label for this state */
+ struct unw_reg_state saved_state;
+};
+
struct unw_state_record {
unsigned int first_region : 1; /* is this the first region? */
unsigned int done : 1; /* are we done scanning descriptors? */
@@ -105,11 +116,8 @@
u8 gr_save_loc; /* next general register to use for saving a register */
u8 return_link_reg; /* branch register in which the return link is passed */
- struct unw_reg_state {
- struct unw_reg_state *next;
- unsigned long label; /* label of this state record */
- struct unw_reg_info reg[UNW_NUM_REGS];
- } curr, *stack, *reg_state_list;
+ struct unw_labeled_state *labeled_states; /* list of all labeled states */
+ struct unw_reg_state curr; /* current state */
};
enum unw_nat_type {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)