diff options
author | Michael Brown | 2016-02-19 00:23:38 +0100 |
---|---|---|
committer | Michael Brown | 2016-02-19 00:23:38 +0100 |
commit | 31b5c2e753dbcb3d5023bccc8e644d0bcb56b2ad (patch) | |
tree | 536967f3f34fba94970a31cbde3fe1d2cf657cce /src/arch/x86_64/include/bits | |
parent | [librm] Convert prot_call() to a real-mode near call (diff) | |
download | ipxe-31b5c2e753dbcb3d5023bccc8e644d0bcb56b2ad.tar.gz ipxe-31b5c2e753dbcb3d5023bccc8e644d0bcb56b2ad.tar.xz ipxe-31b5c2e753dbcb3d5023bccc8e644d0bcb56b2ad.zip |
[librm] Provide an abstraction wrapper for prot_call
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch/x86_64/include/bits')
-rw-r--r-- | src/arch/x86_64/include/bits/compiler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86_64/include/bits/compiler.h b/src/arch/x86_64/include/bits/compiler.h index f70b2e51..98c560e7 100644 --- a/src/arch/x86_64/include/bits/compiler.h +++ b/src/arch/x86_64/include/bits/compiler.h @@ -7,7 +7,7 @@ #ifndef ASSEMBLY /** Declare a function with standard calling conventions */ -#define __asmcall __attribute__ (( regparm(0) )) +#define __asmcall __attribute__ (( used, regparm(0) )) /** Declare a function with libgcc implicit linkage */ #define __libgcc |