Changeset View
Changeset View
Standalone View
Standalone View
stand/efi/include/amd64/efibind.h
Show First 20 Lines • Show All 161 Lines • ▼ Show 20 Lines | |||||
#ifdef __amd64__ | #ifdef __amd64__ | ||||
#define EFIAPI __attribute__((ms_abi)) | #define EFIAPI __attribute__((ms_abi)) | ||||
#endif | #endif | ||||
#ifndef EFIAPI // Forces EFI calling conventions reguardless of compiler options | #ifndef EFIAPI // Forces EFI calling conventions reguardless of compiler options | ||||
#ifdef _MSC_EXTENSIONS | #ifdef _MSC_EXTENSIONS | ||||
#define EFIAPI __cdecl // Force C calling convention for Microsoft C compiler | #define EFIAPI __cdecl // Force C calling convention for Microsoft C compiler | ||||
#else | #else | ||||
#define EFIAPI // Substitute expresion to force C calling convention | #define EFIAPI // Substitute expression to force C calling convention | ||||
#endif | #endif | ||||
#endif | #endif | ||||
#define BOOTSERVICE | #define BOOTSERVICE | ||||
//#define RUNTIMESERVICE(proto,a) alloc_text("rtcode",a); proto a | //#define RUNTIMESERVICE(proto,a) alloc_text("rtcode",a); proto a | ||||
//#define RUNTIMEFUNCTION(proto,a) alloc_text("rtcode",a); proto a | //#define RUNTIMEFUNCTION(proto,a) alloc_text("rtcode",a); proto a | ||||
#define RUNTIMESERVICE | #define RUNTIMESERVICE | ||||
#define RUNTIMEFUNCTION | #define RUNTIMEFUNCTION | ||||
▲ Show 20 Lines • Show All 93 Lines • Show Last 20 Lines |