RTEMS | Add AArch64 Xen support and dependencies (!535)

Gedare Bloom (@gedare) gitlab at rtems.org
Sat Jun 28 14:59:20 UTC 2025




Gedare Bloom commented on a discussion on cpukit/score/cpu/aarch64/aarch64-exception-default.S: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/535#note_125516

 > +#define JUMP_REG(reg_num) x##reg_num
 > +#endif
 > +
 >  	.macro	JUMP_HANDLER
 > -/* Mask to use in BIC, lower 7 bits */
 > -	mov x0, #0x7f
 > -/* LR contains PC, mask off to the base of the current vector */
 > -	bic x0,	lr,	x0
 > -/* Load address from the last word in the vector */
 > -	ldr x0,	[x0,	#0x78]
 > +/* x0 holds the address of the variable that holds the jump target */
 > +	ldr JUMP_REG(0), [x0]
 >  /*
 >   * Branch and link to the address in x0. There is no reason to save the current
 > - * LR since it has already been saved and the current contents are junk.
 > + * LR since it has already been saved.

@joel I don't think we have anything documented about this. I don't exactly understand the request.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/535#note_125516
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250628/b2488a20/attachment-0001.htm>


More information about the bugs mailing list