diff --git a/reactos/boot/freeldr/freeldr/mm/mm.c b/reactos/boot/freeldr/freeldr/mm/mm.c index 219f6a31f89..b510f9a251c 100644 --- a/reactos/boot/freeldr/freeldr/mm/mm.c +++ b/reactos/boot/freeldr/freeldr/mm/mm.c @@ -19,9 +19,6 @@ #include #include -#ifdef _M_PPC -#include "of.h" -#endif ULONG AllocationCount = 0; @@ -85,17 +82,6 @@ PVOID MmAllocateMemory(ULONG MemorySize) // satisfy this allocation PagesNeeded = ROUND_UP(MemorySize, MM_PAGE_SIZE) / MM_PAGE_SIZE; -#ifdef _M_PPC - { - // We don't have enough reserve, claim some memory from openfirmware - ULONG ptr; - ptr = ofw_claim(0,MemorySize,MM_PAGE_SIZE); - MemPointer = (PVOID)(ptr); - if (MemPointer) - return MemPointer; - } -#endif - // If we don't have enough available mem // then return NULL if (FreePagesInLookupTable < PagesNeeded)