Deleted Added
full compact
locore-v4.S (137273) locore-v4.S (137463)
1/* $NetBSD: locore.S,v 1.14 2003/04/20 16:21:40 thorpej Exp $ */
2
3/*
4 * Copyright (C) 1994-1997 Mark Brinicombe
5 * Copyright (C) 1994 Brini
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 23 unchanged lines hidden (view full) ---

32 *
33 */
34
35#include "assym.s"
36#include <sys/syscall.h>
37#include <machine/asm.h>
38#include <machine/armreg.h>
39#include <machine/pte.h>
1/* $NetBSD: locore.S,v 1.14 2003/04/20 16:21:40 thorpej Exp $ */
2
3/*
4 * Copyright (C) 1994-1997 Mark Brinicombe
5 * Copyright (C) 1994 Brini
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 23 unchanged lines hidden (view full) ---

32 *
33 */
34
35#include "assym.s"
36#include <sys/syscall.h>
37#include <machine/asm.h>
38#include <machine/armreg.h>
39#include <machine/pte.h>
40__FBSDID("$FreeBSD: head/sys/arm/arm/locore.S 137273 2004-11-05 19:52:55Z cognet $");
40__FBSDID("$FreeBSD: head/sys/arm/arm/locore.S 137463 2004-11-09 16:47:47Z cognet $");
41
42/* What size should this really be ? It is only used by init_arm() */
43#define INIT_ARM_STACK_SIZE 2048
44
45/*
46 * This is for kvm_mkdb, and should be the address of the beginning
47 * of the kernel text segment (not necessarily the same as kernbase).
48 */

--- 263 unchanged lines hidden (view full) ---

312#endif
313
314/*
315 * setjump + longjmp
316 */
317ENTRY(setjmp)
318 stmia r0, {r4-r14}
319 mov r0, #0x00000000
41
42/* What size should this really be ? It is only used by init_arm() */
43#define INIT_ARM_STACK_SIZE 2048
44
45/*
46 * This is for kvm_mkdb, and should be the address of the beginning
47 * of the kernel text segment (not necessarily the same as kernbase).
48 */

--- 263 unchanged lines hidden (view full) ---

312#endif
313
314/*
315 * setjump + longjmp
316 */
317ENTRY(setjmp)
318 stmia r0, {r4-r14}
319 mov r0, #0x00000000
320 mov pc, lr
320 RET
321
322ENTRY(longjmp)
323 ldmia r0, {r4-r14}
324 mov r0, #0x00000001
321
322ENTRY(longjmp)
323 ldmia r0, {r4-r14}
324 mov r0, #0x00000001
325 mov pc, lr
325 RET
326
327 .data
328 .global _C_LABEL(esym)
329_C_LABEL(esym): .word _C_LABEL(end)
330
331ENTRY_NP(abort)
332 b _C_LABEL(abort)
333

--- 18 unchanged lines hidden ---
326
327 .data
328 .global _C_LABEL(esym)
329_C_LABEL(esym): .word _C_LABEL(end)
330
331ENTRY_NP(abort)
332 b _C_LABEL(abort)
333

--- 18 unchanged lines hidden ---