VirtualBox

Ignore:
Timestamp:
Oct 28, 2015 8:17:18 PM (9 years ago)
Author:
vboxsync
Message:

EFI/Firmware: 'svn merge /vendor/edk2/UDK2010.SR1 /vendor/edk2/current .', reverting and removing files+dirs listed in ReadMe.vbox, resolving conflicts with help from ../UDK2014.SP1/. This is a raw untested merge.

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

Legend:

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

  • trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Protocol/DebugSupport.h

    r48674 r58459  
    11/** @file
    2   DebugSupport protocol and supporting definitions as defined in the UEFI2.0
     2  DebugSupport protocol and supporting definitions as defined in the UEFI2.4
    33  specification.
    44
     
    77
    88Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
     9Portions copyright (c) 2011 - 2013, ARM Ltd. All rights reserved.<BR>
     10
    911This program and the accompanying materials are licensed and made available under
    1012the terms and conditions of the BSD License that accompanies this distribution. 
     
    518520} EFI_SYSTEM_CONTEXT_ARM;
    519521
     522
     523///
     524///  AARCH64 processor exception types.
     525///
     526#define EXCEPT_AARCH64_SYNCHRONOUS_EXCEPTIONS    0
     527#define EXCEPT_AARCH64_IRQ                       1
     528#define EXCEPT_AARCH64_FIQ                       2
     529#define EXCEPT_AARCH64_SERROR                    3
     530
     531///
     532/// For coding convenience, define the maximum valid ARM exception.
     533///
     534#define MAX_AARCH64_EXCEPTION EXCEPT_AARCH64_SERROR
     535
     536typedef struct {
     537  // General Purpose Registers
     538  UINT64  X0;
     539  UINT64  X1;
     540  UINT64  X2;
     541  UINT64  X3;
     542  UINT64  X4;
     543  UINT64  X5;
     544  UINT64  X6;
     545  UINT64  X7;
     546  UINT64  X8;
     547  UINT64  X9;
     548  UINT64  X10;
     549  UINT64  X11;
     550  UINT64  X12;
     551  UINT64  X13;
     552  UINT64  X14;
     553  UINT64  X15;
     554  UINT64  X16;
     555  UINT64  X17;
     556  UINT64  X18;
     557  UINT64  X19;
     558  UINT64  X20;
     559  UINT64  X21;
     560  UINT64  X22;
     561  UINT64  X23;
     562  UINT64  X24;
     563  UINT64  X25;
     564  UINT64  X26;
     565  UINT64  X27;
     566  UINT64  X28;
     567  UINT64  FP;   // x29 - Frame pointer
     568  UINT64  LR;   // x30 - Link Register
     569  UINT64  SP;   // x31 - Stack pointer
     570
     571  // FP/SIMD Registers
     572  UINT64  V0[2];
     573  UINT64  V1[2];
     574  UINT64  V2[2];
     575  UINT64  V3[2];
     576  UINT64  V4[2];
     577  UINT64  V5[2];
     578  UINT64  V6[2];
     579  UINT64  V7[2];
     580  UINT64  V8[2];
     581  UINT64  V9[2];
     582  UINT64  V10[2];
     583  UINT64  V11[2];
     584  UINT64  V12[2];
     585  UINT64  V13[2];
     586  UINT64  V14[2];
     587  UINT64  V15[2];
     588  UINT64  V16[2];
     589  UINT64  V17[2];
     590  UINT64  V18[2];
     591  UINT64  V19[2];
     592  UINT64  V20[2];
     593  UINT64  V21[2];
     594  UINT64  V22[2];
     595  UINT64  V23[2];
     596  UINT64  V24[2];
     597  UINT64  V25[2];
     598  UINT64  V26[2];
     599  UINT64  V27[2];
     600  UINT64  V28[2];
     601  UINT64  V29[2];
     602  UINT64  V30[2];
     603  UINT64  V31[2];
     604
     605  UINT64  ELR;  // Exception Link Register
     606  UINT64  SPSR; // Saved Processor Status Register
     607  UINT64  FPSR; // Floating Point Status Register
     608  UINT64  ESR;  // Exception syndrome register
     609  UINT64  FAR;  // Fault Address Register
     610} EFI_SYSTEM_CONTEXT_AARCH64;
     611
     612
    520613///
    521614/// Universal EFI_SYSTEM_CONTEXT definition.
     
    527620  EFI_SYSTEM_CONTEXT_IPF  *SystemContextIpf;
    528621  EFI_SYSTEM_CONTEXT_ARM  *SystemContextArm;
     622  EFI_SYSTEM_CONTEXT_AARCH64  *SystemContextAArch64;
    529623} EFI_SYSTEM_CONTEXT;
    530624
     
    567661  IsaIpf  = IMAGE_FILE_MACHINE_IA64,           ///< 0x0200
    568662  IsaEbc  = IMAGE_FILE_MACHINE_EBC,            ///< 0x0EBC
    569   IsaArm  = IMAGE_FILE_MACHINE_ARMTHUMB_MIXED  ///< 0x01c2
     663  IsaArm  = IMAGE_FILE_MACHINE_ARMTHUMB_MIXED, ///< 0x01c2
     664  IsaAArch64  = IMAGE_FILE_MACHINE_ARM64       ///< 0xAA64
    570665} EFI_INSTRUCTION_SET_ARCHITECTURE;
    571666
Note: See TracChangeset for help on using the changeset viewer.

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