VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/VBoxPkg/VBoxFsDxe/VBoxFswParam.h@ 93115

Last change on this file since 93115 was 93115, checked in by vboxsync, 2 years ago

scm --update-copyright-year

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.7 KB
Line 
1/* $Id: VBoxFswParam.h 93115 2022-01-01 11:31:46Z vboxsync $ */
2/** @file
3 * VBoxFswParam.h
4 */
5
6/*
7 * Copyright (C) 2010-2022 Oracle Corporation
8 *
9 * This file is part of VirtualBox Open Source Edition (OSE), as
10 * available from http://www.virtualbox.org. This file is free software;
11 * you can redistribute it and/or modify it under the terms of the GNU
12 * General Public License (GPL) as published by the Free Software
13 * Foundation, in version 2 as it comes in the "COPYING" file of the
14 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16 *
17 * The contents of this file may alternatively be used under the terms
18 * of the Common Development and Distribution License Version 1.0
19 * (CDDL) only, as it comes in the "COPYING.CDDL" file of the
20 * VirtualBox OSE distribution, in which case the provisions of the
21 * CDDL are applicable instead of those of the GPL.
22 *
23 * You may elect to license modified versions of this file under the
24 * terms and conditions of either the GPL or the CDDL or both.
25 */
26
27#ifndef VBOXFSPARAM_H
28#define VBOXFSPARAM_H
29/*
30 * Here is common declarations for EDK<->EDK2 compatibility
31 */
32# include <Uefi.h>
33# include <Library/DebugLib.h>
34# include <Library/BaseLib.h>
35# include <Protocol/DriverBinding.h>
36# include <Library/BaseMemoryLib.h>
37# include <Library/UefiRuntimeServicesTableLib.h>
38# include <Library/UefiDriverEntryPoint.h>
39# include <Library/UefiBootServicesTableLib.h>
40# include <Library/MemoryAllocationLib.h>
41# include <Library/DevicePathLib.h>
42# include <Protocol/DevicePathFromText.h>
43# include <Protocol/DevicePathToText.h>
44# include <Protocol/DebugPort.h>
45# include <Protocol/DebugSupport.h>
46# include <Library/PrintLib.h>
47# include <Library/UefiLib.h>
48# include <Protocol/SimpleFileSystem.h>
49# include <Protocol/BlockIo.h>
50# include <Protocol/DiskIo.h>
51# include <Guid/FileSystemInfo.h>
52# include <Guid/FileInfo.h>
53# include <Guid/FileSystemVolumeLabelInfo.h>
54# include <Protocol/ComponentName.h>
55
56# include <Guid/VBoxFsBlessedFileInfo.h> /* For HFS blessed file support. */
57
58# define BS gBS
59# define PROTO_NAME(x) gEfi ## x ## Guid
60# define GUID_NAME(x) gEfi ## x ## Guid
61
62# define EFI_FILE_HANDLE_REVISION EFI_SIMPLE_FILE_SYSTEM_PROTOCOL_REVISION
63# define SIZE_OF_EFI_FILE_SYSTEM_VOLUME_LABEL_INFO SIZE_OF_EFI_FILE_SYSTEM_VOLUME_LABEL
64# define EFI_FILE_SYSTEM_VOLUME_LABEL_INFO EFI_FILE_SYSTEM_VOLUME_LABEL
65# define EFI_SIGNATURE_32(a, b, c, d) SIGNATURE_32(a, b, c, d)
66# define DivU64x32(x,y,z) DivU64x32((x),(y))
67
68
69INTN CompareGuidEdk1(
70 IN EFI_GUID *Guid1,
71 IN EFI_GUID *Guid2
72 );
73
74//#define CompareGuid(x, y) CompareGuidEdk1((x),(y))
75# define HOST_EFI 1
76//# define FSW_DEBUG_LEVEL 3
77
78int fsw_streq_ISO88591_UTF16(void *s1data, void *s2data, int len);
79#endif
Note: See TracBrowser for help on using the repository browser.

© 2023 Oracle
ContactPrivacy policyTerms of Use