Home
last modified time | relevance | path

Searched refs:user_state (Results 1 – 2 of 2) sorted by relevance

/hal_xtensa-latest/src/hal/
Ddebug.c354 unsigned int xthal_get_npc(XTHAL_STATE *user_state) in xthal_get_npc() argument
358 inst_type = xthal_inst_type((void *)user_state->pc); in xthal_get_npc()
360 npc = user_state->pc + 3; in xthal_get_npc()
362 npc = user_state->pc + 2; in xthal_get_npc()
376 npc = (user_state->pc&0xc0000000)+(user_state->ar[0]&0x3fffffff); in xthal_get_npc()
387 return user_state->ar[inst_type>>28]; in xthal_get_npc()
389 return xthal_branch_addr((void *)user_state->pc); in xthal_get_npc()
395 memcpy(&inst, (void *)user_state->pc, 2); in xthal_get_npc()
414 branch_taken = (user_state->ar[(inst>>4)&0xf]!=0); in xthal_get_npc()
416 branch_taken = (user_state->ar[(inst>>4)&0xf]==0); in xthal_get_npc()
[all …]
/hal_xtensa-latest/include/xtensa/
Dhal.h1509 extern unsigned int xthal_get_npc(XTHAL_STATE *user_state);