Commit Graph

57858 Commits

Author SHA1 Message Date
matt
0cd0e4b29d Fix CLKF_INTR for EABI to (void) its argument so it isn't mark unused by the
optimizer.
2013-08-18 23:14:27 +00:00
matt
aa45c3c11b Fix <arm/locore.h> lossage 2013-08-18 21:50:31 +00:00
matt
046aded495 Fix more <arm/locore.h> lossage 2013-08-18 21:42:16 +00:00
matt
d91603e2c5 Fix typo 2013-08-18 16:09:50 +00:00
matt
fe8c224376 Fix <arm/locore.h> lossage. 2013-08-18 16:08:42 +00:00
matt
88e5164352 Include <arm/cpufunc.h> if !_LOCORE 2013-08-18 16:08:24 +00:00
matt
15255e4825 Don't include <arm/locore.h>, just <arm/armreg.h> 2013-08-18 16:08:02 +00:00
matt
213e0bd398 <arm/locore.h> fallout (fixes some include ordering errors) 2013-08-18 15:58:19 +00:00
martin
6e62732fa1 Remove ancient spl* variants no longer used 2013-08-18 09:31:38 +00:00
matt
5fa6204d61 Properly recognize Thumb2 instructions.
(a thumb2 FP programs correctly runs now).
2013-08-18 08:08:15 +00:00
matt
93a7036079 Add a CPU_IS_ARMV7_P() macro (nonv7 evals to false, v7 only true, otherwise
cpu_armv7_p is checked (and is set by cpuconf for cortex and pj4b).
2013-08-18 07:57:26 +00:00
matt
9493a1541a include <arm/locore.h> 2013-08-18 07:55:28 +00:00
matt
43fbd09817 If _KMEMUSER, include <sys/intr.h> 2013-08-18 07:36:39 +00:00
matt
35a694914d Don't use cfi ops in non EABI MCOUNT 2013-08-18 07:15:31 +00:00
matt
db7576897d Use <arm/locore.h> 2013-08-18 07:01:45 +00:00
matt
fdcef2fafb Include <arm/locore.h> 2013-08-18 06:50:31 +00:00
matt
8cfffc845c There are only 16 faults. 2013-08-18 06:46:04 +00:00
matt
89b5157a86 Use blx ip if _ARM_ARCH_5
prepare to get of switchframe
2013-08-18 06:37:02 +00:00
matt
4d204e63ce Add END(beagle_start) 2013-08-18 06:34:02 +00:00
matt
e3737c6770 Move parts of cpu.h that are not needed by MI code in <arm/locore.h>
Don't include <machine/cpu.h> or <machine/frame.h>, use <arm/locore.h>
Use <arm/asm.h> instead of <machine/arm.h>
2013-08-18 06:32:15 +00:00
matt
ab152917fb Move parts of cpu.h that are not needed by MI code in <arm/locore.h>
Don't include <machine/cpu.h> or <machine/frame.h>, use <arm/locore.h>
Use <arm/asm.h> instead of <machine/arm.h>
2013-08-18 06:28:18 +00:00
matt
7c5d0d300c Fix local symbol to be local
use END/ASEND
2013-08-18 05:54:16 +00:00
matt
fb752d5324 Add options MODULAR 2013-08-18 05:20:47 +00:00
matt
54ffa224c0 fix comment. 2013-08-18 05:07:19 +00:00
matt
287cf1eedc remove __thumb__ PIC specifics. no different from ARM except being pc+4 not
pc+8
2013-08-18 05:06:49 +00:00
matt
9b064a7ba6 struct pcb; for a function prototype. 2013-08-18 05:01:47 +00:00
matt
38c2100455 Add more TF_* symbols 2013-08-18 04:52:19 +00:00
matt
d90a94ca5c Move the MD parts of <arm/cpu.h> to here. 2013-08-18 04:32:40 +00:00
matt
1788fa40ac Support thumb1 indirectly and thumb2 directly 2013-08-18 04:31:08 +00:00
matt
52f170f24e Nuke atomic.S since we have MI defined atomic ops 2013-08-17 22:21:02 +00:00
matt
eb4fd57841 #define __HAVE_FAST_SOFTINT 2013-08-17 20:21:38 +00:00
skrll
35653ce4be Use -fno-unwind-tables when creating a.out kernels. 2013-08-17 19:57:09 +00:00
matt
a311d23d12 inject a PMFE_SPEED_CHANGED when changing the speed. 2013-08-17 00:40:10 +00:00
matt
954df09752 Add _ARM_ARCH_5T (needed for blx <reg> support) 2013-08-17 00:21:47 +00:00
matt
6bb0d87b14 __mcount is always arm code (even if compiled -mthumb).
Add .cfi for unwind tables
2013-08-16 21:42:48 +00:00
matt
7483bc3296 Don't define RETc if Thumb1
Add REL_SYM(a, b)
Make GOT_INIT* thumb aware.
2013-08-16 17:45:28 +00:00
tsutsui
91eced933f Make FPU_EMULATE work on NetBSD/hp300. Commented out by default in GENERIC.
Tested on HP9000/362 without optional MC68882 FPU in its socket.
2013-08-16 13:39:47 +00:00
jmcneill
7b06ffc377 Hardwire ld0 -> sdmmc0 and ld1 -> sdmmc1. Support local configuration in
BEAGLEBONE.local
2013-08-16 02:21:53 +00:00
matt
7b01c3f873 Add an EABI ARM version of MCOUNT that doesn't do ARM26 compat.
Add an EABI Thumb version of MCOUNT (doesn't do ARM26 compat either).
Add .size to all MCOUNT
2013-08-15 22:41:15 +00:00
matt
cc12e1319a If compiling for Thumb1, make __lwp_getprivate_fast call __aeabi_read_tp. 2013-08-15 22:34:59 +00:00
matt
06340da92a Add _ARM_ARCH_T2 to indicate Thumb2 support
Don't define _ARM_ARCH_DWORD_OK disappear if compiling for Thumb1
2013-08-15 22:25:10 +00:00
matt
e3ed76303f Fix tpyo. 2013-08-15 22:13:48 +00:00
matt
50192497ae Add CPPFLAGS+= -mno-thumb -mno-thumb-interwork 2013-08-15 21:41:08 +00:00
martin
dcdb4c97c4 Do not explicitly prevent unwind table generation 2013-08-15 12:45:06 +00:00
martin
1185a86909 Do not output unwind tables, they make no sense for the kernel.
Do not force MACHINE=arm, to allow building eabi kernels with MACHINE=earmv4
2013-08-14 14:45:12 +00:00
martin
5828e4009d Allow building of COMPAT_NETBSD32. 2013-08-14 14:43:12 +00:00
macallan
e74252408e comments & whitespace police 2013-08-14 01:53:27 +00:00
rkujawa
02fe89c482 Add support for X-Surf 100 integrated MII PHY. MAC part seems to be compatible
with AX88190, while PHY itself can be handled by ukphy.
2013-08-13 15:43:25 +00:00
pgoyette
270ae7ee22 Bump SYMTAB_SPACE
> arm--netbsdelf-eabi-dbsym: symbol table (786048 bytes) too big for buffer (78603 2 bytes)
> Increase options SYMTAB_SPACE in your kernel config
2013-08-13 12:11:02 +00:00
rkujawa
a12d97aa7b Clean up a bit, add debug function to print the register mappings. 2013-08-13 10:43:28 +00:00