mirror of https://github.com/acidanthera/audk.git
EmulatorPkg/Win: Add SimpleFileSystem support
Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Hao A Wu <hao.a.wu@intel.com> Cc: Andrew Fish <afish@apple.com>
This commit is contained in:
parent
07d8559c6b
commit
56502bf1ad
File diff suppressed because it is too large
Load Diff
|
@ -428,6 +428,7 @@ Returns:
|
|||
// Emulator Bus Driver Thunks
|
||||
//
|
||||
AddThunkProtocol (&mWinNtWndThunkIo, (CHAR16 *)PcdGetPtr (PcdEmuGop), TRUE);
|
||||
AddThunkProtocol (&mWinNtFileSystemThunkIo, (CHAR16 *)PcdGetPtr (PcdEmuFileSystem), TRUE);
|
||||
|
||||
//
|
||||
// Allocate space for gSystemMemory Array
|
||||
|
|
|
@ -26,8 +26,12 @@ Abstract:
|
|||
|
||||
#include <PiPei.h>
|
||||
#include <IndustryStandard/PeImage.h>
|
||||
#include <Guid/FileInfo.h>
|
||||
#include <Guid/FileSystemInfo.h>
|
||||
#include <Guid/FileSystemVolumeLabelInfo.h>
|
||||
#include <Ppi/EmuThunk.h>
|
||||
#include <Protocol/EmuThunk.h>
|
||||
#include <Protocol/SimpleFileSystem.h>
|
||||
|
||||
|
||||
#include <Library/BaseLib.h>
|
||||
|
@ -198,4 +202,5 @@ SecInitializeThunk (
|
|||
);
|
||||
extern EMU_THUNK_PROTOCOL gEmuThunkProtocol;
|
||||
extern EMU_IO_THUNK_PROTOCOL mWinNtWndThunkIo;
|
||||
extern EMU_IO_THUNK_PROTOCOL mWinNtFileSystemThunkIo;
|
||||
#endif
|
|
@ -33,6 +33,7 @@
|
|||
WinGopInput.c
|
||||
WinGopScreen.c
|
||||
WinGop.h
|
||||
WinFileSystem.c
|
||||
WinThunk.c
|
||||
WinHost.h
|
||||
WinHost.c
|
||||
|
@ -61,6 +62,13 @@
|
|||
[Protocols]
|
||||
gEmuIoThunkProtocolGuid
|
||||
gEmuGraphicsWindowProtocolGuid
|
||||
gEfiSimpleFileSystemProtocolGuid
|
||||
|
||||
[Guids]
|
||||
gEfiFileSystemVolumeLabelInfoIdGuid # SOMETIMES_CONSUMED
|
||||
gEfiFileInfoGuid # SOMETIMES_CONSUMED
|
||||
gEfiFileSystemInfoGuid # SOMETIMES_CONSUMED
|
||||
|
||||
[Pcd]
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdInitValueInTempStack
|
||||
|
||||
|
@ -69,6 +77,7 @@
|
|||
gEmulatorPkgTokenSpaceGuid.PcdEmuMemorySize
|
||||
gEmulatorPkgTokenSpaceGuid.PcdEmuFdBaseAddress
|
||||
gEmulatorPkgTokenSpaceGuid.PcdEmuGop|L"GOP Window"
|
||||
gEmulatorPkgTokenSpaceGuid.PcdEmuFileSystem
|
||||
gEmulatorPkgTokenSpaceGuid.PcdPeiServicesTablePage
|
||||
|
||||
[BuildOptions]
|
||||
|
|
Loading…
Reference in New Issue