[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH 3/3] x86/trampoline: Collect other scattered trampoline symbols
On Thu, Sep 5, 2024 at 5:10 PM Andrew Cooper <andrew.cooper3@xxxxxxxxxx> wrote: On 05/09/2024 4:42 pm, Jan Beulich wrote: Not strictly necessary, I can declare in the C file as they were declared in efi-boot.h (which is more a .c file as an header as Jan said). I think the idea of declaring into a source file is that if another file wants to use it has to declare it again, so a bit more friction. But any access to trampoline variables should be considered as something to limit in any case, so having in a separate header helps (this does not mean that removing from the header is still increasing the friction). Personally, I'm not strong about the 2 options here. Slightly prefer having all variable declared in a single header. The only reason efi-boot.h can get away with this right now is because Frediano
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |