Changeset View
Changeset View
Standalone View
Standalone View
stand/efi/include/arm64/efibind.h
Show First 20 Lines • Show All 155 Lines • ▼ Show 20 Lines | |||||
// RUNTIMEFUNCTION - prototype for implementation of a runtime function that is not a service | // RUNTIMEFUNCTION - prototype for implementation of a runtime function that is not a service | ||||
// RUNTIME_CODE - pragma macro for declaring runtime code | // RUNTIME_CODE - pragma macro for declaring runtime code | ||||
// | // | ||||
#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 | #define RUNTIMESERVICE | ||||
#define RUNTIMEFUNCTION | #define RUNTIMEFUNCTION | ||||
#define RUNTIME_CODE(a) alloc_text("rtcode", a) | #define RUNTIME_CODE(a) alloc_text("rtcode", a) | ||||
▲ Show 20 Lines • Show All 45 Lines • Show Last 20 Lines |