2 Copyright © 2011, The AROS Development Team. All rights reserved.
5 Desc: Query UNIX host OS for memory page size
9 #include "hostinterface.h"
10 #include "kernel_base.h"
11 #include "kernel_debug.h"
12 #include "kernel_unix.h"
14 unsigned int krnGetPageSize(void *hostlib
)
16 int (*getpagesize
)(void);
20 getpagesize
= HostIFace
->hostlib_GetPointer(hostlib
, "getpagesize", &errstr
);
25 krnPanic(NULL
, "Failed to obtain memory page size\n"