diff options
author | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-06-08 02:34:12 +0000 |
---|---|---|
committer | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-06-08 02:34:12 +0000 |
commit | 7e284acb40a3d27009de3cfe48275fed3c5d004b (patch) | |
tree | 3fbfdf3fdf298705d4f2539dc36cca5e9d479d26 /InOsEmuPkg/EmuSimpleFileSystemDxe | |
parent | 6f18b50d023159f6b19c04da5ab930cc58e2743b (diff) | |
download | edk2-platforms-7e284acb40a3d27009de3cfe48275fed3c5d004b.tar.xz |
Add support for SerialPortLib that maps into POSIX StdIn and StdOut. Add a device path text to lib as a holding point waiting on getting it reviewed for other packages. Some minor fixes. Also map the FV as writable, so the Variable store becomes writable.
I plan to try and make only the Variable store and logs writable, and make the executable/compressed FV read only in a future checkin.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11760 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'InOsEmuPkg/EmuSimpleFileSystemDxe')
-rw-r--r-- | InOsEmuPkg/EmuSimpleFileSystemDxe/EmuSimpleFileSystem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/InOsEmuPkg/EmuSimpleFileSystemDxe/EmuSimpleFileSystem.c b/InOsEmuPkg/EmuSimpleFileSystemDxe/EmuSimpleFileSystem.c index 935cd12201..ba03261433 100644 --- a/InOsEmuPkg/EmuSimpleFileSystemDxe/EmuSimpleFileSystem.c +++ b/InOsEmuPkg/EmuSimpleFileSystemDxe/EmuSimpleFileSystem.c @@ -718,7 +718,7 @@ EmuSimpleFileSystemDriverBindingStart ( goto Done;
}
- Private = AllocatePool (sizeof (EMU_SIMPLE_FILE_SYSTEM_PRIVATE));
+ Private = AllocateZeroPool (sizeof (EMU_SIMPLE_FILE_SYSTEM_PRIVATE));
if (Private == NULL) {
goto Done;
}
|