subr_asm.s revision 5892374f87ce6849fd36b2baaee28dc8da038b8c
/*
* 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"
/*
* General machine architecture & implementation specific
* assembly language routines.
*/
#if defined(lint)
#include <sys/machsystm.h>
#else /* lint */
#include "assym.h"
#endif /* lint */
#include <sys/asm_linkage.h>
#include <sys/machthread.h>
#if defined(lint)
set_trap_table(void)
{
return ((caddr_t)0);
}
#else /* lint */
#endif /* lint */
#if defined(lint)
/*ARGSUSED*/
void
{}
/*ARGSUSED*/
int
{ return (0); }
/*ARGSUSED*/
void
{}
/*ARGSUSED*/
{ return (0x0ull); }
/* ARGSUSED */
void
{}
/* ARGSUSED */
{ return(0); }
/* ARGSUSED */
void
{}
/* ARGSUSED */
{ return(0); }
/* ARGSUSED */
void
{}
/* ARGSUSED */
{ return(0); }
/*ARGSUSED*/
void
{}
/*ARGSUSED*/
{ return (0ull); }
#else
!
!
/*
* disable interrupts, clear Address Mask to access 64 bit physaddr
*/
!
!
/*
* disable interrupts, clear Address Mask to access 64 bit physaddr
*/
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
#endif /* lint */
/*
* save_gsr(kfpu_t *fp)
* Store the graphics status register
*/
/* ARGSUSED */
void
{}
#else /* lint */
#endif /* lint */
/* ARGSUSED */
void
{}
#else /* lint */
#endif /* lint */
/*
* uint64_t
* _fp_read_pgsr()
* Get the graphics status register info from fp and return it
*/
/* ARGSUSED */
{ return 0; }
#else /* lint */
#endif /* lint */
/*
* uint64_t
* get_gsr(kfpu_t *fp)
* Get the graphics status register info from fp and return it
*/
/* ARGSUSED */
{ return 0; }
#else /* lint */
#endif
/*
* _fp_write_pgsr(uint64_t *buf, kfpu_t *fp)
* Set the graphics status register info to fp from buf
*/
/* ARGSUSED */
void
{}
#else /* lint */
#endif /* lint */
/*
* set_gsr(uint64_t buf, kfpu_t *fp)
* Set the graphics status register info to fp from buf
*/
/* ARGSUSED */
void
{}
#else /* lint */
#endif /* lint */
void
kdi_cpu_index(void)
{
}
#else /* lint */
#endif /* lint */