matt
267745d7dd
More regened configury (mostly exception related).
2012-08-06 00:49:52 +00:00
matt
c73e5095cc
a few more fixes (make unwinding correct for EABI)
...
improve link spec to with fix-v4bx and emulations
Add bpabi-netbsd.c to resolve problem with bpabi.c conflicting with bpabi.S
2012-08-06 00:24:13 +00:00
matt
5598cdb53e
Regen again.
2012-08-06 00:21:37 +00:00
matt
93f7a012df
Deal with LIB2_EHASM
2012-08-06 00:21:09 +00:00
matt
638a65b2c0
deal with LIB2_EH has ASM (.S) files.
2012-08-06 00:19:03 +00:00
bouyer
5a6e0a7e6f
Really init sc_ioptype in mfi_attach()
2012-08-05 22:47:36 +00:00
wiz
9d59cb3dc9
Avoid ambiguity by having only one comment close mark.
...
PR 46771 by bsiegert.
2012-08-05 21:21:41 +00:00
matt
8f9b9d1333
Add gmp configury from earm (copied from arm)
2012-08-05 18:27:13 +00:00
msaitoh
267b65f7eb
regen.
2012-08-05 17:55:20 +00:00
msaitoh
50434dfb2c
Use PCI_VENDOR_* and PCI_PRODUCT_*. Fixes PR#46303.
2012-08-05 17:42:01 +00:00
msaitoh
05501f0e72
Add entries for puc(4) devices.
2012-08-05 17:40:00 +00:00
bouyer
927cb9aa03
sg64.len is 32bits, so use htole32()
2012-08-05 17:23:25 +00:00
matt
b626930d34
Add a few missing for earm's gcc configury
2012-08-05 17:21:47 +00:00
matt
015ce606f7
Add gdb configury for earm
2012-08-05 17:09:16 +00:00
matt
714ce8eeef
gcc4.5.3 configury for earm
2012-08-05 17:03:31 +00:00
matt
cd8b5f8c57
Allow arm*-netbsd*-eabi* to be recognized.
2012-08-05 16:51:46 +00:00
matt
88a901ba99
binutils mknative run for earm
2012-08-05 16:34:05 +00:00
bouyer
b669f4cc30
MFI_IOP_SKINNY is an enum not a single bit value, so it can't be used as
...
a bit flag. As sc_flags is really used to hold an enum mfi_iop value,
change it to enum mfi_iop and rename to sc_ioptype. While there init it
in mfi_attach() instead of mfi_pci_attach().
2012-08-05 15:50:49 +00:00
pooka
232fe594f2
Make it easy to turn -DDIAGNOSTIC off (RUMP_DIAGNOSTIC=no) and -DDEBUG
...
on (RUMP_DEBUG=yes).
2012-08-05 15:37:39 +00:00
pooka
a43f04d34d
Remove stubs which have been provided elsewhere for almost 2 years now.
2012-08-05 15:36:19 +00:00
bouyer
423da2b660
Regen: add MegaRAID SAS2208
2012-08-05 15:35:32 +00:00
bouyer
5cbb7afc42
Add LSI MegaRAID SAS2208
2012-08-05 15:34:50 +00:00
bouyer
e981d39ae5
Add some support for 64bit DMA but stick to 32bit DMA for now.
...
From OpenBSD mfi.c rev 1.119.
2012-08-05 14:54:01 +00:00
riastradh
bb195042a2
Use separate names for the multitudinous uses of `q' in exit1.
...
Now I can follow which process is which in this routine.
If I jiggle the whitespace so line numbers don't change, there is no
change in the output of `objdump -d kern_exit.o' for amd64.
ok abp
2012-08-05 14:53:25 +00:00
riastradh
ee753cc53a
Quote arguments to .Cd in uatp(4) man page.
2012-08-05 14:35:45 +00:00
riastradh
e54480a5e8
Add man page for uatp(4).
2012-08-05 14:28:50 +00:00
degroote
eed1f7342b
Add pmf(9) handler to malo(4) wireless driver
2012-08-05 09:16:54 +00:00
matt
97e52b17df
Only compile __aeabi_*ldivmod for earm/earmeb.
2012-08-05 06:34:44 +00:00
matt
222a0a07b3
Add RCSID.
...
Simplify.
2012-08-05 06:34:09 +00:00
matt
c5be335689
Add another ARM EABI runtime routine for
...
combined quotient / remainder for signed long long.
2012-08-05 06:33:51 +00:00
christos
53b6bc587f
add -I${TOOLDIR}/include/nbinclude to fix the build (find arm/elf_machdep.h).
...
Is nbinclude intended here? Why not put the machine files in ${TOOLDIR}/include?
2012-08-05 06:20:14 +00:00
skrll
b061958676
Ensure stack alignment. "looks fine" matt@
2012-08-05 05:10:38 +00:00
matt
20eab5e912
For ARM EABI, we need -DDSOFTFLOAT_NEED_FIXUNS too.
2012-08-05 04:54:38 +00:00
matt
7d3aca317e
Add support for MACHINE_ARCH matching earm or earmeb
...
Make evbearm-e[bl] a shortcut for evbarm and earmeb or earm.
Allow cats, iyonic, netwiner, shark, zaurus to specify earm though they
still default to arm.
2012-08-05 04:39:09 +00:00
matt
e9b001e787
Add __aeabi_uldivmod (unsigned long long div/mod).
...
Only use 32-bit softfloat if arm/armeb.
earm/earmeb will use the 64-bit softfloat.
2012-08-05 04:30:46 +00:00
matt
ca51ed1c42
If compiling for SOFTFLOAT, include "softfloat/softfloat-for-gcc.h" so we
...
can pick any redefinitions of the function (for ARM EABI).
2012-08-05 04:28:58 +00:00
matt
fba9f55f04
ARM EABI (AAPCS) uses different names for the softfloat routines that
...
the normal GCC ones. So after we redefine softfloat's to be what (old) GCC
wants, we redefined the old GCC names to what ARM EABI want (but only if we
are using ARM EABI). We do this for routines not compiled by softfloat so
can just have these redefinitions in one place.
2012-08-05 04:27:42 +00:00
riastradh
0b891b69f1
Force sys_close not to restart by returning ERESTART.
...
Print a diagnostic message if we ever get ERESTART out of fd_close
and convert it to EINTR instead.
Even if fd_close fails, it has already closed the file descriptor, so
restarting the system call is a mistake, with dangerous consequences
for multithreaded programs.
Should probably turn the message into a kassert eventually, and maybe
add one deeper in fd_close in order to more easily debug it before
all the data structures are destroyed.
2012-08-05 04:26:10 +00:00
matt
fd8b39a588
Add a routine for __aeabi_uldivmod which is just a wrapper around __qdivrem
...
but returns the 64-bit dividend and remainder in r0-r3.
2012-08-05 04:24:13 +00:00
matt
59f5e05f96
For __udivsi3 and __divsi3, add their EABI aliases as alternate entry
...
points.
2012-08-05 04:22:01 +00:00
riastradh
6377442f2e
Add hdaudio modules to the md.evbppc set list too.
2012-08-05 04:17:41 +00:00
riastradh
aa1b6ae825
Add uatp to the md.evbppc modules set list too.
2012-08-05 04:14:40 +00:00
matt
72be8acdc7
Add a macro for determining whether we can use LDRD/STRD instructions
2012-08-05 04:13:19 +00:00
matt
ce51494ef9
Add ABI version stuff.
2012-08-05 04:12:46 +00:00
matt
641919f3e4
Add the new MACHINE_ARCH of earm and earmeb (arm EABI(AAPCS-LINUX)).
2012-08-05 04:11:35 +00:00
matt
602e0146d8
Add arm{,eb}--netbsdelf-eabi support. (still evolving)
2012-08-05 04:10:18 +00:00
riastradh
27d763f8ca
Build hdaudio and hdafg modules.
2012-08-05 04:03:39 +00:00
matt
ad73c53594
Add arm{,eb}--netbsdelf-eabi support.
2012-08-05 04:03:03 +00:00
riastradh
d237c30a6a
...and be sure to config_pending_decr if kthread_create fails.
...
This error branch looks suspect, though. Shouldn't we bail at this
point rather than blithely try to proceed?
2012-08-05 02:47:52 +00:00
riastradh
17be18e233
Restore config pending stuff, adjusted to avoid the race.
...
Leave a note about what this code probably should look like for
anyone who comes rummaging around with the intent to really fix it.
I would do that myself if I had time and resources to test this at
the moment, and more comfort with our firewire stack, but I don't.
2012-08-05 02:36:16 +00:00