projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4e2302
)
stub: Be explicit about EFI handover calling convention
author
Jan Janssen
<medhefgo@web.de>
Tue, 20 Sep 2022 07:30:40 +0000
(09:30 +0200)
committer
Jan Janssen
<medhefgo@web.de>
Tue, 20 Sep 2022 10:55:43 +0000
(12:55 +0200)
src/boot/efi/linux_x86.c
patch
|
blob
|
history
diff --git
a/src/boot/efi/linux_x86.c
b/src/boot/efi/linux_x86.c
index 2502ce94b9a39650c735856a92722f94183c4dcf..a8607b00bf874e779c017bd5e3346aea688c3855 100644
(file)
--- a/
src/boot/efi/linux_x86.c
+++ b/
src/boot/efi/linux_x86.c
@@
-98,7
+98,8
@@
assert_cc(sizeof(BootParams) == 4096);
# define __regparm0__
#endif
-typedef void (*handover_f)(void *image, EFI_SYSTEM_TABLE *table, BootParams *params) __regparm0__;
+typedef void (*handover_f)(void *image, EFI_SYSTEM_TABLE *table, BootParams *params) __regparm0__
+ __attribute__((sysv_abi));
static void linux_efi_handover(EFI_HANDLE image, uintptr_t kernel, BootParams *params) {
assert(params);