joerg
70f0cfa164
NetBSD 6.99.26: Switch i386 and amd64 to the x87 default control word
...
as initial value for new processes. This means that long double
computations get the expected 63bit mantissa. Binaries tagged as
compiled for 6.99.25 and older get the old value.
Add a simple test case to ensure that double and long double computation
are working correctly.
2013-11-11 11:10:45 +00:00
mrg
f6ff08e141
- move variables inside their #ifdef use
...
- remove unused and set-but-unused variables
- use __USE() in a particularly ugly case
with these, and a couple of other changes, amd64 gcc 4.8.1 world
is able to complete build.sh release.
2013-11-06 06:23:15 +00:00
christos
1074f48bc6
sprinkle __diagused
2013-11-02 00:41:58 +00:00
rmind
1831eeb4c7
- fpu_state_save() on amd64: ci->ci_fpsaving is no longer used, simplify.
...
- Remove some unnecessary header inclusions. Misc clean up while here.
2013-10-27 16:25:01 +00:00
nonaka
87abaea977
Add driver for ASIX AX88178a and AX88179 Ethernet interface.
...
Ported from OpenBSD.
2013-10-26 09:16:19 +00:00
drochner
23780ff8df
Use the MI "pcu" framework for bookkeeping of npx/fpu states on x86.
...
This reduces the amount of MD code enormously, and makes it easier
to implement support for newer CPU features which require more fpu
state, or for fpu usage by the kernel.
For access to FPU state across CPUs, an xcall kthread is used now
rather than a dedicated IPI.
No user visible changes intended.
2013-10-23 20:18:50 +00:00
matt
ab590461f8
Add xhci device
2013-10-23 17:22:49 +00:00
christos
8855c55412
add missing _
2013-10-17 23:05:08 +00:00
christos
f0676b1145
we need to return something here.
2013-10-17 23:04:20 +00:00
christos
89198fe5bf
use the parameter for instruction macros
2013-10-17 21:11:15 +00:00
christos
5ca5370483
remove unused variable, and move variable used only by XEN in the XEN ifdef.
2013-10-17 20:57:58 +00:00
christos
054991dfea
remove unused
2013-10-16 18:07:56 +00:00
joerg
4d12bfcd15
Pass PICFLAGS down to cc-as-as and use __PIC__ to decide if it is small
...
vs big PIC mode. Retire -DPIC and -DBIGPIC.
2013-09-12 15:36:14 +00:00
soren
7f65496e43
Blocking memory space accesses on the SIS 85C496 chipset turned out to be
...
a bit too heavy-handed and similar cases are unlikely to crop up again,
so simplify by eliminating pci_bus_flags().
Closes PR port-i386/20410.
2013-07-31 14:05:33 +00:00
soren
e943400c80
A few "isa" files are so tightly integrated into the x86 platform code
...
as to not really be part of the optional isa bus autoconf machinery.
Allows configuring a kernel like so:
include "arch/amd64/conf/GENERIC"
no isa
2013-07-17 21:26:28 +00:00
rmind
666e919182
G/C PFIL_HOOKS from the kernel configs.
2013-06-30 21:38:55 +00:00
dsl
7b9edbe958
Improve the dodgy code that writes the FP regs into core dumps of 32bit apps.
...
(I'm not pretending it is correct yet!)
The 'struct fpreg32' (written to coredumps) is shorter than 'struct save87'
so netbsd32_process_read_fpregs() hadn't better write to the extra items.
Doing so overwrites stack in coredump_note() in core_elf32.c - I'm amazed
it doesn't cause a panic!
Also correct (I think) the code and data addresses associated with the FP
unit.
This probably wants pulling up.
2013-06-25 21:08:07 +00:00
joerg
9547cd8b38
Fix header guards.
2013-06-25 15:08:43 +00:00
uebayasi
1d446b7ac1
Split these to improve diffability.
2013-06-25 00:27:22 +00:00
uebayasi
e2ff7476af
Whitespace, comment, NBPG -> PAGE_SIZE.
2013-06-23 09:00:36 +00:00
uebayasi
6b5b6a9b05
Whitespace.
2013-06-23 03:16:46 +00:00
uebayasi
a5c3b84db4
Use END() markers, etc. Pure ELF .symtab (size) changes.
2013-06-22 15:13:55 +00:00
uebayasi
f5da20f152
A few END() markers.
2013-06-22 13:09:07 +00:00
uebayasi
cd0ee31666
Use END()/IDTVEC_END() to set ELF symbol size. Set some type info too.
2013-06-22 08:48:48 +00:00
uebayasi
7e04682e69
Define IDTVEC_END(), from i386/asm.h.
2013-06-22 07:31:36 +00:00
uebayasi
ded13333fe
Use END() to set ELF symbol size. Set some type info too.
2013-06-22 06:57:30 +00:00
uebayasi
5cbca21c58
Use END() to set ELF symbol size. Set local data type/size too.
2013-06-22 06:23:28 +00:00
uebayasi
368c73c552
Use END() to set ELF symbol size. Set local string type/size too.
2013-06-22 05:56:32 +00:00
uebayasi
93d35b4dc9
Use END() to set ELF symbol size.
2013-06-22 05:20:57 +00:00
uebayasi
ffd5ab7c8e
Use END() to set ELF symbol size.
2013-06-22 02:33:44 +00:00
uebayasi
f1913dfefe
Add END(y) as i386/asm.h does.
2013-06-21 02:47:06 +00:00
kardel
d1abea10e2
adjust soekrisgpio driver to NetBSD
2013-06-10 07:14:01 +00:00
msaitoh
6f7d4f1823
Fix compile error. PR#38480 was correctly fixed in 2009, it's ok to remove
...
"no options MTRR"
2013-06-06 07:11:18 +00:00
christos
e46f5f0078
remove obsolete networking options
2013-06-05 23:07:59 +00:00
christos
286adf2825
declaring mtrr_funcs once should be enough.
2013-06-05 14:37:04 +00:00
christos
87abbfb647
sync drm with i386
2013-06-04 14:39:31 +00:00
kiyohara
557ed22b4e
Add udsir.
2013-05-28 12:13:55 +00:00
jakllsch
8cf4682dc7
Enable sdhc* at cardbus? in amd64 GENERIC. As it is already in i386
...
GENERIC. sdhc(4) has had working detach support for a while now too.
2013-05-03 15:45:24 +00:00
christos
9434c99ee1
more bogus number removal
2013-04-27 22:21:12 +00:00
christos
1cc8b68d4b
the bogus number police
2013-04-27 21:43:10 +00:00
christos
dc14ae835f
remove confusing numeric locators where they are unused.
2013-04-27 18:19:19 +00:00
riz
fdd7809702
Sync DKWEDGE options with XEN3_DOM0.
2013-04-17 00:09:04 +00:00
christos
37ddcb991e
de-duplication police arrests sysctl.
2013-04-12 16:59:38 +00:00
christos
caafbf4e1b
add missing SSIZE_MIN
2013-04-11 00:57:34 +00:00
martin
210e95ef60
athn at pci has been successfully tested
2013-04-06 16:56:18 +00:00
taca
9b81039fcf
Use printf_nolog() as i386 when print remaing bytes at crash dump to
...
prevent message buffer with cound down.
2013-04-02 13:28:41 +00:00
christos
8b57040752
patches for new wifi devices.
2013-03-30 02:38:58 +00:00
christos
2c1aa36c3d
Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.
2013-03-02 02:42:07 +00:00
joerg
e240adbd0b
Retire OSI network stack. OK core@
2013-03-01 18:25:13 +00:00
khorben
75c88a7f14
Added wpi(4) to the XEN3_DOM0 kernel for both amd64 and i386
...
Tested on a Lenovo ThinkPad T60 2007 (amd64)
2013-02-09 17:42:34 +00:00