]> git.proxmox.com Git - mirror_edk2.git/commit
Update the FD mapping so the volatile areas write back to the FD file. Currently...
authorandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 8 Jun 2011 04:32:18 +0000 (04:32 +0000)
committerandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 8 Jun 2011 04:32:18 +0000 (04:32 +0000)
commit8052c4a2b9e0c3575e912e5867cd0d7c2669c925
tree20a53fc9216e13a113df9e9360f5899051e5727a
parent7e284acb40a3d27009de3cfe48275fed3c5d004b
Update the FD mapping so the volatile areas write back to the FD file. Currently they are only mapped as a  memory copy of the file. This also make FV read only.

The current scheme maps a file into a memory buffer. You can write to the memory buffer, but if you restart the emulator the data is not written back to the FD. Since the build, rebuilds the FD it will blow away any changes. You can now set variables and restart the emulator and they are still set. There is a bug if the FV is set to write protect that still needs to be tracked down.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11761 6f19259b-4bc3-4df7-8a09-765794883524
InOsEmuPkg/Unix/Sec/SecMain.c
InOsEmuPkg/Unix/Sec/SecMain.h
InOsEmuPkg/Unix/Sec/SecMain.inf