uebayasi
dff67e454b
Include dependencies directly.
2010-11-14 15:47:20 +00:00
uebayasi
01fb76730e
Include sys/ioccom.h directly because it's used.
2010-11-14 15:36:47 +00:00
christos
0c40d420be
recognize isysroot
2010-11-14 15:18:24 +00:00
uebayasi
2bc2c4def2
... and another.
2010-11-14 15:18:07 +00:00
uebayasi
12d4db54c0
Fix build caused by a last minute change.
2010-11-14 15:16:53 +00:00
uebayasi
26dd1e598f
Be a little more friendly to dynamic physical segment registration.
...
Maintain an array of pointer to struct vm_physseg, instead of struct
array. So that VM subsystem can take its pointer safely. Pointer
to this struct will replace raw paddr_t usage in the future.
Dynamic removal is not supported yet.
Only MD data structure changes, no kernel bump needed.
Tested on i386, amd64, powerpc/ibm40x, arm11.
2010-11-14 15:06:34 +00:00
bouyer
4621c0ed04
Boot vs AP processors don't make sense for physical CPUs, these are
...
handled by the hypervisor and all CPUs are running when the dom0 is started.
In addition, we don't have a reliable way to determine the boot CPU as
- we may not be running on the boot CPU
- we don't have access to the lapic id
So simplify by ignoring the information and assign phycpu_info_primary to the
first attached CPU.
2010-11-14 13:43:04 +00:00
mlelstv
f9c11ac3ae
rlphy fails to work without autonegotiation.
...
Reason is that ifm_data does not store BMCR data but a media index
that gets poked into the BMCR register.
Setting the BMCR and ANAR registers is correctly handled by the
generic function mii_phy_setmedia.
2010-11-14 13:40:36 +00:00
bouyer
fd46720a12
Explain why we hardwire lapic_cpu_number() to 0 on Xen.
2010-11-14 13:40:31 +00:00
uebayasi
5d7952a5d1
Move struct vm_page_md definition from vmparam.h to pmap.h, because
...
it's used only by pmap. vmparam.h has definitions for wider
audience.
All GENERIC kernels build tested, except ia64.
powerpc/include/booke/vmparam.h has one too, but it has no pmap.h,
so it's left as is.
2010-11-14 13:33:20 +00:00
kiyohara
de5ebce146
Add myself.
2010-11-14 11:19:49 +00:00
uebayasi
b76221069a
This actually uses only PAGE_SIZE, remove uvm/uvm_extern.h again.
2010-11-14 06:30:59 +00:00
uebayasi
7caa83525a
According to nxr.netbsd.org nothing uses CTL_NAMES now.
2010-11-14 05:34:56 +00:00
uebayasi
af8968bc24
Avoid pointless use of a sysctl definition, CTL_NAMES. Clean up whitespace.
2010-11-14 05:31:59 +00:00
uebayasi
1674b65491
Oops. Fix thinko.
2010-11-14 04:31:02 +00:00
uebayasi
c9ff0b160b
Platforms that dynamically set PAGE_{SIZE,MASK,SHIFT}, those values are
...
saved in struct uvmexp. Expose only the relevant part for symbol users,
so that they don't need to include the whole uvm(9) API.
2010-11-14 04:25:16 +00:00
uebayasi
4bbd14ce50
Yet another hidden uvmexp user.
2010-11-14 04:01:50 +00:00
uebayasi
d877842fbf
Direct/indirect uses of sys/device.h and prop/proplib.h.
2010-11-14 03:57:17 +00:00
uebayasi
19b39d64b4
Include uvm/uvm_extern.h to access uvmexp. gtmpsc.c doesn't need
...
uvm(9) API at all.
2010-11-14 03:49:52 +00:00
uebayasi
bf824a0e5c
This uses autoconf(9) API, include sys/device.h.
2010-11-14 03:36:52 +00:00
uebayasi
401165c038
prop/proplib.h is indirectly used here, include it.
...
XXX What is the conclusion about direct vs. indirect #include from headers?
2010-11-14 03:32:44 +00:00
uebayasi
b9437ce56d
Directly include sys/pmf.h because this uses it.
2010-11-14 03:22:01 +00:00
uebayasi
7aed473aa6
Include sys/pmf.h for pmf(9) API.
2010-11-14 03:17:50 +00:00
uebayasi
1be6f4ae31
Don't rely on global APIs from internal.
2010-11-14 03:16:03 +00:00
roy
e4ee997db8
Document RTM_CHGADDR and the newer RTM_IFINFO messages.
2010-11-14 00:38:56 +00:00
tron
603058a76c
Add a test for getenv(3) which fails at the moment because it doesn't
...
handle "=" in variable names properly.
I'll send out a diff for review soon which fixes this.
2010-11-13 21:08:36 +00:00
plunky
9dc6fb5c3d
quell some lint warnings
2010-11-13 19:43:56 +00:00
christos
f214ecbad3
forgot to commit this one for two months!
...
add vdprintf.
2010-11-13 19:41:32 +00:00
christos
e614555f42
add want_agent to the commented line of pam_ssh
2010-11-13 19:19:40 +00:00
tron
926ab269df
Improve testing of environment handling:
...
1.) Always check the return value of setenv(3) and unsetenv(3).
2.) Test that calling setenv(..., ..., 0) doesn't overwrite environment
variables.
3.) Add a new test which mixes putenv(3) and setenv(3).
2010-11-13 18:52:55 +00:00
uebayasi
9b35e244a4
Some missing sys/device.h dependencies.
2010-11-13 15:35:49 +00:00
pgoyette
1e2c5ac2c2
Add pseudo-device dmoverio(4) to ALL
2010-11-13 14:38:44 +00:00
uebayasi
bffc20a6b1
dmover(4) really uses uvm(9). (Wasn't revealed by i386/ALL...)
2010-11-13 14:08:20 +00:00
uebayasi
29de20e7d1
sys/device.h is not suitable for such low-level definitions.
2010-11-13 14:07:06 +00:00
uebayasi
8184d5dc03
Don't pull in the whole uvm(9) API to access only PAGE_SIZE and
...
some other constants. These are provided by sys/param.h now.
2010-11-13 13:51:57 +00:00
uebayasi
6ce2506403
Don't pull in huge sys/device.h definitions.
2010-11-13 13:34:00 +00:00
uebayasi
12ea663d98
Include sys/device_if.h instead of sys/device.h. machine/cpu.h is
...
one of the lower-most definitions. Relying on the huge sys/device.h
is not a good idea.
2010-11-13 13:13:33 +00:00
uebayasi
e048abfd86
UVM constants should not rely on sys/lock.h.
2010-11-13 12:50:09 +00:00
uebayasi
e22739ee8f
Include sys/evcnt.h for struct evcnt.
2010-11-13 12:44:28 +00:00
jnemeth
cbdbb82b0b
Note new et(4).
2010-11-13 10:11:43 +00:00
jnemeth
bf88591aa0
Add new et(4)/etphy(4) devices.
2010-11-13 09:48:54 +00:00
uebayasi
da9947601a
Don't redefine famous round_page() / trunc_page() locally.
2010-11-13 09:22:10 +00:00
uebayasi
cff6719043
Include sys/proc.h for tsleep, wakeup.
2010-11-13 08:55:13 +00:00
uebayasi
28bec5b317
Include sys/proc.h for curproc.
2010-11-13 08:54:23 +00:00
uebayasi
654ea80e2f
Include uvm/uvm_param.h from here to provide PAGE_SIZE and other
...
VM related constants. Many users of uvm/uvm_extern.h in subsystems
are interested in only PAGE_SIZE. The whole uvm/uvm_extern.h is
not necessary at all.
2010-11-13 08:41:40 +00:00
bsh
02857e7f6c
i.MX51 and NetWalker
2010-11-13 08:01:23 +00:00
skrll
b91dabd0fc
Add some verbose output.
...
From OpenBSD.
2010-11-13 07:58:55 +00:00
bsh
5e60bdb17c
Sharp NetWalker PC-Z1 support by SHIMIZU Ryo, Hashimoto Kenichi, and me.
...
http://www.sharp.co.jp/netwalker/
2010-11-13 07:31:32 +00:00
bsh
48914f072e
i.MX51 support by SHIMIZU Ryo, Hashimoto Kenichi, and me.
2010-11-13 07:11:02 +00:00
bsh
554cfb29f2
driver to use EPIT as system clock for i.MX31 and i.MX51,
...
by Hashimoto Kenichi.
2010-11-13 06:51:37 +00:00