mirror of https://github.com/acidanthera/audk.git
1d7ac5a617
I've got this working. The tricky part was a driver/application can mix malloc forms. If the driver links against this library all the allocations come from the OS service, but if a protocol or EFI boot service return an allocated buffer it will still use the EFI allocation. The gasket code can detect this and do the right thing, as the emulator is passing up the memory map to EFI. You can now use the OS based malloc debugging tools in an EFI driver or appliaction. On OS X this is libgmalloc, also called guard malloc. Signed-off-by: andrewfish. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11886 6f19259b-4bc3-4df7-8a09-765794883524 |
||
---|---|---|
.. | ||
EmuBlockIo.h | ||
EmuFileSystem.h | ||
EmuGraphicsWindow.h | ||
EmuIoThunk.h | ||
EmuSnp.h | ||
EmuThread.h | ||
EmuThunk.h |