| 68 | } |
| 69 | |
| 70 | int |
| 71 | stack_put(struct stack *st, vm_offset_t pc) |
| 72 | { |
| 73 | |
| 74 | if (st->depth < STACK_MAX) { |
| 75 | st->pcs[st->depth++] = pc; |
| 76 | return (0); |
| 77 | } else |
| 78 | return (-1); |
| 79 | } |
| 80 | |
| 81 | void |
| 82 | stack_copy(const struct stack *src, struct stack *dst) |
no outgoing calls
no test coverage detected