OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
MachoX.h File Reference
#include <Uefi.h>
#include <IndustryStandard/AppleMachoImage.h>
#include <IndustryStandard/AppleFatBinaryImage.h>
#include <Library/BaseLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/BaseOverflowLib.h>
#include <Library/DebugLib.h>
#include <Library/OcMachoLib.h>
#include "OcMachoLibInternal.h"

Go to the source code of this file.

Macros

#define MACH_UINT_X   UINT64
 
#define MACH_HEADER_X   MACH_HEADER_64
 
#define MACH_SECTION_X   MACH_SECTION_64
 
#define MACH_SEGMENT_COMMAND_X   MACH_SEGMENT_COMMAND_64
 
#define MACH_NLIST_X   MACH_NLIST_64
 
#define MACH_LOAD_COMMAND_SEGMENT_X   MACH_LOAD_COMMAND_SEGMENT_64
 
#define MACH_X(a)
 
#define MACH_ASSERT_X(a)
 
#define MACH_X_TO_UINT32(a)
 

Macro Definition Documentation

◆ MACH_ASSERT_X

#define MACH_ASSERT_X ( a)
Value:
ASSERT (!(a)->Is32Bit)
#define ASSERT(x)
Definition coder.h:55

Definition at line 63 of file MachoX.h.

◆ MACH_HEADER_X

#define MACH_HEADER_X   MACH_HEADER_64

Definition at line 55 of file MachoX.h.

◆ MACH_LOAD_COMMAND_SEGMENT_X

#define MACH_LOAD_COMMAND_SEGMENT_X   MACH_LOAD_COMMAND_SEGMENT_64

Definition at line 60 of file MachoX.h.

◆ MACH_NLIST_X

#define MACH_NLIST_X   MACH_NLIST_64

Definition at line 58 of file MachoX.h.

◆ MACH_SECTION_X

#define MACH_SECTION_X   MACH_SECTION_64

Definition at line 56 of file MachoX.h.

◆ MACH_SEGMENT_COMMAND_X

#define MACH_SEGMENT_COMMAND_X   MACH_SEGMENT_COMMAND_64

Definition at line 57 of file MachoX.h.

◆ MACH_UINT_X

#define MACH_UINT_X   UINT64

Mach-O library functions layer.

Copyright (C) 2020, Goldfish64. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php.

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.

Definition at line 54 of file MachoX.h.

◆ MACH_X

#define MACH_X ( a)
Value:
a##64

Definition at line 62 of file MachoX.h.

◆ MACH_X_TO_UINT32

#define MACH_X_TO_UINT32 ( a)
Value:
(UINT32)(a)

Definition at line 65 of file MachoX.h.