|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v2] Mini-OS: add some macros for asm statements
On 22.07.24 09:15, Jan Beulich wrote: On 19.07.2024 17:57, Juergen Gross wrote: Yes, indeed. @@ -119,20 +113,12 @@ struct thread* arch_create_thread(char *name, void (*function)(void *),void run_idle_thread(void) No, not really. I took Andrew's suggestion verbatim. As an aside, I think the construct is slightly problematic: In principle the compiler could make a copy of idle_thread->ip on the stack. (It won't normally, for code efficiency reasons.) That would break with the earlier change of the stack pointer. Using an "r" constraint would perhaps be better there. Yet if so wanted, that would certainly be a separate change. With the adjustments (or respective clarifications as to style intentions), which I'd be fine making while committing so long as you agree: Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx> Thanks. I agree with the suggested changes (to spell it out explicitly: I meant to use Xen coding style, as this is the Mini-OS style, too). Juergen
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |