src/sys/arm/arm/unwind.c
/* Reads the next byte from the instruction list */
Reads the next byte from the instruction list
Reads the next byte from the instruction list
static uint8_t
unwind_exec_read_byte(struct unwind_state *state)
{
	uint8_t insn;
	insn = (*state->insn) >> (state->byte * 8);
	if (state->byte == 0) {
		state->byte = 3;
		state->insn++;
		state->entries--;
	} else
		state->byte--;
	return insn;
}
static uint8_t unwind_exec_read_byte ( struct unwind_state * state ) { uint8_t insn ; insn = ( * state -> insn ) >> ( state -> byte * 8 ) ; if ( state -> byte == 0 ) { state -> byte = 3 ; state -> insn ++ ; state -> entries -- ; } else state -> byte -- ; return insn ; }
Reads the next byte from the instruction list
Reads the next byte from the instruction list
/* Read the unwind instruction */ /* Update the location of the next instruction */