xiaoxiang781216 commented on pull request #5782: URL: https://github.com/apache/incubator-nuttx/pull/5782#issuecomment-1072435526
> Only the machine timer interrupt is handled in M-mode. Machine mode timer is used as follows: > > * The timer reload happens in M-mode ISR > * The event is dispatched to S-mode ISR, which will notify the kernel > to advance time Why not directly handle timer interrupt in S-mode? > * For some reason clearing the interrupt does not work from S-mode, so > created a call gate to clear the interrupt in M-mode > Could we find the root cause? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org