From 393415f09c80d9846cba6b7462d152bc0f032ede Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Fri, 26 Aug 2005 10:35:36 +0000 Subject: The patch removes broken, and very complicated malloc in favour of much simpler (and working) Xen's allocator (xmalloc by Rusty). Signed-off-by: Grzegorz Milos --- extras/mini-os/mm.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'extras/mini-os/mm.c') diff --git a/extras/mini-os/mm.c b/extras/mini-os/mm.c index be5ffcd353..bbbd800f56 100644 --- a/extras/mini-os/mm.c +++ b/extras/mini-os/mm.c @@ -1,6 +1,7 @@ -/* -*- Mode:C; c-basic-offset:4; tab-width:4 -*- +/* **************************************************************************** * (C) 2003 - Rolf Neugebauer - Intel Research Cambridge + * (C) 2005 - Grzegorz Milos - Intel Research Cambridge **************************************************************************** * * File: mm.c @@ -14,8 +15,6 @@ * contains buddy page allocator from Xen. * **************************************************************************** - * $Id: c-insert.c,v 1.7 2002/11/08 16:04:34 rn Exp $ - **************************************************************************** * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software without restriction, including without limitation the @@ -40,7 +39,7 @@ #include #include #include - +#include #ifdef MM_DEBUG #define DEBUG(_f, _a...) \ @@ -505,6 +504,6 @@ void init_mm(void) (u_long)to_virt(PFN_PHYS(max_pfn)), PFN_PHYS(max_pfn)); init_page_allocator(PFN_PHYS(start_pfn), PFN_PHYS(max_pfn)); #endif - + printk("MM: done\n"); } -- cgit v1.2.3