stack.h (23090366f729c56cab62de74c7a51792357e98a9) stack.h (6da235a325b8052870893e2f9520bbe080161fd7)
1/*-
2 * Copyright (c) 2000, 2001 Ben Harris
3 * Copyright (c) 1996 Scott K. Stevens
4 *
5 * Mach Operating System
6 * Copyright (c) 1991,1990 Carnegie Mellon University
7 * All Rights Reserved.
8 *

--- 25 unchanged lines hidden (view full) ---

34
35#define INKERNEL(va) (((vm_offset_t)(va)) >= VM_MIN_KERNEL_ADDRESS)
36
37#define FR_SCP (0)
38#define FR_RLV (-1)
39#define FR_RSP (-2)
40#define FR_RFP (-3)
41
1/*-
2 * Copyright (c) 2000, 2001 Ben Harris
3 * Copyright (c) 1996 Scott K. Stevens
4 *
5 * Mach Operating System
6 * Copyright (c) 1991,1990 Carnegie Mellon University
7 * All Rights Reserved.
8 *

--- 25 unchanged lines hidden (view full) ---

34
35#define INKERNEL(va) (((vm_offset_t)(va)) >= VM_MIN_KERNEL_ADDRESS)
36
37#define FR_SCP (0)
38#define FR_RLV (-1)
39#define FR_RSP (-2)
40#define FR_RFP (-3)
41
42/* The state of the unwind process */
43struct unwind_state {
44 uint32_t registers[16];
45 uint32_t start_pc;
46 uint32_t *insn;
47 u_int entries;
48 u_int byte;
49 uint16_t update_mask;
50};
51
52/* The register names */
53#define FP 11
54#define SP 13
55#define LR 14
56#define PC 15
57
58int unwind_stack_one(struct unwind_state *);
59
42#endif /* !_MACHINE_STACK_H_ */
60#endif /* !_MACHINE_STACK_H_ */