RTEMS | x86_64/amd64: Add SMP support (!169)

Matheus Pecoraro (@mpec) gitlab at rtems.org
Wed Aug 7 18:29:54 UTC 2024




Matheus Pecoraro commented on a discussion on bsps/x86_64/amd64/interrupts/isr_handler.S: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/169#note_110683

 >    movq rsp, SAVED_RSP
 >  
 >    /* Make space for CPU_Interrupt_frame */
 > -  subq $CPU_INTERRUPT_FRAME_SIZE, rsp
 > +  subq $CPU_INTERRUPT_FRAME_CALLER_SAVED_SIZE, rsp
 >  .set ALIGNMENT_MASK, ~(CPU_STACK_ALIGNMENT - 1)
 >    andq $ALIGNMENT_MASK, rsp
 >    // XXX: Save interrupt mask?

To be honest I'm not sure what this comment even refers to. I would say it's not needed, should I remove it?

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/169#note_110683
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/20240807/fa677c4a/attachment.htm>


More information about the bugs mailing list