cpu_module.c revision b52a336e0ccd9ef29cd11bb3c7e530788483ee04
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
*/
#include <sys/cpu_module.h>
#include <sys/lockstat.h>
/*
* This is a dummy file that provides the default cpu module
* that is linked to unix.
*/
volatile timestruc_t hrestime;
volatile int hres_lock;
int traptrace_use_stick;
void
cpu_setup(void)
{}
void
cpu_init_tick_freq(void)
{}
/*ARGSUSED*/
void
{}
void
vtag_flushall(void)
{}
void
vtag_flushall_uctxs(void)
{}
/*ARGSUSED*/
void
{}
/*ARGSUSED*/
void
{}
/*ARGSUSED*/
void
{}
/*ARGSUSED*/
void
{}
/*ARGSUSED*/
void
{}
/*ARGSUSED*/
void
{}
/*ARGSUSED*/
void
{}
/*ARGSUSED*/
void
{}
/*ARGSUSED*/
void
{}
/*ARGSUSED*/
void
send_one_mondo(int cpuid)
{}
/*ARGSUSED*/
void
{}
/*ARGSUSED*/
void
{}
void
syncfpu(void)
{}
/*ARGSUSED*/
void
{}
gettick(void)
{ return (0); }
randtick(void)
{ return (0); }
gettick_counter(void)
{ return (0); }
/*ARGSUSED*/
void
{}
gethrestime_sec(void)
{ return (0); }
/*ARGSUSED*/
void
{}
gethrtime(void)
{ return (0); }
gethrtime_unscaled(void)
{ return (0); }
gethrtime_waitfree(void)
{ return (0); }
dtrace_gethrtime(void)
{ return (0); }
get_impl(void)
{ return (0); }
get_hrestime(void)
{ return (0); }
get_timestamp(void)
{ return (0); }
get_virtime(void)
{ return (0); }
gethrtime_max(void)
{ return (0); }
/*ARGSUSED*/
void
{}
void
hres_tick(void)
{}
/*ARGSUSED*/
void
{}
void
tickcmpr_disable(void)
{}
/*ARGSUSED*/
void
{}
int
tickcmpr_disabled(void)
{ return (0); }
/*ARGSUSED*/
void
{}
/*
* Processor-optimized memory routines
*/
/*ARGSUSED*/
int
{ return (0); }
/*ARGSUSED*/
int
{ return (0); }
/*ARGSUSED*/
void
{}
/*ARGSUSED*/
void
{}
/*ARGSUSED*/
int
{ return (0); }
/*ARGSUSED*/
int
{ return (0); }
/*ARGSUSED*/
int
{ return (0); }
/*ARGSUSED*/
int
{ return (0); }
/*ARGSUSED*/
int
{ return (0); }
/*ARGSUSED*/
int
{ return (0); }
/*ARGSUSED*/
void
{}
/*ARGSUSED*/
void
{}
/*ARGSUSED*/
int
{ return (0); }
/*ARGSUSED*/
int
{ return (0); }
/*ARGSUSED*/
void
{}
/*ARGSUSED*/
void
{}
/*ARGSUSED*/
int
{ return (0); }
int use_hw_bzero;
int use_hw_bcopy;
/*
* tick operations
*/
void
tick_rtt(void)
{ }
void
pil14_interrupt(void)
{ }
void
pil15_interrupt(void)
{ }
/* ARGSUSED */
void
{}
/* ARGSUSED */
void
{}
void
sticksync_slave(void)
{}
void
sticksync_master(void)
{}
/*ARGSUSED*/
int
{ return (-1); }