xref: /onnv-gate/usr/src/cmd/dtrace/test/tst/i386/pid/tst.badinstr.s (revision 3944:75371f172291)
12769Sahl/*
22769Sahl * CDDL HEADER START
32769Sahl *
42769Sahl * The contents of this file are subject to the terms of the
52769Sahl * Common Development and Distribution License (the "License").
62769Sahl * You may not use this file except in compliance with the License.
72769Sahl *
82769Sahl * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
92769Sahl * or http://www.opensolaris.org/os/licensing.
102769Sahl * See the License for the specific language governing permissions
112769Sahl * and limitations under the License.
122769Sahl *
132769Sahl * When distributing Covered Code, include this CDDL HEADER in each
142769Sahl * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
152769Sahl * If applicable, add the following below this CDDL HEADER, with the
162769Sahl * fields enclosed by brackets "[]" replaced with your own identifying
172769Sahl * information: Portions Copyright [yyyy] [name of copyright owner]
182769Sahl *
192769Sahl * CDDL HEADER END
202769Sahl */
212769Sahl
222769Sahl/*
23*3944Sahl * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
242769Sahl * Use is subject to license terms.
252769Sahl */
262769Sahl
272769Sahl#pragma ident	"%Z%%M%	%I%	%E% SMI"
282769Sahl
292769Sahl#include <sys/asm_linkage.h>
302769Sahl
31*3944Sahl	DGDEF(__fsr_init_value)
32*3944Sahl	.long 0
33*3944Sahl
342769Sahl	ENTRY(badfunc)
352769Sahl	.byte	0xff
362769Sahl	.byte	0xff
372769Sahl	SET_SIZE(badfunc)
382769Sahl
392769Sahl	ENTRY(main)
402769Sahl1:	jmp 1b
412769Sahl	SET_SIZE(main)
42