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/Protocol/SimpleTextOut.h

    r58466 r77662  
    77  of multiple physical devices.
    88
    9 Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
     9Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>
    1010This program and the accompanying materials are licensed and made available under
    1111the terms and conditions of the BSD License that accompanies this distribution.
     
    116116#define EFI_LIGHTGRAY             (EFI_BLUE | EFI_GREEN | EFI_RED)
    117117#define EFI_BRIGHT                0x08
    118 #define EFI_DARKGRAY              (EFI_BRIGHT)
     118#define EFI_DARKGRAY              (EFI_BLACK | EFI_BRIGHT)
    119119#define EFI_LIGHTBLUE             (EFI_BLUE | EFI_BRIGHT)
    120120#define EFI_LIGHTGREEN            (EFI_GREEN | EFI_BRIGHT)
     
    125125#define EFI_WHITE                 (EFI_BLUE | EFI_GREEN | EFI_RED | EFI_BRIGHT)
    126126
    127 #define EFI_TEXT_ATTR(f, b)       ((f) | ((b) << 4))
     127//
     128// Macro to accept color values in their raw form to create
     129// a value that represents both a foreground and background
     130// color in a single byte.
     131// For Foreground, and EFI_* value is valid from EFI_BLACK(0x00) to
     132// EFI_WHITE (0x0F).
     133// For Background, only EFI_BLACK, EFI_BLUE, EFI_GREEN, EFI_CYAN,
     134// EFI_RED, EFI_MAGENTA, EFI_BROWN, and EFI_LIGHTGRAY are acceptable
     135//
     136// Do not use EFI_BACKGROUND_xxx values with this macro.
     137//
     138#define EFI_TEXT_ATTR(Foreground,Background) ((Foreground) | ((Background) << 4))
    128139
    129140#define EFI_BACKGROUND_BLACK      0x00
     
    150161
    151162  @param  This                 The protocol instance pointer.
    152   @param  ExtendedVerification Driver may perform more exhaustive verfication
     163  @param  ExtendedVerification Driver may perform more exhaustive verification
    153164                               operation of the device during reset.
    154165
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