asm.h (290648) | asm.h (300050) |
---|---|
1/* $NetBSD: asm.h,v 1.5 2003/08/07 16:26:53 agc Exp $ */ 2 3/*- 4 * Copyright (c) 1990 The Regents of the University of California. 5 * All rights reserved. 6 * 7 * This code is derived from software contributed to Berkeley by 8 * William Jolitz. --- 19 unchanged lines hidden (view full) --- 28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * from: @(#)asm.h 5.5 (Berkeley) 5/7/91 35 * | 1/* $NetBSD: asm.h,v 1.5 2003/08/07 16:26:53 agc Exp $ */ 2 3/*- 4 * Copyright (c) 1990 The Regents of the University of California. 5 * All rights reserved. 6 * 7 * This code is derived from software contributed to Berkeley by 8 * William Jolitz. --- 19 unchanged lines hidden (view full) --- 28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * from: @(#)asm.h 5.5 (Berkeley) 5/7/91 35 * |
36 * $FreeBSD: head/sys/arm/include/asm.h 290648 2015-11-10 12:02:41Z mmel $ | 36 * $FreeBSD: head/sys/arm/include/asm.h 300050 2016-05-17 12:52:31Z eadler $ |
37 */ 38 39#ifndef _MACHINE_ASM_H_ 40#define _MACHINE_ASM_H_ 41#include <sys/cdefs.h> 42#include <machine/acle-compat.h> 43#include <machine/sysreg.h> 44 --- 29 unchanged lines hidden (view full) --- 74 mov ip, lr; \ 75 bl __mcount 76#else 77#define _PROF_PROLOGUE 78#endif 79 80/* 81 * EENTRY()/EEND() mark "extra" entry/exit points from a function. | 37 */ 38 39#ifndef _MACHINE_ASM_H_ 40#define _MACHINE_ASM_H_ 41#include <sys/cdefs.h> 42#include <machine/acle-compat.h> 43#include <machine/sysreg.h> 44 --- 29 unchanged lines hidden (view full) --- 74 mov ip, lr; \ 75 bl __mcount 76#else 77#define _PROF_PROLOGUE 78#endif 79 80/* 81 * EENTRY()/EEND() mark "extra" entry/exit points from a function. |
82 * LEENTRY()/LEEND() are the the same for local symbols. | 82 * LEENTRY()/LEEND() are the same for local symbols. |
83 * The unwind info cannot handle the concept of a nested function, or a function 84 * with multiple .fnstart directives, but some of our assembler code is written 85 * with multiple labels to allow entry at several points. The EENTRY() macro 86 * defines such an extra entry point without a new .fnstart, so that it's 87 * basically just a label that you can jump to. The EEND() macro does nothing 88 * at all, except document the exit point associated with the same-named entry. 89 */ 90#define GLOBAL(x) .global x --- 161 unchanged lines hidden --- | 83 * The unwind info cannot handle the concept of a nested function, or a function 84 * with multiple .fnstart directives, but some of our assembler code is written 85 * with multiple labels to allow entry at several points. The EENTRY() macro 86 * defines such an extra entry point without a new .fnstart, so that it's 87 * basically just a label that you can jump to. The EEND() macro does nothing 88 * at all, except document the exit point associated with the same-named entry. 89 */ 90#define GLOBAL(x) .global x --- 161 unchanged lines hidden --- |