cpu_module.c revision 7c478bd95313f5f23a4c958a745db2134aa03244
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (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
*/
/*
* Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
#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.
*/
int hres_lock;
int traptrace_use_stick;
void
cpu_setup(void)
{}
void
cpu_init_tick_freq(void)
{}
/*ARGSUSED*/
void
{}
/*ARGSUSED*/
void
{}
void
vtag_flushall(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); }
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)
{ }
/* ARGSUSED */
void
{}
/* ARGSUSED */
void
{}
void
sticksync_slave(void)
{}
void
sticksync_master(void)
{}
/*ARGSUSED*/
int
{ return (-1); }