Deleted Added
full compact
asm.h (269796) asm.h (271337)
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: stable/10/sys/arm/include/asm.h 269796 2014-08-11 01:29:28Z ian $
36 * $FreeBSD: stable/10/sys/arm/include/asm.h 271337 2014-09-09 22:24:01Z ian $
37 */
38
39#ifndef _MACHINE_ASM_H_
40#define _MACHINE_ASM_H_
41#include <sys/cdefs.h>
42
43#define _C_LABEL(x) x
44#define _ASM_LABEL(x) x
45
46#define I32_bit (1 << 7) /* IRQ disable */
47#define F32_bit (1 << 6) /* FIQ disable */
48
49#define CPU_CONTROL_32BP_ENABLE 0x00000010 /* P: 32-bit exception handlers */
50#define CPU_CONTROL_32BD_ENABLE 0x00000020 /* D: 32-bit addressing */
51
52#ifndef _ALIGN_TEXT
53# define _ALIGN_TEXT .align 0
54#endif
55
37 */
38
39#ifndef _MACHINE_ASM_H_
40#define _MACHINE_ASM_H_
41#include <sys/cdefs.h>
42
43#define _C_LABEL(x) x
44#define _ASM_LABEL(x) x
45
46#define I32_bit (1 << 7) /* IRQ disable */
47#define F32_bit (1 << 6) /* FIQ disable */
48
49#define CPU_CONTROL_32BP_ENABLE 0x00000010 /* P: 32-bit exception handlers */
50#define CPU_CONTROL_32BD_ENABLE 0x00000020 /* D: 32-bit addressing */
51
52#ifndef _ALIGN_TEXT
53# define _ALIGN_TEXT .align 0
54#endif
55
56#ifdef __ARM_EABI__
56#if defined(__ARM_EABI__) && !defined(_STANDALONE)
57#define STOP_UNWINDING .cantunwind
58#define _FNSTART .fnstart
59#define _FNEND .fnend
60#else
61#define STOP_UNWINDING
62#define _FNSTART
63#define _FNEND
64#endif

--- 148 unchanged lines hidden ---
57#define STOP_UNWINDING .cantunwind
58#define _FNSTART .fnstart
59#define _FNEND .fnend
60#else
61#define STOP_UNWINDING
62#define _FNSTART
63#define _FNEND
64#endif

--- 148 unchanged lines hidden ---