Add explicit sysv_abi on amd64 asm routines.
This commit is contained in:
parent
d99af4f0e8
commit
39711101fd
3 changed files with 12 additions and 8 deletions
|
@ -1,3 +1,7 @@
|
|||
2013-12-15 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Add explicit sysv_abi on amd64 asm routines.
|
||||
|
||||
2013-12-15 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/commands/efi/lsefisystab.c: Use %lld to show
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
typedef unsigned long grub_jmp_buf[8];
|
||||
|
||||
int grub_setjmp (grub_jmp_buf env) RETURNS_TWICE;
|
||||
void grub_longjmp (grub_jmp_buf env, int val) __attribute__ ((noreturn));
|
||||
int grub_setjmp (grub_jmp_buf env) RETURNS_TWICE __attribute__ ((sysv_abi));
|
||||
void grub_longjmp (grub_jmp_buf env, int val) __attribute__ ((noreturn,sysv_abi));
|
||||
|
||||
#endif /* ! GRUB_SETJMP_CPU_HEADER */
|
||||
|
|
|
@ -19,16 +19,16 @@
|
|||
#ifndef GRUB_XEN_CPU_HYPERCALL_HEADER
|
||||
#define GRUB_XEN_CPU_HYPERCALL_HEADER 1
|
||||
|
||||
int EXPORT_FUNC (grub_xen_sched_op) (int cmd, void *arg);
|
||||
int grub_xen_update_va_mapping (void *addr, uint64_t pte, uint64_t flags);
|
||||
int grub_xen_event_channel_op (int op, void *arg);
|
||||
int EXPORT_FUNC (grub_xen_sched_op) (int cmd, void *arg) __attribute__ ((sysv_abi));
|
||||
int grub_xen_update_va_mapping (void *addr, uint64_t pte, uint64_t flags) __attribute__ ((sysv_abi));
|
||||
int grub_xen_event_channel_op (int op, void *arg) __attribute__ ((sysv_abi));
|
||||
|
||||
int grub_xen_mmuext_op (mmuext_op_t * ops,
|
||||
unsigned int count,
|
||||
unsigned int *pdone, unsigned int foreigndom);
|
||||
unsigned int *pdone, unsigned int foreigndom) __attribute__ ((sysv_abi));
|
||||
int EXPORT_FUNC (grub_xen_mmu_update) (const struct mmu_update * reqs,
|
||||
unsigned count, unsigned *done_out,
|
||||
unsigned foreigndom);
|
||||
int EXPORT_FUNC (grub_xen_grant_table_op) (int, void *, int);
|
||||
unsigned foreigndom) __attribute__ ((sysv_abi));
|
||||
int EXPORT_FUNC (grub_xen_grant_table_op) (int, void *, int) __attribute__ ((sysv_abi));
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue