Commit Graph

224185 Commits

Author SHA1 Message Date
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
christos
37493adfb4 delete VM_DEFAULT_ADDRESS and commentary which is no longer used/true. 2014-01-25 15:17:17 +00:00
christos
b07f3fe235 delete VM_DEFAULT_ADDRESS; some of those should be GC'ed because they match
the default definition.
2014-01-25 15:16:49 +00:00
njoly
d71dfbd73b Update linux socket socket options (SO_*). Add common version to its
own file (linux_socket_generic.h); use it for all but alpha and mips.
2014-01-25 13:49:27 +00:00
njoly
5df178fa15 Add now needed linux_pipe.c sources. 2014-01-25 10:40:40 +00:00
njoly
3e71eccadc Regen for pipe2 and lchown. 2014-01-25 10:31:01 +00:00
njoly
485190e7b7 Add pipe2 and lchown syscalls. 2014-01-25 10:30:22 +00:00
skrll
2d1abfdfec More alignment spellos 2014-01-25 10:14:29 +00:00
skrll
ec88ed8b1f Use English spelling of alignment. 2014-01-25 10:09:47 +00:00
christos
c6c122e4e1 a.out binaries can't handle topdown.
Now 1.0 binaries work correctly on NetBSD-current.
2014-01-25 05:15:43 +00:00
christos
f4956d9c6a a.out binaries can't handle topdown. 2014-01-25 05:15:05 +00:00
christos
21c591da6e provide proper defaults for topdown and bottomup allocation.
XXX: Ports that provide their own VM_DEFAULT_ADDRESS() need to provide the
two new flavors, otherwise they get the default ones now.
2014-01-25 05:14:03 +00:00
christos
4e88c91014 provide propert address defaults for topdown and bottomup allocation 2014-01-25 05:09:59 +00:00
christos
48b47bd889 ifdef debug printf 2014-01-25 03:31:12 +00:00