uebayasi
33dfd38556
Echo exact objects (swap*.o etc.) when linking kernel.
2015-08-27 03:17:46 +00:00
uebayasi
144fbf59d9
Constify a little.
2015-08-27 02:43:20 +00:00
msaitoh
a66522c8d5
regen.
2015-08-26 09:24:01 +00:00
msaitoh
de016d89bb
Add Intel PCIe NVMe SSD.
2015-08-26 09:23:39 +00:00
martin
c36c18165c
Mark the ssh test as expected failure pointing to PR lib/50174
2015-08-26 09:19:20 +00:00
uebayasi
1e1f20e153
One more about linker script, another about genassym.
2015-08-26 06:38:57 +00:00
mlelstv
6e7966e6f5
Use getfsspecname also when not found in /etc/fstab.
2015-08-26 05:41:20 +00:00
uebayasi
54882650b0
Have MI genassym.cf.
2015-08-26 03:00:52 +00:00
uebayasi
282cd20ff5
Don't allow MD to override the assym.h generation rule.
...
(Nothing defines it except i386/bioscall/Makefile, but it is not part of
kernel build.)
2015-08-26 02:54:09 +00:00
christos
897e65dc18
CID 1320410: Don't call free on uninitalized pointer.
2015-08-26 02:01:55 +00:00
christos
e79de7d907
CID 1298707: Change confusing code that makes coverity think that Length
...
is uninitalized (we want length to be zero so instead of setting it to 0,
we check if it not zero and then we set it if it is not?!?!)
2015-08-26 01:58:55 +00:00
christos
dd6caf1efe
CID 1292510: Handle allocation failure.
2015-08-26 01:54:57 +00:00
pooka
f922511816
initialize ncpuonline
2015-08-25 14:53:25 +00:00
pooka
ff90585e5f
remove mksysctls(), now provided by init_sysctl_base
2015-08-25 14:52:59 +00:00
pooka
7cc60ed4d8
Move a bunch of sysctl nodes from init_sysctl (kitchen sink sysctl file)
...
to init_sysctl_base (only base kernel defs). Main motivation was to
fix sysconf(_SC_NPROCESSORS) for Rumprun. As reported by neeraj on irc,
it returned -1 before this fix, so we were doing imaginary computing.
2015-08-25 14:52:31 +00:00
pooka
f6f0cd6151
add ncpuonline
2015-08-25 14:47:39 +00:00
pooka
8bb469d326
add cpu_getmodel()
2015-08-25 14:47:26 +00:00
pooka
21ff215384
hw nodes do not go under the kern tree, so add new init routine for them
2015-08-25 14:32:34 +00:00
pooka
1dfc153377
Remember that dlsym() tends to fail on PowerPC during init (or at least
...
tended), so call rumphijack_dlsym() instead to be safe.
2015-08-25 13:50:19 +00:00
pooka
2d85d43b0f
Revert 1.14 now that the arduous task of fixing rumphijack to allow
...
mmap() in early init has been completed.
2015-08-25 13:46:23 +00:00
pooka
4e9c298177
allow mmap() to be called before init runs
2015-08-25 13:45:00 +00:00
uebayasi
14880f9a49
I don't like -Ttext .
2015-08-25 13:13:54 +00:00
uebayasi
1bd1d5c3d1
Replace a constant in ldscript.
2015-08-25 12:56:58 +00:00
gson
42b8d69040
In ttywait_timo(), break out of loop on all errors, not just
...
EWOULDBLOCK, as ttywait() did prior to 1.265.
2015-08-25 12:55:30 +00:00
pooka
89cb80befc
Rename variable to avoid -Wshadow warnings with some compilers.
2015-08-25 11:08:59 +00:00
uebayasi
39d2263741
+ kill makeoptions
2015-08-25 09:01:28 +00:00
uebayasi
d677c061b4
Replace a constant in ldscript.
2015-08-25 08:08:12 +00:00
uebayasi
8742062199
Fix previous; do include assym.h.
2015-08-25 08:07:24 +00:00
uebayasi
4d97440fb3
Replace COHERENCY_UNIT in ldscript.
2015-08-25 08:04:31 +00:00
uebayasi
13f4d6e07e
Make <kernel>.ldscript ready to include assym.h.
2015-08-25 08:01:18 +00:00
uebayasi
5a533f959b
Don't expand unwanted symbols by cpp(1).
2015-08-25 02:58:59 +00:00
uebayasi
ffe64fad53
Redo Rev. 1.188:
...
o Explicitly add dependency of `<kernel>' on `<kernel>.ldscript', instead of
relying on ${SYSTEM_DEP}, which is evaluated much earlier than
`sys/conf/Makefile.kern.inc' is included, to avoid evaluation ordering
problems.
o Print a message when creating a `<kernel>.ldscript'.
o Trim empty lines in `<kernel>.ldscript'.
2015-08-25 02:57:32 +00:00
uebayasi
ab48703252
Print a message when creating a temporary ldscript.
2015-08-25 02:38:15 +00:00
ozaki-r
67b961d3c9
Give a chance to send a DAD announce packet
...
ifconfig -w ensures IP addresses have left tentative state, however,
it doesn't guarantee that a DAD announce packet is sent. The kernel
clears tentative flag and then sends the packet so that ifconfig -w
can return before the kernel sends the packet.
2015-08-25 02:24:34 +00:00
macallan
965423adf6
- pass the right address to bus_space_mmap() so this works on N32 kernels
...
- don't mess with XMAP9 when switching to graphics mode
2015-08-25 02:09:18 +00:00
pooka
b368b72cdf
some final -Ifoo/opt removal
2015-08-25 00:08:56 +00:00
pooka
4a6dab945c
add some _KERNEL_OPT as the finishing touch
2015-08-24 23:55:04 +00:00
pooka
34edd5d090
Remove "#ifdef INET" code. Por que? Because opt_inet.h was not included
...
and "#ifdef INET" was just a fancy way of saying "#ifndef NetBSD".
2015-08-24 23:52:18 +00:00
mrg
065f445d42
convert auxio(4) to use a mutex for exclusion (this existing code didn't
...
really work for MP systems, anyway -- it only went to splhigh.)
various cleanups:
- remove unused AUXIO_SBUS
- make most functions static
- introduce auxio_{read,write}_led() frontends
- avoid a potential NULL deref in auxio_fd_control()
the text is 32 bytes smaller.
2015-08-24 23:32:07 +00:00
pooka
e65b78bf49
opt files were nop't
2015-08-24 23:21:50 +00:00
pooka
022c2de05c
These "wip" components have been in progress for >5 years. There hasn't
...
been much progress. Let's just kill them, they're not even build-tested.
2015-08-24 23:21:16 +00:00
pooka
30abe7e479
don't -I imaginary opt directories
2015-08-24 23:19:33 +00:00
pooka
95d0d1d66e
would you like some freshly ground _KERNEL_OPT with that?
...
yes? excellent choice, sir/madam.
2015-08-24 23:13:15 +00:00
pooka
ef50701008
purge rump/net of component-specific opt directories
2015-08-24 23:04:42 +00:00
pooka
db2a65b8d4
continue consolidating non-modular option files
2015-08-24 23:01:58 +00:00
pooka
6eb3ae7daa
Remove individual opt_foo.h files, continue consolidating to opt_rumpkernel.h
2015-08-24 22:52:15 +00:00
pooka
d8e04c9094
to garnish, dust with _KERNEL_OPT
2015-08-24 22:50:32 +00:00
pooka
143bba9536
remove librump/rumpnet/opt, consolidate in rump/include/opt
2015-08-24 22:31:33 +00:00
pooka
d0b433d7a7
Remove a bunch of opt files.
...
It's a cute idea to have component-specific opt files, but also a
completely stupid one since there's no way of knowing how options
transcend component boundaries, and therefore if a set of options is
conflicting or not. So, just continue concentrating all of opt_foo.h in
opt_rumpkernel.h in accordance with the monolithic opt model.
2015-08-24 22:25:50 +00:00
pooka
1c4a50f192
sprinkle _KERNEL_OPT
2015-08-24 22:21:26 +00:00