#include "toolbox/logging.h"
-#include "vm/exceptions.h"
+#include "vm/exceptions.hpp"
+#include "vm/options.h"
+#include "vm/os.hpp"
#include "vm/vm.hpp"
-#include "vm/jit/code.h"
+#include "vm/jit/code.hpp"
#include "vm/jit/disass.h"
-#include "vm/jit/jit.h"
+#include "vm/jit/jit.hpp"
#include "vm/jit/methodtree.h"
-#include "vm/jit/patcher-common.h"
-#include "vm/jit/replace.h"
+#include "vm/jit/patcher-common.hpp"
+#include "vm/jit/replace.hpp"
#include "vm/jit/stacktrace.hpp"
-#include "vmcore/options.h"
-#include "vmcore/system.h"
-
/**
* Mmap the first memory page to support hardware exceptions and check
/* mmap a memory page at address 0x0, so our hardware-exceptions
work. */
- pagesize = system_getpagesize();
+ pagesize = os_getpagesize();
- (void) system_mmap_anonymous(NULL, pagesize, PROT_NONE, MAP_PRIVATE | MAP_FIXED);
+ (void) os_mmap_anonymous(NULL, pagesize, PROT_NONE, MAP_PRIVATE | MAP_FIXED);
#endif
TRACESUBSYSTEMINITIALIZATION("trap_init");