mirror of
https://github.com/rhboot/gnu-efi
synced 2026-08-26 00:26:04 -04:00
Add C++ extern C header markers
Signed-off-by: Callum Farmer <gmbr3@opensuse.org>
This commit is contained in:
parent
53b89f528d
commit
5e85f477fb
2 changed files with 16 additions and 0 deletions
|
|
@ -33,6 +33,10 @@ Revision History
|
|||
#ifndef _EFI_INCLUDE_
|
||||
#define _EFI_INCLUDE_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define EFI_FIRMWARE_VENDOR L"INTEL"
|
||||
#define EFI_FIRMWARE_MAJOR_REVISION 12
|
||||
#define EFI_FIRMWARE_MINOR_REVISION 33
|
||||
|
|
@ -79,4 +83,8 @@ Revision History
|
|||
#include "efipoint.h"
|
||||
#include "efishell.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -19,6 +19,10 @@ Revision History
|
|||
|
||||
--*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "efidebug.h"
|
||||
#include "efipart.h"
|
||||
#if defined(_M_X64) || defined(__x86_64__) || defined(__amd64__)
|
||||
|
|
@ -1078,4 +1082,8 @@ extern EFI_DEVICE_IO_INTERFACE *GlobalIoFncs;
|
|||
|
||||
#define Port80(_PostCode) GlobalIoFncs->Io.Write (GlobalIoFncs, IO_UINT16, (UINT64)0x80, 1, &(_PostCode))
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue