wip.
[AROS.git] / arch / all-unix / kernel / freepages.c
blob2027e507773191aa5f67c090427e4971a39014e8
1 /*
2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <aros/libcall.h>
8 #include <inttypes.h>
10 #include <kernel_base.h>
11 #include <kernel_intern.h>
13 AROS_LH2(void, KrnFreePages,
14 AROS_LHA(void *, phy_addr, A0),
15 AROS_LHA(uint32_t, length, D0),
16 struct KernelBase *, KernelBase, 28, Kernel)
18 AROS_LIBFUNC_INIT
20 KernelIFace.munmap(phy_addr, length);
21 AROS_HOST_BARRIER
23 AROS_LIBFUNC_EXIT