VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxFsDxe/VBoxFswParam.h@ 29921

Last change on this file since 29921 was 29125, checked in by vboxsync, 15 years ago

export more EFI files to OSE

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.2 KB
Line 
1/* $Id: VBoxFswParam.h 29125 2010-05-06 09:43:05Z vboxsync $ */
2/** @file
3 * VBoxFswParam.h
4 */
5
6/*
7 * Copyright (C) 2010 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
18#ifndef VBOXFSPARAM_H
19#define VBOXFSPARAM_H
20/*
21 * Here is common declarations for EDK<->EDK2 compatibility
22 */
23# include <Uefi.h>
24# include <Library/DebugLib.h>
25# include <Library/BaseLib.h>
26# include <Protocol/DriverBinding.h>
27# include <Library/BaseMemoryLib.h>
28# include <Library/UefiRuntimeServicesTableLib.h>
29# include <Library/UefiDriverEntryPoint.h>
30# include <Library/UefiBootServicesTableLib.h>
31# include <Library/MemoryAllocationLib.h>
32# include <Library/DevicePathLib.h>
33# include <Protocol/DevicePathFromText.h>
34# include <Protocol/DevicePathToText.h>
35# include <Protocol/DebugPort.h>
36# include <Protocol/DebugSupport.h>
37# include <Library/PrintLib.h>
38# include <Library/UefiLib.h>
39# include <Protocol/SimpleFileSystem.h>
40# include <Protocol/BlockIo.h>
41# include <Protocol/DiskIo.h>
42# include <Guid/FileSystemInfo.h>
43# include <Guid/FileInfo.h>
44# include <Guid/FileSystemVolumeLabelInfo.h>
45# include <Protocol/ComponentName.h>
46
47# define BS gBS
48# define PROTO_NAME(x) gEfi ## x ## Guid
49# define GUID_NAME(x) gEfi ## x ## Guid
50
51# define EFI_FILE_HANDLE_REVISION EFI_SIMPLE_FILE_SYSTEM_PROTOCOL_REVISION
52# define SIZE_OF_EFI_FILE_SYSTEM_VOLUME_LABEL_INFO SIZE_OF_EFI_FILE_SYSTEM_VOLUME_LABEL
53# define EFI_FILE_SYSTEM_VOLUME_LABEL_INFO EFI_FILE_SYSTEM_VOLUME_LABEL
54# define EFI_SIGNATURE_32(a, b, c, d) SIGNATURE_32(a, b, c, d)
55# define DivU64x32(x,y,z) DivU64x32((x),(y))
56
57
58INTN CompareGuidEdk1(
59 IN EFI_GUID *Guid1,
60 IN EFI_GUID *Guid2
61 );
62
63//#define CompareGuid(x, y) CompareGuidEdk1((x),(y))
64# define HOST_EFI 1
65//# define FSW_DEBUG_LEVEL 3
66
67int fsw_streq_ISO88591_UTF16(void *s1data, void *s2data, int len);
68#endif
Note: See TracBrowser for help on using the repository browser.

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