Merge tag 'efi-2020-07-rc4' of https://gitlab.denx.de/u-boot/custodians/u-boot-efi
Pull request for UEFI sub-system for efi-2020-07-rc4 This patch series addresses the following issues: * allow compiling with clang * add missing function descriptions to the HTML documentation * simplify the validation of UEFI images * validate load options in the UEFI boot manager In a preparatory patch a structure definition is moved.
This commit is contained in:
@@ -117,4 +117,13 @@ static inline gd_t *get_gd(void)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
static inline void set_gd(volatile gd_t *gd_ptr)
|
||||
{
|
||||
#ifdef CONFIG_ARM64
|
||||
__asm__ volatile("ldr x18, %0\n" : : "m"(gd_ptr));
|
||||
#else
|
||||
__asm__ volatile("ldr r9, %0\n" : : "m"(gd_ptr));
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif /* __ASM_GBL_DATA_H */
|
||||
|
||||
Reference in New Issue
Block a user