1df297ea8319f3f3afddb73e6ea2fd9c7f0e5eb4vboxsync/* $Id$ */
1df297ea8319f3f3afddb73e6ea2fd9c7f0e5eb4vboxsync/** @file
1df297ea8319f3f3afddb73e6ea2fd9c7f0e5eb4vboxsync * IPRT - Multiprocessor, Generic RTMpGetCurFrequency.
1df297ea8319f3f3afddb73e6ea2fd9c7f0e5eb4vboxsync */
1df297ea8319f3f3afddb73e6ea2fd9c7f0e5eb4vboxsync
1df297ea8319f3f3afddb73e6ea2fd9c7f0e5eb4vboxsync/*
c7814cf6e1240a519cbec0441e033d0e2470ed00vboxsync * Copyright (C) 2008-2010 Oracle Corporation
1df297ea8319f3f3afddb73e6ea2fd9c7f0e5eb4vboxsync *
1df297ea8319f3f3afddb73e6ea2fd9c7f0e5eb4vboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
1df297ea8319f3f3afddb73e6ea2fd9c7f0e5eb4vboxsync * available from http://www.virtualbox.org. This file is free software;
1df297ea8319f3f3afddb73e6ea2fd9c7f0e5eb4vboxsync * you can redistribute it and/or modify it under the terms of the GNU
1df297ea8319f3f3afddb73e6ea2fd9c7f0e5eb4vboxsync * General Public License (GPL) as published by the Free Software
1df297ea8319f3f3afddb73e6ea2fd9c7f0e5eb4vboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
1df297ea8319f3f3afddb73e6ea2fd9c7f0e5eb4vboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
1df297ea8319f3f3afddb73e6ea2fd9c7f0e5eb4vboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
1df297ea8319f3f3afddb73e6ea2fd9c7f0e5eb4vboxsync *
1df297ea8319f3f3afddb73e6ea2fd9c7f0e5eb4vboxsync * The contents of this file may alternatively be used under the terms
1df297ea8319f3f3afddb73e6ea2fd9c7f0e5eb4vboxsync * of the Common Development and Distribution License Version 1.0
1df297ea8319f3f3afddb73e6ea2fd9c7f0e5eb4vboxsync * (CDDL) only, as it comes in the "COPYING.CDDL" file of the
1df297ea8319f3f3afddb73e6ea2fd9c7f0e5eb4vboxsync * VirtualBox OSE distribution, in which case the provisions of the
1df297ea8319f3f3afddb73e6ea2fd9c7f0e5eb4vboxsync * CDDL are applicable instead of those of the GPL.
1df297ea8319f3f3afddb73e6ea2fd9c7f0e5eb4vboxsync *
1df297ea8319f3f3afddb73e6ea2fd9c7f0e5eb4vboxsync * You may elect to license modified versions of this file under the
1df297ea8319f3f3afddb73e6ea2fd9c7f0e5eb4vboxsync * terms and conditions of either the GPL or the CDDL or both.
1df297ea8319f3f3afddb73e6ea2fd9c7f0e5eb4vboxsync */
1df297ea8319f3f3afddb73e6ea2fd9c7f0e5eb4vboxsync
aa4bcf0a4b2db3ac352b56a291d49cb8d4b66d32vboxsync
1df297ea8319f3f3afddb73e6ea2fd9c7f0e5eb4vboxsync/*******************************************************************************
1df297ea8319f3f3afddb73e6ea2fd9c7f0e5eb4vboxsync* Header Files *
1df297ea8319f3f3afddb73e6ea2fd9c7f0e5eb4vboxsync*******************************************************************************/
1df297ea8319f3f3afddb73e6ea2fd9c7f0e5eb4vboxsync#include <iprt/mp.h>
aa4bcf0a4b2db3ac352b56a291d49cb8d4b66d32vboxsync#include "internal/iprt.h"
1df297ea8319f3f3afddb73e6ea2fd9c7f0e5eb4vboxsync
1df297ea8319f3f3afddb73e6ea2fd9c7f0e5eb4vboxsync
d6d420f5dd6649813afddbe4607f7df42dbe1b14vboxsyncRTDECL(uint32_t) RTMpGetCurFrequency(RTCPUID idCpu)
1df297ea8319f3f3afddb73e6ea2fd9c7f0e5eb4vboxsync{
d6d420f5dd6649813afddbe4607f7df42dbe1b14vboxsync NOREF(idCpu);
d6d420f5dd6649813afddbe4607f7df42dbe1b14vboxsync /* this is a generic stub which returns "unknown". */
1df297ea8319f3f3afddb73e6ea2fd9c7f0e5eb4vboxsync return 0;
1df297ea8319f3f3afddb73e6ea2fd9c7f0e5eb4vboxsync}
aa4bcf0a4b2db3ac352b56a291d49cb8d4b66d32vboxsyncRT_EXPORT_SYMBOL(RTMpGetCurFrequency);
1df297ea8319f3f3afddb73e6ea2fd9c7f0e5eb4vboxsync