VirtualBox

Ignore:
Timestamp:
Mar 12, 2019 12:40:12 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
129295
Message:

EFI: First step in UDK2018 merge. Does not build yet.

Location:
trunk/src/VBox/Devices/EFI/FirmwareNew
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/FirmwareNew

  • trunk/src/VBox/Devices/EFI/FirmwareNew/MdePkg/Include/AArch64/ProcessorBind.h

    r58466 r77662  
    22  Processor or Compiler specific defines and types for AArch64.
    33
    4   Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
     4  Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>
    55  Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
    66  Portions copyright (c) 2011 - 2013, ARM Ltd. All rights reserved.<BR>
     
    2727// Make sure we are using the correct packing rules per EFI specification
    2828//
    29 #ifndef __GNUC__
     29#if !defined(__GNUC__) && !defined(__ASSEMBLER__)
    3030#pragma pack()
    3131#endif
     
    3333#if _MSC_EXTENSIONS
    3434  //
    35   // use Microsoft* C complier dependent integer width types
     35  // use Microsoft* C compiler dependent integer width types
    3636  //
    3737  typedef unsigned __int64    UINT64;
     
    101101
    102102///
     103/// Minimum legal AArch64 INTN value.
     104///
     105#define MIN_INTN   (((INTN)-9223372036854775807LL) - 1)
     106
     107///
    103108/// The stack alignment required for AARCH64
    104109///
    105110#define CPU_STACK_ALIGNMENT  16
     111
     112///
     113/// Page allocation granularity for AARCH64
     114///
     115#define DEFAULT_PAGE_ALLOCATION_GRANULARITY   (0x1000)
     116#define RUNTIME_PAGE_ALLOCATION_GRANULARITY   (0x10000)
    106117
    107118//
     
    112123#define EFIAPI
    113124
    114 #if defined(__GNUC__)
     125// When compiling with Clang, we still use GNU as for the assembler, so we still
     126// need to define the GCC_ASM* macros.
     127#if defined(__GNUC__) || defined(__clang__)
    115128  ///
    116129  /// For GNU assembly code, .global or .globl can declare global symbols.
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette