Author: arty
Date: Tue Sep 4 03:03:33 2007
New Revision: 28829
URL:
http://svn.reactos.org/svn/reactos?rev=28829&view=rev
Log:
My hack isn't needed anymore.
Modified:
trunk/reactos/boot/freeldr/freeldr/mm/mm.c
Modified: trunk/reactos/boot/freeldr/freeldr/mm/mm.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/mm/mm…
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/mm/mm.c (original)
+++ trunk/reactos/boot/freeldr/freeldr/mm/mm.c Tue Sep 4 03:03:33 2007
@@ -19,9 +19,6 @@
#include <freeldr.h>
#include <debug.h>
-#ifdef _M_PPC
-#include "of.h"
-#endif
ULONG AllocationCount = 0;
@@ -85,17 +82,6 @@
// 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)