1 /* 2 * (c) 2008-2009 Adam Lackorzynski <adam@os.inf.tu-dresden.de> 3 * economic rights: Technische Universität Dresden (Germany) 4 * 5 * This file is part of TUD:OS and distributed under the terms of the 6 * GNU General Public License 2. 7 * Please see the COPYING-GPL-2 file for details. 8 */ 9 #include "page_alloc.h" 10 11 Page_alloc_base::Alloc Page_alloc_base::_alloc; 12 unsigned long Page_alloc_base::_total; 13 14 static char page_alloc_scratch_mem[L4_PAGESIZE] __attribute__((aligned(L4_PAGESIZE))); 15 init()16void Page_alloc_base::init() 17 { free(page_alloc_scratch_mem); } 18