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
christos
1525b564a7
expose do_open
2014-01-25 02:28:31 +00:00
christos
32ac70a7c0
compat_10 fix: open(NULL) == open(".");
2014-01-25 02:27:41 +00:00
christos
db0adb91e5
fix monitor mode channel.
2014-01-25 00:59:44 +00:00
tsutsui
b80737e133
Increase VM_KERNEL_PT_PAGES from 2 to 4 for x68k.
...
X68030 with 8MB or 12MB RAM (which is default for most X68030s)
now gets "pmap_enter_ptpage: can't get KPT page" panic again
with VM_KERNEL_PT_PAGES=2 while it works with >=14MB.
3 is enough to boot for now, but I also add a spare.
I guess this is because the post netbsd-6 vmem(9) bootstrap
changes require more kernel memory before MD pmap_init().
Note1: netbsd-6 (which also pulls physmem detection changes
that affect nptpages) doesn't have this problem.
Note2: other hp300 pmap based m68k ports might have the same issue,
but at least 12MB luna68k works with VM_KERNEL_PT_PAGES=2
so I think it depends on kernel size and/or iomapsize.
2014-01-25 00:07:48 +00:00
mlelstv
80628d62e4
close uhidev only when it was successfully opened.
2014-01-25 00:03:14 +00:00
martin
21f00ef559
Add raid to the install kernel
2014-01-24 23:59:53 +00:00
martin
69dbea1fd5
Add raid disk nodes for the install images
2014-01-24 23:59:12 +00:00
matt
bf70954af3
Fix awk programs to use $$ so make doesn't eat each $
2014-01-24 23:42:31 +00:00
christos
7c188f0050
remove useless flag mangling. It is done already.
2014-01-24 23:20:33 +00:00