Fix Xcode compilation and remove a call to debugStartImageWithOC left by

mistake.
This commit is contained in:
jief666 2024-01-02 12:51:17 +01:00
parent 9d4f83df0c
commit b2049101a4
2 changed files with 1 additions and 1 deletions

View File

@ -18,6 +18,7 @@ extern "C" {
#include "globals_ctor.h" #include "globals_ctor.h"
#include <Platform.h> // Only use angled for Platform, else, xcode project won't compile #include <Platform.h> // Only use angled for Platform, else, xcode project won't compile
#include <Protocol/LoadedImage.h> #include <Protocol/LoadedImage.h>
#include <IndustryStandard/PeImage.h> // for EFI_IMAGE_DOS_HEADER
//#define DUMP_EFI_FROM_MEMORY //#define DUMP_EFI_FROM_MEMORY

View File

@ -3693,7 +3693,6 @@ RefitMain (IN EFI_HANDLE ImageHandle,
MemoryTrackerInit(); MemoryTrackerInit();
EFI_STATUS Status = RefitMainMain(ImageHandle, SystemTable); EFI_STATUS Status = RefitMainMain(ImageHandle, SystemTable);
debugStartImageWithOC();
DBG("MT_alloc_count=%lld\n", MT_getAllocCount()); DBG("MT_alloc_count=%lld\n", MT_getAllocCount());
MT_outputDanglingPtr(); MT_outputDanglingPtr();