From 63947cc4d01f92209a92cbe3987f324a85a39034 Mon Sep 17 00:00:00 2001 From: andrewfish Date: Tue, 7 Jun 2011 02:28:08 +0000 Subject: InOsEmuPkg: Fixed mounting device nodes and .dmg files in the emulator. There is some Linux specific code for mounting device nodes that needs to be tested. It may not compile! Singed-off-by: andrewfish git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11754 6f19259b-4bc3-4df7-8a09-765794883524 --- InOsEmuPkg/InOsEmuPkg.dec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'InOsEmuPkg/InOsEmuPkg.dec') diff --git a/InOsEmuPkg/InOsEmuPkg.dec b/InOsEmuPkg/InOsEmuPkg.dec index 7cbed7f573..9660939d57 100644 --- a/InOsEmuPkg/InOsEmuPkg.dec +++ b/InOsEmuPkg/InOsEmuPkg.dec @@ -71,9 +71,16 @@ gInOsEmuPkgTokenSpaceGuid.PcdEmuFirmwareVolume|L"..\\Fv\\Fv_Recovery.fd"|VOID*|0x00001009 gInOsEmuPkgTokenSpaceGuid.PcdEmuMemorySize|L"64!64"|VOID*|0x0000100c - - gInOsEmuPkgTokenSpaceGuid.PcdEmuPhysicalDisk|L"E:RW;245760;512"|VOID*|0x00001000 + # + # filename[:][R|F][O|W] + # filename can be a device node, like /dev/disk1 + # R - Removable Media F - Fixed Media + # O - Write protected W - Writable + # Default is Fixed Media, Writable + # Size comes from file or device. + # On Mac OS X you can use Disk Utility to create .dmg files and mount then like disks gInOsEmuPkgTokenSpaceGuid.PcdEmuVirtualDisk|L"FW;40960;512"|VOID*|0x00001001 + gInOsEmuPkgTokenSpaceGuid.PcdEmuGop|L"GOP Window"|VOID*|0x00001018 gInOsEmuPkgTokenSpaceGuid.PcdEmuFileSystem|L".!../../../../../EdkShellBinPkg/bin/ia32/Apps"|VOID*|0x00001004 gInOsEmuPkgTokenSpaceGuid.PcdEmuSerialPort|L"/dev/ttyS0"|VOID*|0x00001002 -- cgit v1.2.3