Commit Graph

224198 Commits

Author SHA1 Message Date
christos
1468e9a310 explain why forks fail 2014-01-26 22:38:20 +00:00
christos
638199ebfd little manual fixing 2014-01-26 21:47:00 +00:00
christos
2689d3025f add netbsd rcsids (does not handle the regex files well) 2014-01-26 21:46:49 +00:00
christos
2f698edb5c Fix RCSID's 2014-01-26 21:43:44 +00:00
joerg
e20abf3ab1 Adjust trigger variable for unwind.h to follow changes in libc. 2014-01-26 21:33:53 +00:00
bouyer
bf5517d87e Fix http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57260 (patch from
gcc's repository). This bugs show up with Xorg, preventing  xf86-video-sis and
xf86-video-silicon modules from being loaded.
2014-01-26 21:26:02 +00:00
bouyer
8dfb7255af Complete WSDISPLAYIO_SMODE/WSDISPLAYIO_GMODE support.
In sisfb_mmap(), allow mapping the framebuffer and mmio and io registers
when in WSDISPLAYIO_MODE_MAPPED mode. This can be used by X11.
2014-01-26 21:22:49 +00:00
matt
2aecc71d04 Support using fenv instead of fpsetmask if HAVE_FENV is defined. 2014-01-26 21:04:46 +00:00
matt
0d162304ca Make this real even though it isn't yet used. 2014-01-26 20:42:06 +00:00
palle
3abd4a7796 sun4v: Add handling of spill/fill and dtsb miss traps (with a XXX to be handled later) 2014-01-26 20:12:32 +00:00
dsl
51a0d6b173 Remove support for 'external' floating point units and the MS-DOS
compatible method of handling floating point exceptions.
Make kernel support for teh fpu non-optional (486SX should still work).
Only 386 cpus support external fpu, and i386 support was removed years ago.
This means that the npx code no longer uses port 0xf0 or interupt 13.
All the "npx at isa" lines go from the configs, arch/i386/isa/npx.c
  is now mandatory for all i386 kernels.
I've renamed npxinit() to fpuinit() and npxinit_cpu() to fpuinit_cpu()
  to match the very similar amd64 functions.
The fpu of the boot cpu is now initialised by a direct call from
  cpu_configure(), this enables FP emulation for a 486SX.
  (for amd64 the cr0 values are set in locore.S and similar).
This fixes a long-standing bug in linux_setregs() - which did not
  save the fpu regsiters if they were active.
I've test booted a single cpu i386 kernel (using anita).
amd64 builds - none of teh changes should affect it.
The i386 XEN kernels build, but I'm not sure where they set cr0, and
  it might have got lost!
2014-01-26 19:16:16 +00:00
matt
01097770dd Recognize coldfire 2014-01-26 18:24:29 +00:00
apb
66d774c5de Add BUILDSEED to RELEASEVARS. 2014-01-26 17:33:53 +00:00
apb
b2a05dedfc For MKREPRO, remove the "%%CreationDate:" comment line from
PostScript output files.
2014-01-26 17:00:03 +00:00
apb
0c9e596c4b Add MKREPRO and MKARZERO to the list of variables in RELEASEVARS. 2014-01-26 16:53:00 +00:00
taca
b9e8d8ee67 Fix build problem when there is no com(4) but ucom(4). 2014-01-26 15:49:25 +00:00
msaitoh
e4bf50ce42 PUCCN improvements:
- Fix a bug that the puc cn mechanism doesn't use the UART's frequency
   in pucdata.c's table.

 - Add a new option PUC_CNAUTO. If this option is set, consinit() in
   x86/x86/consinit.c checks puc com device to use it as console.
   Without this option, the behavior is the same as before.

 - Add a new config parameter PUC_CNBUS. The old code scans bus #0 only.
   If PUC_CNBUS is set, the specified number's bus will be scanned.

 - Rename comcnprobe() to puc_cnprobe() to make it clear.

 - Rename comcninit() to puc_cninit() to make it clear.

 - Add code for a device that a device's com register is MMIO (#if0 ed).
2014-01-26 10:54:24 +00:00
msaitoh
5c387a0674 Add some OXPCIe952 devices. 2014-01-26 10:20:20 +00:00
msaitoh
0c05a8b018 Regen. 2014-01-26 10:19:37 +00:00
msaitoh
94c3cf1ae4 Add some OXPCIe952 devices. 2014-01-26 10:19:07 +00:00
plunky
bb39753de6 spelling correction - recieved -> received 2014-01-26 08:31:17 +00:00
christos
bef5516826 don't re-specify the defaults 2014-01-26 03:18:39 +00:00
mlelstv
ba1d7138dc stoa() already includes the scope, no need to print it twice. 2014-01-26 02:21:08 +00:00
christos
9cfdbcfd93 Fix the "separate root" test. If we get a permission error check for separate
root. But if we get ENOENT, always succeed. Otherwise if someone removes
the db files or they get corrupted, you can never recreate them.
2014-01-26 01:57:04 +00:00
christos
0b4faf3fc3 whitespace 2014-01-26 00:21:18 +00:00
christos
ebeed790b8 kill VM_DEFAULT_ADDRESS use. 2014-01-26 00:09:46 +00:00
christos
2cfa1ce520 kill VM_DEFAULT_ADDRESS use 2014-01-26 00:08:48 +00:00
christos
9477bafa18 kill the topdown flag only if we succeed. 2014-01-25 23:58:41 +00:00
christos
be0eaa5707 Clear the VM_TOPDOWN flag only when we succeed. 2014-01-25 23:58:10 +00:00
christos
da0612c022 use the topdown hint. 2014-01-25 23:11:08 +00:00
christos
f5fe8e85e2 fix unused 2014-01-25 21:11:20 +00:00
christos
1a2fe9d973 remove unused 2014-01-25 21:11:03 +00:00
christos
89c35f61ad add __USE 2014-01-25 21:10:41 +00:00
christos
68cffabfc3 add a lint comment 2014-01-25 21:10:29 +00:00
dsl
2ba54569ec Change the way the x87 fp register is defined so that the copies between
fsave and fxsave layouts can be done by structure assignments.
2014-01-25 20:12:53 +00:00
dsl
3d4a61d56a Rewrite the code that converts the x87 tag word between its full and
abridged versions.
The code in xmm_to_s87_tag() looked at the wrong register when trying
  to generate 0b01 (zero) and 0b10 (NaN etc) because the registers are
  relative to the stack top, but the tag words are absolute.
Since even a real 387 generates the correct tag values when the tag word
  (or register value) is loaded there is no point generating other than
  0b00 (used) and 0b11 (unused).
The compiler also made a pig's breakfast of the register copy loop.
When convering from fsave to (the larger) fxsave format don't bother
  copying the fp register values if none are in use.
Converting the other way we do copy them all because the target buffer
  is often written to userspace (and has no padding).
i386 core dumps still seem ok - and do use this code.
2014-01-25 19:51:31 +00:00
christos
840bc63029 __USING_TOPDOWN_VM is no more, __USE_TOPDOWN_VM... 2014-01-25 19:44:11 +00:00
christos
f4aa639d96 __USING_TOPDOWN_VM is gone. 2014-01-25 19:42:25 +00:00
christos
0eee53a895 help lint. 2014-01-25 19:10:56 +00:00
palle
4c86caf41f Add a TODO file to document things to be done for the sparc64 port 2014-01-25 19:07:25 +00:00
wiedi
2af5363596 add myself 2014-01-25 18:03:10 +00:00
skrll
9bcaadefdb Improve PCU/VFP handling to the point that the atf tests don't trigger
KASSERTs on the Raspberry PI and its arm1176jzf-s.

XXX Need to emulate bounce instructions to get correct exception codes,
XXX etc.
2014-01-25 17:30:56 +00:00
christos
d0d265890a make this compile. 2014-01-25 17:30:45 +00:00
christos
cee146c035 Add compat_10, open NULL == open "." 2014-01-25 17:24:45 +00:00
christos
2dffd96cd7 deal with COMPAT_10 issue. 2014-01-25 17:21:49 +00:00
christos
104023f58d regen 2014-01-25 16:43:03 +00:00
riastradh
3a07c2a841 Get SIZE_MAX and OFF_MAX straight... 2014-01-25 16:38:15 +00:00
riastradh
482c113d44 Factor out an offtab_compute_window_position routine. 2014-01-25 16:26:17 +00:00
riastradh
0853010545 Fix some more integer overflow/truncation issues.
Arithmetic in C is hard.  Let's go shopping!
2014-01-25 15:31:06 +00:00
christos
eacc94b9a6 handle non-topdown binaries 2014-01-25 15:20:55 +00:00