2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
8 #include <aros/config.h>
10 #include <kernel_base.h>
11 #include <kernel_mm.h>
13 /*****************************************************************************
16 #include <proto/kernel.h>
18 AROS_LH1(void, KrnInitMemory
,
21 AROS_LHA(struct MemHeader
*, mh
, A0
),
24 struct KernelBase
*, KernelBase
, 31, Kernel
)
27 Initialize kernel memory management on a given memory region
30 mh - Address of a filled in structure describing the region.
45 ******************************************************************************/
50 if (!KernelBase
->kb_PageSize
)
53 /* Initialize the MemHeader */
54 mm_Init(mh
, KernelBase
->kb_PageSize
);