VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/VBoxPkg/Include/Guid/VBoxFsBlessedFileInfo.h@ 85805

Last change on this file since 85805 was 82968, checked in by vboxsync, 5 years ago

Copyright year updates by scm.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id Revision
File size: 1.7 KB
Line 
1/* $Id */
2/** @file
3 * Provides a GUID and a data structure that can be used with EFI_FILE_PROTOCOL.GetInfo()
4 * or EFI_FILE_PROTOCOL.SetInfo() to get or set the system's volume blessed file (for booting).
5 */
6
7/*
8 * Copyright (C) 2019-2020 Oracle Corporation
9 *
10 * This file is part of VirtualBox Open Source Edition (OSE), as
11 * available from http://www.virtualbox.org. This file is free software;
12 * you can redistribute it and/or modify it under the terms of the GNU
13 * General Public License (GPL) as published by the Free Software
14 * Foundation, in version 2 as it comes in the "COPYING" file of the
15 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
16 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
17 *
18 * The contents of this file may alternatively be used under the terms
19 * of the Common Development and Distribution License Version 1.0
20 * (CDDL) only, as it comes in the "COPYING.CDDL" file of the
21 * VirtualBox OSE distribution, in which case the provisions of the
22 * CDDL are applicable instead of those of the GPL.
23 *
24 * You may elect to license modified versions of this file under the
25 * terms and conditions of either the GPL or the CDDL or both.
26 */
27
28#ifndef __VBOX_FS_BLESSED_FILE_INFO_H__
29#define __VBOX_FS_BLESSED_FILE_INFO_H__
30
31#define VBOX_FS_BLESSED_FILE_ID \
32 { \
33 0xCC49FEFD, 0x41B7, 0x9823, { 0x98, 0x23, 0x0E, 0x8E, 0xBF, 0x35, 0x67, 0x7D } \
34 }
35
36typedef struct {
37 ///
38 /// The Null-terminated string that is the volume's label.
39 ///
40 CHAR16 BlessedFile[1];
41} VBOX_FS_BLESSED_FILE;
42
43#define SIZE_OF_VBOX_FS_BLESSED_FILE \
44 OFFSET_OF (VBOX_FS_BLESSED_FILE, BlessedFile)
45
46extern EFI_GUID gVBoxFsBlessedFileInfoGuid;
47
48#endif
Note: See TracBrowser for help on using the repository browser.

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