cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# $Id$
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## @file
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# VirtualBox Validation Kit - CPU Test Utilities.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync#
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync#
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# Copyright (C) 2009-2014 Oracle Corporation
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync#
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# This file is part of VirtualBox Open Source Edition (OSE), as
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# available from http://www.virtualbox.org. This file is free software;
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# you can redistribute it and/or modify it under the terms of the GNU
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# General Public License (GPL) as published by the Free Software
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# Foundation, in version 2 as it comes in the "COPYING" file of the
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync#
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# The contents of this file may alternatively be used under the terms
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# of the Common Development and Distribution License Version 1.0
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# (CDDL) only, as it comes in the "COPYING.CDDL" file of the
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# VirtualBox OSE distribution, in which case the provisions of the
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# CDDL are applicable instead of those of the GPL.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync#
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# You may elect to license modified versions of this file under the
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# terms and conditions of either the GPL or the CDDL or both.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync#
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncSUB_DEPTH = ../../../../..
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncinclude $(KBUILD_PATH)/subheader.kmk
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncPROGRAMS += xmmsaving
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncxmmsaving_TEMPLATE = VBoxValidationKitR3
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncxmmsaving_SOURCES = xmmsaving.cpp xmmsaving-asm.asm
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncPROGRAMS += exceptionsR3
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncexceptionsR3_TEMPLATE = VBoxValidationKitR3
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncexceptionsR3_SOURCES = exceptionsR3.cpp exceptionsR3-asm.asm
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncPROGRAMS += cpu-numa
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsynccpu-numa_TEMPLATE = VBoxValidationKitR3
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsynccpu-numa_SOURCES = cpu-numa.cpp
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncPROGRAMS += cpu-alloc-all-mem
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsynccpu-alloc-all-mem_TEMPLATE = VBoxValidationKitR3
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsynccpu-alloc-all-mem_SOURCES = cpu-alloc-all-mem.cpp
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
d63991d67b029bedca8b35de91b9ca7d109bd3d7vboxsyncifneq ($(KBUILD_HOST),os2)
3bc264992af3416ecba168e6ffae1a334fe79088vboxsyncPROGRAMS += cidet-app
d63991d67b029bedca8b35de91b9ca7d109bd3d7vboxsyncendif
3bc264992af3416ecba168e6ffae1a334fe79088vboxsynccidet-app_TEMPLATE = VBoxValidationKitR3
3bc264992af3416ecba168e6ffae1a334fe79088vboxsynccidet-app_SOURCES = \
3bc264992af3416ecba168e6ffae1a334fe79088vboxsync cidet-app.cpp \
3bc264992af3416ecba168e6ffae1a334fe79088vboxsync cidet-appA.asm \
3bc264992af3416ecba168e6ffae1a334fe79088vboxsync cidet-core.cpp \
3bc264992af3416ecba168e6ffae1a334fe79088vboxsync cidet-instr-1.cpp
3bc264992af3416ecba168e6ffae1a334fe79088vboxsynccidet-app_DEFS = IN_DIS
fdf66bdf7b03d58ec33dbc065f2d28e1f7d4986avboxsynccidet-app_DEFS.linux = CIDET_REDUCED_CTX
3bc264992af3416ecba168e6ffae1a334fe79088vboxsynccidet-app_LIBS = $(PATH_STAGE_LIB)/DisasmR3Static$(VBOX_SUFF_LIB)
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync#PROGRAMS += rdtsc
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync#rdtsc_TEMPLATE = rdtsc
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync#rdtsc_SOURCES = rdtsc.cpp rdtsc-asm.asm
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncinclude $(FILE_KBUILD_SUB_FOOTER)
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync